edu.mit.nlp.segmenter
Class Segment

java.lang.Object
  extended by edu.mit.nlp.segmenter.Segment

public class Segment
extends Object


Constructor Summary
Segment(int p_D)
           
Segment(Segment seg)
           
 
Method Summary
 void addCounts(double[] counts)
           
 int getDur()
           
 double[] getTheta()
           
 void setPDur(double[] pdur)
           
 void subCounts(double[] counts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Segment

public Segment(int p_D)

Segment

public Segment(Segment seg)
Method Detail

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.