Class Replacement
java.lang.Object
ca.phon.orthography.AbstractOrthographyElement
ca.phon.orthography.Replacement
- All Implemented Interfaces:
IExtendable
,OrthographyElement
@Documentation("https://talkbank.org/manuals/CHAT.html#Replacements")
public final class Replacement
extends AbstractOrthographyElement
[: word1 ...]; indicate replacement of a word by one or more words instead. [:: word1 ...] to indicate that the word is a real word e.g.,
gonna [: going to]CHAT manual section on this topic... CHAT manual section on this topic... CHAT manual section on this topic...
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReplacement
(boolean real, Word... words) Replacement
(boolean real, List<Word> words) Replacement
(Word... words) -
Method Summary
Methods inherited from class ca.phon.orthography.AbstractOrthographyElement
getExtension, getExtensions, putExtension, removeExtension, toString
-
Field Details
-
PREFIX_REAL
- See Also:
-
PREFIX
- See Also:
-
-
Constructor Details
-
Replacement
-
Replacement
-
Replacement
-
-
Method Details
-
isReal
public boolean isReal() -
getWords
-
getWordText
-
text
Description copied from interface:OrthographyElement
Get string representation of the element.- Returns:
- the string value of the element
-