Package | Description |
---|---|
gov.nih.nlm.nls.stmt.Api |
Contains STMT API classes.
|
gov.nih.nlm.nls.stmt.Corpus |
Contains STMT corpus tree classes.
|
Modifier and Type | Field and Description |
---|---|
protected Corpus |
StmtApi.corpus_
corpusjava object
|
Modifier and Type | Method and Description |
---|---|
static java.util.Vector<java.lang.String> |
SubtermApi.FindAllPrefixSubterms(java.lang.String inTerm,
Corpus corpus)
Find all prefix sub-terms of a term in the corpus tree.
|
static java.lang.String |
SubtermApi.FindLongestPrefixSubterm(java.lang.String inTerm,
Corpus corpus)
Find the longest prefix sub-term of a term in the corpus tree.
|
static java.util.Vector<Subterm> |
SubtermApi.FindSubterms(java.lang.String inTerm,
Corpus corpus)
Find all possible subterm objects of a term in the corpus tree.
|
static java.util.Vector<java.lang.String> |
SubtermApi.FindSubtermStrs(java.lang.String inTerm,
Corpus corpus)
Find all possible subterms (in String) of a term in the corpus tree.
|
static boolean |
SubtermApi.FindTerm(java.lang.String inTerm,
Corpus corpus)
Check if a term is in the corpus.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<TreeNode> |
Corpus.GetNodeList(Corpus corpus)
Get list of total nodes for the tree.
|
static java.util.Collection<java.lang.String> |
Corpus.GetPathList(Corpus corpus)
Get the total path list in the tree.
|
static int |
Corpus.GetTotalNodeNo(Corpus corpus)
Get the total number of tree nodes in the corpus tree
|
static int |
Corpus.GetTotalPathNo(Corpus corpus)
Get the total number of branches (paths) in the corpus tree
|
static int |
Corpus.GetTotalTermNo(Corpus corpus)
Get the total number of terms in the corpus
|
static java.lang.String |
Corpus.GetTreeString(Corpus corpus)
Get the entire corpus tree in a string format
|
Submit a bug or feature
Copyright © 2015 National Library of Medicine