source: other-projects/maori-lang-detection/src/org/greenstone/atea/morphia/LanguageInfo.java@ 33674

Last change on this file since 33674 was 33674, checked in by ak19, 4 years ago

Changes to support the top 5 predicted langcodes and their confidence values per sentence/overlapping sentence (all 103 made some documents, like of site 00006, too big too go into mongodb). Have re-run the NutchTextDumpToMongDB to send the new form of the docs into mongodb.

File size: 373 bytes
Line 
1package org.greenstone.atea.morphia;
2
3import dev.morphia.annotations.*;
4
5@Entity("Languages")
6public class LanguageInfo {
7 public final double confidenceLevel;
8 /** 3 letter lang code */
9 public final String langCode;
10 public LanguageInfo(double confidence, String langCode) {
11 this.confidenceLevel = confidence;
12 this.langCode = langCode;
13 }
14}
Note: See TracBrowser for help on using the repository browser.