Lex Rules View
This view is where you import and edit lex rules files for your project. It is available in "Describing a JSON Object" projects only.
For more about lex rules, please see the Working with lex rules tutorial.
Importing a lex rules file
To import a lex rules file, click the ADD LEX RULE FILE button in the top right of the interface.
You can then either drag and drop your files(s) into the window or click browse to select your file(s) using the pop-up file browser.
Note
You can import multiple Lex Rule files if you wish. The list of files you have uploaded appears on the left side of the view, under the Lex Rule Files heading.
Editing a lex rules file
You can edit a Lex Rules file in the editing pane. The name of the file you are editing appears as a heading at the top of this pane. In the image below, the Lex Rules file being edited is called otherFeaturesLexRules.xml
Tip
You can also change the name of a Lex Rule file by clicking on its name in the Lex Rule Files list.
If there is an error in your lex rules file, some text will turn red. Typically, red text will appear at the end of the rule containing the error. The image above shows an editing error where the forward slash to annotate the end of a tab, (“/>”) has been omitted. This error causes the text at the end of the rule to turn red (we have added a red arrow to highlight the error).