Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
faes
asm
Commits
6f1f2491
Commit
6f1f2491
authored
Aug 11, 2017
by
JR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
An exemplo of dictionary file for IMGazetteer.
parent
6bb269ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
dictionary_example.txt
dictionary_example.txt
+52
-0
No files found.
dictionary_example.txt
0 → 100644
View file @
6f1f2491
|CONFIG|
%% Type will be used to identify annotations.
_annotationType=Inexact_Lookup
%% Search will consider characters case. use YES or NO.
_caseSensitive=NO
%% Max value accepted for EditDistance search.
_maxEditDistance=0
%% Quantity of better similarities will be used. Annotation with the same similarity will count as only one.
_numberBetterSimilarity=1
%% Minimum value accepted for the similarity.
_minAcceptedSimilarity=0.9
%% Name of the feature that will store the EditDistance value obtained from the search.
_editDistanceFeatureName=ED
%% Class and method that implement the algorithm used to calculate the similarity.
%%Method used must receive two Strings and return a Float.
_similarityClass=org.apache.lucene.search.spell.JaroWinklerDistance
_similarityMethod=getDistance
%% Class and method of transformation. Method must receive a String and return another String.
%% To do not use conversion, remove/comment both lines below.
_transformationClass=org.apache.commons.codec.language.DoubleMetaphone
_transformationMethod=doubleMetaphone
%% Name of the feature that will store the value from the similarity algorithm.
_similarityFeatureName=Similarity
%% Character used on entries lines bellow to searate features.
_featureSeparator=;
%% Charactere used on entries lines bellow to separte name and value of each feature.
_featureNameValueSeparator=:
%% Character used on entries lines bellow that indicates the end of the entrie.
_entrieDelimiter=#
|/CONFIG|
%% List of features that are applied for all entries bellow. Do NOT use comments in this section.
|Features4ALL|
Group=XYZ
|/Features4ALL|
%% List of entries used to build the trie. Do NOT use comments in this section.
|ENTRIES|
Sheffield#Type:city
Maryland#Type:state
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment