org.apache.lucene.spelt
Class SpellReader.Phrase

Object
  extended by SpellReader.Phrase
All Implemented Interfaces:
Cloneable
Enclosing class:
SpellReader

private class SpellReader.Phrase
extends Object
implements Cloneable

Track an ordered group of words.


Field Summary
(package private)  float baseScore
           
(package private)  float score
           
(package private)  SpellReader.Word[] words
           
 
Constructor Summary
private SpellReader.Phrase()
           
 
Method Summary
 void calcScore()
           
 void calcScore(PrintWriter debugWriter)
           
 Object clone()
           
 String[] toStringArray()
           
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

words

SpellReader.Word[] words

baseScore

float baseScore

score

float score
Constructor Detail

SpellReader.Phrase

private SpellReader.Phrase()
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

calcScore

public void calcScore()
               throws IOException
Throws:
IOException

calcScore

public void calcScore(PrintWriter debugWriter)
               throws IOException
Throws:
IOException

toStringArray

public String[] toStringArray()