public class WordBuilder
extends java.lang.Object
Constructor and Description |
---|
WordBuilder() |
Modifier and Type | Method and Description |
---|---|
WordBuilder |
addComponent(int begin,
int end,
java.lang.String subString) |
WordBuilder |
addComponent(int begin,
int end,
java.lang.String subString,
java.lang.String lemma) |
WordBuilder |
addComponent(int begin,
int end,
java.lang.String substring,
java.lang.String compLemma,
boolean neoclassicalAffix) |
Word |
create() |
java.lang.String |
getLemma() |
WordBuilder |
setCompoundType(CompoundType type) |
WordBuilder |
setLemma(java.lang.String lemma) |
WordBuilder |
setNeoclassicalAffix(int begin,
int end) |
WordBuilder |
setStem(java.lang.String stem) |
static WordBuilder |
start(Terminology terminology) |
public WordBuilder setStem(java.lang.String stem)
public WordBuilder setLemma(java.lang.String lemma)
public WordBuilder setCompoundType(CompoundType type)
public Word create()
public WordBuilder addComponent(int begin, int end, java.lang.String subString)
public WordBuilder addComponent(int begin, int end, java.lang.String subString, java.lang.String lemma)
public WordBuilder addComponent(int begin, int end, java.lang.String substring, java.lang.String compLemma, boolean neoclassicalAffix)
public static WordBuilder start(Terminology terminology)
public java.lang.String getLemma()
public WordBuilder setNeoclassicalAffix(int begin, int end)