|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.lvg.Flows.Transformation
gov.nih.nlm.nls.lvg.Flows.ToStripNecNos
public class ToStripNecNos
This class strips NEC and NOS from a specified term. NOS (Not Otherwise Specified) and NEC (Not Elsewhere Classified) can be found as part of Metathesaurus concept names. This class has following features:
where $ is the end the string.
The design and implementation of this class is not general. More details specification need to be addressed, such as in the case of ", NEC" & ", NOS". In addition, the issue of tokenizing and puncuations need to be addessed.
History:
| Field Summary |
|---|
| Fields inherited from class gov.nih.nlm.nls.lvg.Flows.Transformation |
|---|
NO_MUTATE_INFO, UPDATE |
| Constructor Summary | |
|---|---|
ToStripNecNos()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
A unit test driver for this flow component. |
static java.util.Vector |
Mutate(LexItem in,
boolean detailsFlag,
boolean mutateFlag)
Performs the mutation of this flow component. |
| Methods inherited from class gov.nih.nlm.nls.lvg.Flows.Transformation |
|---|
GetTestStr, PrintResult, PrintResults, UpdateLexItem, UpdateLexItem, UpdateLexItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToStripNecNos()
| Method Detail |
|---|
public static java.util.Vector Mutate(LexItem in,
boolean detailsFlag,
boolean mutateFlag)
in - a LexItem as the input for this flow componentdetailsFlag - a boolean flag for processing details informationmutateFlag - a boolean flag for processing mutate information
public static void main(java.lang.String[] args)
|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||