Package ca.phon.orthography
Class OrthoWord
java.lang.Object
ca.phon.orthography.AbstractOrthoElement
ca.phon.orthography.OrthoWord
- All Implemented Interfaces:
IExtendable
,OrthoElement
- Direct Known Subclasses:
OrthoWordnet
A word in an orthographic phrase.
Words may have prefix and/or suffix
codes.
-
Constructor Summary
ConstructorDescriptionOrthoWord
(String data, UntranscribedType untranscribed) OrthoWord
(String data, WordPrefix prefix, WordSuffix suffix) OrthoWord
(String data, WordPrefix prefix, WordSuffix suffix, UntranscribedType untranscribed) OrthoWord
(String data, WordPrefixType prefix) OrthoWord
(String data, WordPrefixType prefix, WordSuffixType suffix) OrthoWord
(String data, WordPrefixType prefix, WordSuffixType suffix, UntranscribedType untranscribed) OrthoWord
(String data, WordSuffixType suffix) -
Method Summary
Methods inherited from class ca.phon.orthography.AbstractOrthoElement
getExtension, getExtensions, putExtension, removeExtension
-
Constructor Details
-
OrthoWord
-
OrthoWord
-
OrthoWord
-
OrthoWord
-
OrthoWord
-
OrthoWord
-
OrthoWord
public OrthoWord(String data, WordPrefix prefix, WordSuffix suffix, UntranscribedType untranscribed) -
OrthoWord
public OrthoWord(String data, WordPrefixType prefix, WordSuffixType suffix, UntranscribedType untranscribed)
-
-
Method Details
-
isUntranscribed
public boolean isUntranscribed() -
getUntranscribedType
-
getPrefix
Get prefix for word.- Returns:
- the word prefix, or
null
if none
-
getSuffix
Get suffix for word.- Returns:
- the word suffix, or
null
if none
-
getWord
Get the root word data (without prefix/suffix)- Returns:
- the root word
-
text
Description copied from interface:OrthoElement
Get string representation of the element.- Returns:
- the string value of the element
-
toString
-