Interface Dictionary<T extends MorphData>

All Known Implementing Classes:
BinaryDictionary

public interface Dictionary<T extends MorphData>
High-level dictionary interface for morphological analyzers.
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    getLeftId(int morphId)
    Get left id of specified word
     
    default int
    getRightId(int morphId)
    Get right id of specified word
    default int
    getWordCost(int morphId)
    Get word cost of specified word
  • Method Details

    • getLeftId

      default int getLeftId(int morphId)
      Get left id of specified word
      Returns:
      left id
    • getRightId

      default int getRightId(int morphId)
      Get right id of specified word
      Returns:
      right id
    • getWordCost

      default int getWordCost(int morphId)
      Get word cost of specified word
      Returns:
      word's cost
    • getMorphAttributes

      T getMorphAttributes()