modnlp.idx.inverted
public class SubcorpusIndexer extends java.lang.Object
| Constructor and Description |
|---|
SubcorpusIndexer(java.io.File file,
java.lang.String c,
java.lang.String e,
java.lang.String a) |
SubcorpusIndexer(java.lang.String t,
java.lang.String e,
java.lang.String a) |
SubcorpusIndexer(java.net.URL url,
java.lang.String c,
java.lang.String e,
java.lang.String a) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
geElementName()
Get the
SectionElementName value. |
SubcorpusMap |
getSectionIndex()
A section index is simply a a token map in the following format
|
boolean |
getVerbose() |
void |
section() |
void |
setElementName(java.lang.String newElementName)
Set the
SectionElementName value. |
void |
setVerbose(boolean v) |
public SubcorpusIndexer(java.net.URL url,
java.lang.String c,
java.lang.String e,
java.lang.String a)
throws java.io.IOException
java.io.IOExceptionpublic SubcorpusIndexer(java.io.File file,
java.lang.String c,
java.lang.String e,
java.lang.String a)
throws java.io.IOException
java.io.IOExceptionpublic SubcorpusIndexer(java.lang.String t,
java.lang.String e,
java.lang.String a)
public final java.lang.String geElementName()
SectionElementName value.String valuepublic final void setElementName(java.lang.String newElementName)
SectionElementName value.newSectionElementName - The new SectionElementName value.public boolean getVerbose()
public void setVerbose(boolean v)
public void section()
public SubcorpusMap getSectionIndex()
id -> (start_section_offset, end_section_offset) ...
TokenMap value