Import dictionary phrases

To create a dictionary containing many phrases more quickly, create a text file listing the phrases and import to the dictionary classifier.

Complete the following steps to import dictionary phrases.

Steps

  1. Navigate to Policy > Policy Elements > Classifiers > Pattern and Phrases.
  2. Click the icon.
  3. Select the dictionary classifier from the drop-down.
  4. From the editor, click the Import option under the List of phrases to Include.
  5. Click the Browse option to import the file and navigate to the text file.
    The text file must be of UTF8 format. In the text file:
    • List each phrase on a separate line. The phrase can be up to 256 characters.
    • Optionally, provide one weight per phrase on the same line. Valid weights are from -999 to 999. If a phrase has no weight, it is assigned the default weight of 1.
    • Separate the phrase and weight by a comma. Enclose the phrase in quotes (not required if there is no weight). For example:
      • "confidential",5
      • "ProjectX",8
      • "ProjectY",3
    • Each phrase must be distinct. (Repeated values are ignored.)
      Note: You can include up to 5000 unique phrases. If you include more, only the first 5000 will be added to the list.
    • Slashes, tabs, hyphens, underscores, and carriage returns are included in the search.