|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knowceans.corpus.CorpusResolver
public class CorpusResolver
CorpusResolver resolves indices into names.
| Field Summary | |
|---|---|
java.lang.String[] |
EXTENSIONS
|
| Constructor Summary | |
|---|---|
CorpusResolver(java.lang.String filebase)
|
|
CorpusResolver(java.lang.String filebase,
boolean parmode)
control paragraph mode (possibly different vocabulary) |
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor(int i)
resolve the numeric author id |
java.lang.String |
getDoc(int i)
resolve the numeric term id |
int |
getId(int type,
java.lang.String label)
|
java.lang.String |
getLabel(int i)
resolve the numeric label id |
java.lang.String |
getLabel(int type,
int id)
|
java.lang.String |
getTerm(int t)
resolve the numeric term id |
int |
getTermId(java.lang.String term)
find id for string term |
java.lang.String |
getVol(int i)
resolve the numeric volume id |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String[] EXTENSIONS
| Constructor Detail |
|---|
public CorpusResolver(java.lang.String filebase)
public CorpusResolver(java.lang.String filebase,
boolean parmode)
filebase - parmode - | Method Detail |
|---|
public static void main(java.lang.String[] args)
public java.lang.String getTerm(int t)
t -
public int getTermId(java.lang.String term)
term -
public java.lang.String getLabel(int i)
i -
public java.lang.String getAuthor(int i)
i -
public java.lang.String getDoc(int i)
i -
public java.lang.String getVol(int i)
i -
public java.lang.String getLabel(int type,
int id)
public int getId(int type,
java.lang.String label)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||