Adding documents for defining rules
Add documents with linguistic patterns that illustrate the types of rules you want to define.
Documents that you add for defining rules are kept separate from documents that you add for annotation. Their sole purpose is to be used for mining examples of patterns. They are not used for training nor are they ever downloaded.
Ways you can add documents to the rule editor
-
Author a text document in UTF-8 format
You can add text that illustrates a pattern directly into the rule editor. The name that you specify for the document cannot be longer than 256 characters.
-
Upload a CSV file
Upload a file in CSV format that contains the document text.
-
Copy a document that was imported for annotation
If a document that is part of a set that was imported for annotation purposes contains examples of patterns that you want to capture as rules, you can copy the document over to the rule editor. Any changes that you make to the document do not impact the original version of the document that is being used for annotation. See Adding documents to a workspace for information about uploading documents.
For documents that you copy or upload, choose documents that contain distinct patterns that help to identify entity types in documents.