Class 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 Details

  • Constructor Details

    • Replacement

      public Replacement(Word... words)
    • Replacement

      public Replacement(boolean real, Word... words)
    • Replacement

      public Replacement(boolean real, List<Word> words)
  • Method Details

    • isReal

      public boolean isReal()
    • getWords

      public List<Word> getWords()
    • getWordText

      public String getWordText()
    • text

      public String text()
      Description copied from interface: OrthographyElement
      Get string representation of the element.
      Returns:
      the string value of the element