Class SyllableInfo.Builder
java.lang.Object
ca.phon.ipa.SyllableInfo.Builder
- Enclosing class:
SyllableInfo
Builder for
SyllableInfo
. All fields are optional and default to values
used by the no-arg constructor.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the immutableSyllableInfo
record.constituentType
(SyllableConstituentType constituentType) isDiphthong
(boolean isDiphthong) segregated
(boolean segregated) sonority
(int sonority) sonorityDistance
(int sonorityDistance) stress
(SyllableStress stress) syllableIndex
(int syllableIndex) tone
(ToneNumber tone)
-
Method Details
-
constituentType
-
isDiphthong
-
stress
-
syllableIndex
-
segregated
-
sonority
-
sonorityDistance
-
tone
-
build
Build the immutableSyllableInfo
record.- Returns:
- new SyllableInfo instance
-