info.aduna.language.identification.ngram
Class TextProfile
java.lang.Object
info.aduna.language.identification.ngram.TextProfile
public class TextProfile
- extends Object
A TextProfile represents an ordered set of NGrams generated from a single
piece of text.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextProfile
public TextProfile(String text)
TextProfile
public TextProfile(Reader reader,
int maxNGrams)
throws IOException
- Throws:
IOException
getRank
public double getRank(NGram ngram)
Copyright © 1997-2008 Aduna. All Rights Reserved.