public static class FindTEITextLanguage.DocData
extends java.lang.Object
implements java.lang.Comparable
Stores up to three languages for each document. Documents with less than three languages have empty language entries with scores of 0 added.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
docFileName
Document file name.
|
ScoredString[] |
docLanguages
Document languages and scores.
|
int |
docLength
Document text length.
|
java.lang.String |
docTitle
Document title.
|
Constructor and Description |
---|
FindTEITextLanguage.DocData(java.lang.String docFileName,
java.lang.String docTitle,
int docLength,
ScoredString[] docLanguages)
Create DocData entry.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object object)
Compare this object to another.
|
public java.lang.String docFileName
public java.lang.String docTitle
public int docLength
public ScoredString[] docLanguages
public FindTEITextLanguage.DocData(java.lang.String docFileName, java.lang.String docTitle, int docLength, ScoredString[] docLanguages)
docFileName
- Document file name.docTitle
- Document title.docLength
- Document text length.docLanguages
- Document languages and scores.