Interface Dictionary

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INTERNAL_SEPARATOR  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBaseForm​(int wordId, char[] surface, int off, int len)
      Get base form of word
      java.lang.String getInflectionForm​(int wordId)
      Get inflection form of tokens
      java.lang.String getInflectionType​(int wordId)
      Get inflection type of tokens
      int getLeftId​(int wordId)
      Get left id of specified word
      java.lang.String getPartOfSpeech​(int wordId)
      Get Part-Of-Speech of tokens
      java.lang.String getPronunciation​(int wordId, char[] surface, int off, int len)
      Get pronunciation of tokens
      java.lang.String getReading​(int wordId, char[] surface, int off, int len)
      Get reading of tokens
      int getRightId​(int wordId)
      Get right id of specified word
      int getWordCost​(int wordId)
      Get word cost of specified word
    • Field Detail

    • Method Detail

      • getLeftId

        int getLeftId​(int wordId)
        Get left id of specified word
        Returns:
        left id
      • getRightId

        int getRightId​(int wordId)
        Get right id of specified word
        Returns:
        right id
      • getWordCost

        int getWordCost​(int wordId)
        Get word cost of specified word
        Returns:
        word's cost
      • getPartOfSpeech

        java.lang.String getPartOfSpeech​(int wordId)
        Get Part-Of-Speech of tokens
        Parameters:
        wordId - word ID of token
        Returns:
        Part-Of-Speech of the token
      • getReading

        java.lang.String getReading​(int wordId,
                                    char[] surface,
                                    int off,
                                    int len)
        Get reading of tokens
        Parameters:
        wordId - word ID of token
        Returns:
        Reading of the token
      • getBaseForm

        java.lang.String getBaseForm​(int wordId,
                                     char[] surface,
                                     int off,
                                     int len)
        Get base form of word
        Parameters:
        wordId - word ID of token
        Returns:
        Base form (only different for inflected words, otherwise null)
      • getPronunciation

        java.lang.String getPronunciation​(int wordId,
                                          char[] surface,
                                          int off,
                                          int len)
        Get pronunciation of tokens
        Parameters:
        wordId - word ID of token
        Returns:
        Pronunciation of the token
      • getInflectionType

        java.lang.String getInflectionType​(int wordId)
        Get inflection type of tokens
        Parameters:
        wordId - word ID of token
        Returns:
        inflection type, or null
      • getInflectionForm

        java.lang.String getInflectionForm​(int wordId)
        Get inflection form of tokens
        Parameters:
        wordId - word ID of token
        Returns:
        inflection form, or null