public class Web1TFileAccessProvider extends Web1TProviderBase
| Constructor and Description |
|---|
Web1TFileAccessProvider(String language,
File indexPath,
int minN,
int maxN)
Try to deduce the index files from the given path.
|
Web1TFileAccessProvider(String language,
String... indexFiles) |
getFrequencyFromProvider, getLanguage, getNgramIterator, getNrOfDistinctNgrams, getNrOfNgrams, getNrOfTokensgetFrequency, getID, getLogLikelihood, getLogProbability, getProbability, getScaleDownFactor, setScaleDownFactorpublic Web1TFileAccessProvider(String language, String... indexFiles) throws IOException
IOExceptionpublic Web1TFileAccessProvider(String language, File indexPath, int minN, int maxN) throws IOException
language - the language.indexPath - The path in which the ngram index files are located.minN - The minimum ngram length.maxN - The maximum ngram length.IOException - if there is a problem accessing the index.Copyright © 2007–2019 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.