public class SpellCheckerBuilder
extends com.exalead.gni.GNIObject
Constructor and Description |
---|
SpellCheckerBuilder() |
Modifier and Type | Method and Description |
---|---|
boolean |
compile(MOTPipeInterface pipe,
SpellCheckerConfig conf,
java.lang.String dataDir,
java.lang.String name)
Compile spell checker configuration to files:
name.bin (terminology trie: term->freq), name.term
(ontology with phonetic+white/black lists: term->phonetic and whitelist/blacklist terms)
|
boolean |
compileTerminology(MOTPipeInterface pipe,
SpellCheckTerminology termino,
java.lang.String termFile,
java.lang.String phonFile)
Compile a terminology
|
public boolean compile(MOTPipeInterface pipe, SpellCheckerConfig conf, java.lang.String dataDir, java.lang.String name)
pipe
- Pipe for the ontology builderconf
- Spell checker configurationdataDir
- Output directoryname
- Name of the output resourcepublic boolean compileTerminology(MOTPipeInterface pipe, SpellCheckTerminology termino, java.lang.String termFile, java.lang.String phonFile)
pipe
- Pipe for the ontology buildertermino
- Terminology to compiletermFile
- Output file for the terminologyphonFile
- Output file for phoneticCopyright © 2013 Dassault Systèmes, All Rights Reserved.