Lexical expression qualifiers enable you to scan content for items which match specific entries in a source file. For example, you might want to construct a lexical expression which detects only a particular set of account passwords or credit card numbers, stored in an external file.
You can import lexical data safely into the
Data sets can be imported from an upload server either manually or automatically, using a user-defined schedule. |
Lexical expression qualifiers are applied to lexical expressions in order to restrict the matching values to specific entries. Each qualifier looks up information in a Data Set that has been imported to the
You must ensure your lexical data has been imported to the |
Lexical expression qualifiers use an external data source as a reference. This data can be converted from a tab-separated file and imported as a Data set.
The
Input data sets are imported securely using the Import Lexical Data feature. |
Lexical Data is the information used by a qualifier to match a detected expression. The data is prepared and imported onto the
For more information, see Import Lexical Data.
You can configure a qualifier to reference a particular data set and a unique Key field. Key fields are specified when you convert your tab-separated file into a data set.
If a key field is removed from a Data Set, the key will no longer be selectable and the qualifier will be ignored by the policy. |
For more information on how to configure Data Sets and Keys, see Import Lexical Data
From the Policy Center Home page, click Lexical Expressions. Select the Lexical Expression Qualifiers tab.
Existing qualifiers are displayed in the list.
Use the Overview section to change the Name of your qualifier, or add any relevant Notes.
Use the Manage Lexical Expression Qualifier panel to configure:
Key field: the column (key) in the data set which you want the qualifier to use.
The Key field and Data set must contain ASCII characters only. |
You can only use lexical expression qualifiers with user-defined expressions. |
From the Policy Center Home page, click Lexical Expressions. Select the Lexical Expressions tab and locate the expression list you want to use.
Click Edit.
Click ![]() |
If you are creating a new lexical expression, click New.
If you are adding a qualifier to an existing expression, select it from the list and click Edit.
Enter your lexical expression, using a User defined text entity.
See Create a Lexical Expression to find out more about using expressions. |
Move the cursor to the position preceding the closing period character. The qualifier must be inserted after the PATTERN and before the closing period.
.PATTERN=Names|.
Use the Qualifiers tab to select your qualifier. Add it to the expression.
The qualified expression must be contained within opening and closing period characters. |
From the Policy Center Home page, click Lexical Expressions. Select the Lexical Expression Qualifers tab.
Use the Manage Lexical Expression Qualifier panel to configure:
You can import lexical Data sets to the
If you remove an active Data Set from the |
See Lexical Data Import for more information.
I want to configure a lexical expression that only looks for the credit card numbers of my customers.
The columns containing the relevant information must have been configured with Key fields in a Data set (*.leq file). The relevant information is the information you want the
Run ffcreate
in the directory.
Configure the key fields and the structure of your output file using the command line:
ffcreate -k <key_name> -s <schema> -i <input_file> -o <output_file>
You must include the file extension of the input file, and append the output file with the extension .leq to ensure it can be accessed by the |
See Import Lexical Data to find out more about importing lexical data.
Create an expression list.
See Working with lexical expressions to find out how to do this.
Create a Lexical Expression and add a Predefined entity (Credit Card). This scans content for all credit card numbers.
See Create a Lexical Expression to find out more about how to create an expression.
When you have configured the expression as required, click Add.
This example scans content for credit card numbers (using the lexical expression) and restricts the search to values found in the appropriate column of the ClientInfo data set using the lexical expression qualifier. Only these values will be detected. |
© 1995–2018 Clearswift Ltd.