done.inpro.system.completion
Class CompletionInstallmentIU.FuzzyMatchResult

java.lang.Object
  extended by done.inpro.system.completion.CompletionInstallmentIU.FuzzyMatchResult
Enclosing class:
CompletionInstallmentIU

public class CompletionInstallmentIU.FuzzyMatchResult
extends java.lang.Object

class that describes the result of (fuzzily) matching this installment against a list of words that potentially form a prefix of this installment

Author:
timo

Field Summary
(package private)  java.util.List<WordIU> prefix
           
(package private)  java.util.List<WordIU> remainder
           
(package private)  double wer
           
 
Constructor Summary
private CompletionInstallmentIU.FuzzyMatchResult()
           
private CompletionInstallmentIU.FuzzyMatchResult(CompletionInstallmentIU.Prefix prefix, double wer)
           
 
Method Summary
 java.util.List<WordIU> getPrefix()
           
 java.util.List<WordIU> getRemainder()
           
 boolean matches()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefix

java.util.List<WordIU> prefix

remainder

java.util.List<WordIU> remainder

wer

double wer
Constructor Detail

CompletionInstallmentIU.FuzzyMatchResult

private CompletionInstallmentIU.FuzzyMatchResult()

CompletionInstallmentIU.FuzzyMatchResult

private CompletionInstallmentIU.FuzzyMatchResult(CompletionInstallmentIU.Prefix prefix,
                                                 double wer)
Method Detail

matches

public boolean matches()

getPrefix

public java.util.List<WordIU> getPrefix()

getRemainder

public java.util.List<WordIU> getRemainder()