net.java.sen.dictionary
クラス Node

java.lang.Object
  上位を拡張 net.java.sen.dictionary.Node
すべての実装されたインタフェース:
java.lang.Cloneable

public final class Node
extends java.lang.Object
implements java.lang.Cloneable

A node within the Viterbi cost lattice


フィールドの概要
 int cost
          The cost of the best path through this Node, comprising this.prev, this Node, and this.next.
 CToken ctoken
          The CToken the Dictionary returned for the Morpheme within this Node
 int length
          The number of characters this Node covers
 Node lnext
          The next Node returned for the same ending position within the sentence by the Dictionary
 Morpheme morpheme
          The Morpheme that is contained within this Node
 Node next
          The next node on the best path through the Node lattice
 Node prev
          The previous node on the best path through the Node lattice
 Node rnext
          The next Node returned for the same starting position within the sentence by the Dictionary
 int span
          The number of characters between the end of the previous Node and the end of this one, including any ignored characters that do not form part of the Morpheme
 int start
          The index of the first character of this Node within the surface
 
コンストラクタの概要
Node()
           
 
メソッドの概要
 Node clone()
           
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

ctoken

public CToken ctoken
The CToken the Dictionary returned for the Morpheme within this Node


prev

public Node prev
The previous node on the best path through the Node lattice


next

public Node next
The next node on the best path through the Node lattice


lnext

public Node lnext
The next Node returned for the same ending position within the sentence by the Dictionary


rnext

public Node rnext
The next Node returned for the same starting position within the sentence by the Dictionary


morpheme

public Morpheme morpheme
The Morpheme that is contained within this Node


start

public int start
The index of the first character of this Node within the surface


length

public int length
The number of characters this Node covers


span

public int span
The number of characters between the end of the previous Node and the end of this one, including any ignored characters that do not form part of the Morpheme


cost

public int cost
The cost of the best path through this Node, comprising this.prev, this Node, and this.next. Lower cost is more likely, higher cost less likely

コンストラクタの詳細

Node

public Node()
メソッドの詳細

clone

public Node clone()
オーバーライド:
クラス java.lang.Object 内の clone


Copyright ? 2008. All Rights Reserved.