Class Matrix


  • public final class Matrix
    extends java.lang.Object
    形態素の連接コスト表を扱うクラス
    • Constructor Summary

      Constructors 
      Constructor Description
      Matrix​(java.lang.String dataDir)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      short linkCost​(int leftId, int rightId)
      形態素同士の連接コストを求める
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Matrix

        public Matrix​(java.lang.String dataDir)
               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • linkCost

        public short linkCost​(int leftId,
                              int rightId)
        形態素同士の連接コストを求める