com.knowledgebooks.nlp
Class PhraseList

java.lang.Object
  extended by com.knowledgebooks.nlp.PhraseList

public class PhraseList
extends java.lang.Object

Manage scored phrases.

Copyright 2002-2008 by Mark Watson. All rights reserved.

This software is not public domain. It can be legally used under either of the following licenses:

1. KnowledgeBooks.com Non Commercial Royality Free License
2. KnowledgeBooks.com Commercial Use License

see www.knowledgebooks.com for details


Field Summary
static int MAX_PHRASES
           
 
Constructor Summary
PhraseList()
           
 
Method Summary
 int getNumPhrases()
          Public methods:
 java.lang.String getPhrase(int index)
           
 float getScore(int index)
           
 int size()
          Methods with package-only visibility:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PHRASES

public static final int MAX_PHRASES
See Also:
Constant Field Values
Constructor Detail

PhraseList

public PhraseList()
Method Detail

getNumPhrases

public int getNumPhrases()
Public methods:


getPhrase

public java.lang.String getPhrase(int index)

getScore

public float getScore(int index)

size

public int size()
Methods with package-only visibility: