gov.nih.nlm.nls.lvg.Flows
Class ToConvertOutput
java.lang.Object
gov.nih.nlm.nls.lvg.Flows.Transformation
gov.nih.nlm.nls.lvg.Flows.ToConvertOutput
- All Implemented Interfaces:
- java.lang.Cloneable
public class ToConvertOutput
- extends Transformation
- implements java.lang.Cloneable
This class converts the output of the Xerox Parc stocastic tagger to lvg
style pipe delimited format.
The format of Xerox Parc stocastic tagger is: ['term', 'category']
The format of Lvg style pipe delimite format is:
in term|out term|category|inflection|Flow History|
History:
- Version:
- V-2006p
- Author:
- NLM NLS Development Team
- See Also:
-
Design Document
|
Method Summary |
static void |
main(java.lang.String[] args)
A unit test driver for this flow component. |
static java.util.Vector |
Mutate(LexItem in,
java.sql.Connection conn,
boolean detailsFlag,
boolean mutateFlag)
Performs the mutation of this flow component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToConvertOutput
public ToConvertOutput()
Mutate
public static java.util.Vector Mutate(LexItem in,
java.sql.Connection conn,
boolean detailsFlag,
boolean mutateFlag)
throws java.sql.SQLException
- Performs the mutation of this flow component.
- Parameters:
in - a LexItem as the input for this flow componentconn - LVG database connectiondetailsFlag - a boolean flag for processing details informationmutateFlag - a boolean flag for processing mutate information
- Returns:
- the results from this flow component - a collection (Vector)
of LexItems
- Throws:
java.sql.SQLException - if errors occurr while connect to LVG database.- See Also:
DbBase
main
public static void main(java.lang.String[] args)
- A unit test driver for this flow component.
Submit a bug or feature
Copyright © 2006p National Library of Medicine