public static class TtsSpan.SemioticClassBuilder<C extends TtsSpan.SemioticClassBuilder<?>> extends TtsSpan.Builder<C>
TtsSpan.TextBuilder
and
TtsSpan.CardinalBuilder
are likely more useful.Constructor and Description |
---|
SemioticClassBuilder(String type) |
Modifier and Type | Method and Description |
---|---|
C |
setAnimacy(String animacy)
Sets the animacy information for this instance.
|
C |
setCase(String grammaticalCase)
Sets the grammatical case information for this instance.
|
C |
setGender(String gender)
Sets the gender information for this instance.
|
C |
setMultiplicity(String multiplicity)
Sets the multiplicity information for this instance.
|
build, setIntArgument, setLongArgument, setStringArgument
public SemioticClassBuilder(String type)
public C setGender(String gender)
gender
- Can any of TtsSpan.GENDER_NEUTRAL
,
TtsSpan.GENDER_MALE
and TtsSpan.GENDER_FEMALE
.public C setAnimacy(String animacy)
animacy
- Can be any of TtsSpan.ANIMACY_ANIMATE
and
TtsSpan.ANIMACY_INANIMATE
.public C setMultiplicity(String multiplicity)
multiplicity
- Can be any of
TtsSpan.MULTIPLICITY_SINGLE
, TtsSpan.MULTIPLICITY_DUAL
and
TtsSpan.MULTIPLICITY_PLURAL
.public C setCase(String grammaticalCase)
grammaticalCase
- Can be any of TtsSpan.CASE_NOMINATIVE
,
TtsSpan.CASE_ACCUSATIVE
, TtsSpan.CASE_DATIVE
,
TtsSpan.CASE_ABLATIVE
, TtsSpan.CASE_GENITIVE
,
TtsSpan.CASE_VOCATIVE
, TtsSpan.CASE_LOCATIVE
and
TtsSpan.CASE_INSTRUMENTAL
.