Am 09.02.2013 um 01:38 schrieb Prem Devanbu <devanbu@cs.ucdavis.edu>:
> We want to annotated some text with a syntax tree, and we're having trouble finding
examples or tutorial content on how this should be done within UIMA. Any pointers appreciated.
The typical way to represent a tree is defining a tree node type like this:
Node {
Node parent;
FSArray<Node> children;
String tag;
}
An example for such a type is the "Constituent" type in the DKPro Core Syntax type system:
http://code.google.com/p/dkpro-core-asl/source/browse/de.tudarmstadt.ukp.dkpro.core-asl/trunk/de.tudarmstadt.ukp.dkpro.core.api.syntax-asl/src/main/resources/desc/type/Constituency.xml
-- Richard
--
-------------------------------------------------------------------
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab (UKP-TUD)
FB 20 Computer Science Department
Technische Universität Darmstadt
Hochschulstr. 10, D-64289 Darmstadt, Germany
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckart@ukp.informatik.tu-darmstadt.de
www.ukp.tu-darmstadt.de
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
-------------------------------------------------------------------
|