edu.mit.nlp.segmenter
Class Segment
java.lang.Object
edu.mit.nlp.segmenter.Segment
public class Segment
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Segment
public Segment(int p_D)
Segment
public Segment(Segment seg)
setPDur
public void setPDur(double[] pdur)
getTheta
public double[] getTheta()
- Returns:
- the MAP estimate of the language model for the segment
addCounts
public void addCounts(double[] counts)
subCounts
public void subCounts(double[] counts)
getDur
public int getDur()
Copyright © 2008 MIT. All Rights Reserved.