Tag: Building a Two-Level Grammar
Building a Two-Level Grammar
Cascade for Recognizing Bulgarian Verb Forms
In the MV rule explained below, the element is the context node. XPath expressions are employed to search the local tree structure for PCDATA strings of the ph element (representing the running word string) and the ta element (indicating the correct morphosyntactic tag) to match input words to the regular expression. In the rule, input words are ordered pairs of ph content and ta content, with irrelevant content marked by the # symbol, like <“da”,”#”> or <“#”,”Pp@d@@@t”>. The grammar specifies the elements in the XML document to which it is applied (e.g., paragraph, head, and highlighted elements).
Currently, the regular grammar cascade for recognizing compound verb forms consists of two levels. Recognizer 1 includes rules operating on the first level, producing:
Verb forms with a single main verb or a main verb accompanied by small words Read more