Open topic with navigation

# Example Grammar File to Match Months

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE grammars SYSTEM "../published/edk.dtd">

    <grammars version="4.0">
       <include path="winter_names.ecr" type="private"/>
       <grammar name="example">

          <entity name="spring_month" type="private">
             <pattern>[Mm]ar(ch|\.)</pattern>
             <entry headword="April"/>
             <entry headword="april"/>
             <entry headword="Apr"/>
             <entry headword="apr"/>
             <entry headword="Apr."/>
             <entry headword="apr."/>
             <pattern replace="May">[Mm]ay\.?</pattern>
             <entry headword="June">
                <synonym>Jun</synonym>
                <synonym>Jun.</synonym>
                <synonym>june</synonym>
                <synonym>jun</synonym>
                <synonym>jun.</synonym>
             </entry>
          </entity>

          <entity name="summer_month" type="private" case="insensitive">
             <entry headword="June"/>
             <entry headword="July"/>
             <entry headword="August"/>
             <entry headword="September"/>
          </entity>

          <entity name="month" type="public">
             <pattern>(?A^spring_month)</pattern>
             <pattern>(?A:summer_month)</pattern>
             <entry headword="September"/>
             <entry headword="October"/>
             <entry headword="November"/>
             <entry headword="December"/>
             <pattern>(?A^winter_month)</pattern>
             <!-- spelling mistakes -->
             <entry score="0.5" headword="Febuary"/>
          </entity>

       </grammar>
    </grammars>

© Copyright 2013-2018 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm