mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 21:29:00 +00:00
34 lines
1.0 KiB
Java
34 lines
1.0 KiB
Java
package nu.marginalia;
|
|
|
|
import lombok.Builder;
|
|
|
|
import java.nio.file.Path;
|
|
|
|
@Builder
|
|
public class LanguageModels {
|
|
public final Path termFrequencies;
|
|
|
|
public final Path openNLPSentenceDetectionData;
|
|
public final Path posRules;
|
|
public final Path posDict;
|
|
public final Path openNLPTokenData;
|
|
public final Path fasttextLanguageModel;
|
|
public final Path segments;
|
|
|
|
public LanguageModels(Path termFrequencies,
|
|
Path openNLPSentenceDetectionData,
|
|
Path posRules,
|
|
Path posDict,
|
|
Path openNLPTokenData,
|
|
Path fasttextLanguageModel,
|
|
Path segments) {
|
|
this.termFrequencies = termFrequencies;
|
|
this.openNLPSentenceDetectionData = openNLPSentenceDetectionData;
|
|
this.posRules = posRules;
|
|
this.posDict = posDict;
|
|
this.openNLPTokenData = openNLPTokenData;
|
|
this.fasttextLanguageModel = fasttextLanguageModel;
|
|
this.segments = segments;
|
|
}
|
|
}
|