phrase nets
Public Member Functions
pn::parse::Word Class Reference

List of all members.

Public Member Functions

 Word (String word)
String toString ()
int compareTo (Word o)
String word ()
MutableInteger numIn ()
MutableInteger numOut ()
int num ()

Detailed Description

A word that occurs as a part of a phrase.


Constructor & Destructor Documentation

pn::parse::Word::Word ( String  word) [inline]

Ctor.

Parameters:
wordThe word. Must not be null

Member Function Documentation

int pn::parse::Word::num ( ) [inline]
Returns:
How often this word occurs (numIn() + numOut())
MutableInteger pn::parse::Word::numIn ( ) [inline]
Returns:
How often this word is 'B' in 'A x B'.
MutableInteger pn::parse::Word::numOut ( ) [inline]
Returns:
How often this word is 'A' in 'A x B'.
String pn::parse::Word::toString ( ) [inline]

Returns the word as a string.

String pn::parse::Word::word ( ) [inline]
Returns:
The word

The documentation for this class was generated from the following file:
 All Classes Functions Variables