public class ApertiumGenerator extends java.lang.Object implements Generator
The provided implementation is thread-safe and, therefore, instances can be freely shared.
DUMMY_GENERATOR
Constructor and Description |
---|
ApertiumGenerator(java.io.File fstFile)
Creates a new generator for the specified FST file for Apertium.
|
public ApertiumGenerator(java.io.File fstFile)
fstFile
- the FST file for Apertium.public java.lang.String generate(java.lang.String token, java.lang.String... morphologicalTags)
Generator
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object