public class ClauseViewGenerator extends Object implements ViewGenerator
SpanLabelView
with clause information using the parse tree.
This view generator follows the specification in "Tjong Kim Sang, E. F., &
D'ejean, H. (2001): Introduction to the CoNLL-2001 Shared Task: Clause
Identification" and picks out all parse tree nodes that starts with an S to
be a clause. In particular, FRAG and RRC are ignored.Modifier and Type | Field and Description |
---|---|
static ClauseViewGenerator |
BERKELEY |
static ClauseViewGenerator |
CHARNIAK |
static ClauseViewGenerator |
STANFORD |
Constructor and Description |
---|
ClauseViewGenerator(String parseViewName,
String clauseViewName) |
public static ClauseViewGenerator CHARNIAK
public static ClauseViewGenerator STANFORD
public static ClauseViewGenerator BERKELEY
public View getView(TextAnnotation ta)
getView
in interface ViewGenerator
public String getViewName()
getViewName
in interface ViewGenerator
public static void main(String[] args)
Copyright © 2015. All rights reserved.