MarginaliaSearch/code/common/config/java/nu/marginalia/LanguageModels.java

31 lines
1.0 KiB
Java
Raw Normal View History

2023-03-04 12:19:01 +00:00
package nu.marginalia;
import java.nio.file.Path;
public class LanguageModels {
public final Path ngramBloomFilter;
public final Path termFrequencies;
public final Path openNLPSentenceDetectionData;
public final Path posRules;
public final Path posDict;
public final Path openNLPTokenData;
public final Path fasttextLanguageModel;
2023-03-04 12:19:01 +00:00
public LanguageModels(Path ngramBloomFilter,
Path termFrequencies,
Path openNLPSentenceDetectionData,
Path posRules,
Path posDict,
Path openNLPTokenData,
Path fasttextLanguageModel) {
2023-03-04 12:19:01 +00:00
this.ngramBloomFilter = ngramBloomFilter;
this.termFrequencies = termFrequencies;
this.openNLPSentenceDetectionData = openNLPSentenceDetectionData;
this.posRules = posRules;
this.posDict = posDict;
this.openNLPTokenData = openNLPTokenData;
this.fasttextLanguageModel = fasttextLanguageModel;
2023-03-04 12:19:01 +00:00
}
}