public class ApproxMatcherBuilder
extends com.exalead.gni.GNINativeObject
ApproxMatcher
Constructor and Description |
---|
ApproxMatcherBuilder()
Ctor
|
Modifier and Type | Method and Description |
---|---|
void |
addEntry(java.lang.String displayForm,
java.lang.String tag,
java.util.List<ApproxMatcherEntry> entries,
int allowedWordDist)
Add an entry in Approx Matcher
|
boolean |
compile(java.lang.String outputDir)
Compile the resource to
outputDir |
public void addEntry(java.lang.String displayForm, java.lang.String tag, java.util.List<ApproxMatcherEntry> entries, int allowedWordDist)
tag
- Tag to put on the annotationdisplayForm
- Content of annotation to add when the entry is matchedentries
- List of annotation that create this entryallowedWordDist
- Number of words than can be skipped/added in the entry (0 by default)public boolean compile(java.lang.String outputDir)
outputDir
outputDir
- The destination directoryCopyright © 2013 Dassault Systèmes, All Rights Reserved.