Class Word

All Implemented Interfaces:
IExtendable

public final class Word extends ExtendableObject

Aligned word access for a record. A word is typically any text content between spaces unless otherwise specified by the specific tier implementation. The class allows for vertical access of a word in each tier.

Words can only be obtained through Group objects.

 Group g = record.getGroup(0);
 Word w = g.getWord(1);
 
 // these 'word' elements are aligned
 OrthoElement ele = record.getOrthography();
 IPATranscript ipaA = record.getIPAActual();
 
 

  • Method Details

    • getGroup

      public Group getGroup()
    • getWordIndex

      public int getWordIndex()
    • getOrthography

      public OrthoElement getOrthography()
    • getOrthographyWordLocation

      public int getOrthographyWordLocation()
    • getIPATarget

      public IPATranscript getIPATarget()
    • getIPATargetWordLocation

      public int getIPATargetWordLocation()
    • getIPAActual

      public IPATranscript getIPAActual()
    • getIPAActualWordLocation

      public int getIPAActualWordLocation()
    • getPhoneAlignment

      public PhoneMap getPhoneAlignment()
    • getPhoneAlignmentLocation

      public int getPhoneAlignmentLocation()
    • getNotes

      public TierString getNotes()
    • getNotesWordLocation

      public int getNotesWordLocation()
    • getTier

      public Object getTier(String name)
    • getTierWordLocation

      public int getTierWordLocation(String tierName)
    • getSyllableAlignment

      public SyllableMap getSyllableAlignment()
    • getSyllableAlignmentLocation

      public int getSyllableAlignmentLocation()
    • getAlignedSyllableCount

      public int getAlignedSyllableCount()
    • getAlignedSyllable

      public AlignedSyllable getAlignedSyllable(int index)