Fido Alpha 3.2

fido.linguistic
Class WordSeparation

java.lang.Object
  |
  +--fido.linguistic.WordSeparation

public class WordSeparation
extends java.lang.Object

This module breaks up the stream of characters from the client into the sentence into words. A word is defined as a group of non-whitespace characters. Punctuation characters are considered separate words.

After a word has been identified, all characters are converted to lower case.


Constructor Summary
WordSeparation()
          Creates a new WordSeparation class.
 
Method Summary
 java.util.Vector parseSentence(java.lang.String str)
          Converts a string of characters to a Vector of WordPackages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordSeparation

public WordSeparation()
Creates a new WordSeparation class.

Method Detail

parseSentence

public java.util.Vector parseSentence(java.lang.String str)
Converts a string of characters to a Vector of WordPackages.

Parameters:
str - String of characters from the user
See Also:
WordPackage

Fido Alpha 3.2