|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelCorpus
ILabelCorpus is a corpus with label information. It can be used to add an additional observed node to a topic model.
Field Summary | |
---|---|
static int |
LAUTHORS
|
static int |
LCATEGORIES
|
static int |
LDOCS
|
static int |
LREFERENCES
|
static int |
LTAGS
|
static int |
LTERMS
|
static int |
LVOLS
|
static int |
LYEARS
|
Method Summary | |
---|---|
int[][] |
getDocLabels(int kind)
array with label ids for documents |
int |
getLabelsV(int kind)
get the number of distinct labels in the label field |
int |
getLabelsW(int kind)
get the number of tokens in the label field |
Methods inherited from interface org.knowceans.corpus.ICorpus |
---|
getDocWords, getDocWords, getNumDocs, getNumTerms, getNumWords |
Field Detail |
---|
static final int LDOCS
static final int LTERMS
static final int LAUTHORS
static final int LCATEGORIES
static final int LVOLS
static final int LREFERENCES
static final int LTAGS
static final int LYEARS
Method Detail |
---|
int[][] getDocLabels(int kind)
kind
- of labels
int getLabelsW(int kind)
kind
-
int getLabelsV(int kind)
kind
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |