Sample Configuration File
The following shows the configuration for a sample Eduction task:
[Eduction] ResourceFiles=C:\MyGrammar\gram1.ecr,C:\MyGrammar\gram2.ecr ZoneStart0=<TEXT> ZoneEnd0=</TEXT> ZoneStart1=acknowledgements ZoneEnd1=introduction Entity0=common/aus_holidays EntityField0=HOLIDAYS EntityZone0=0 Entity1=common/us_holidays EntityField1=HOLIDAYS EntityZone1=0 Entity2=us/social_security_number EntityField2=SS_NUMBER EntityZone2=1 SearchFields=DRECONTENT
[Logging] LogLevel=Full
This sample uses two grammar files. It searches for all Australian and U.S. holidays in the DRECONTENT
field between the text <Text> and </Text>, adding the matches as additional fields HOLIDAYS
. It also searches for a single social security number in DRECONTENT
between the text acknowledgements and introduction and adds the results as a new field SS_NUMBER
.