public class QPTreeTransformer extends Object implements TreeTransformer
Constructor and Description |
---|
QPTreeTransformer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static Tree |
QPtransform(Tree t)
Transforms t if it contains one of the following QP structure:
NP (QP ...) (QP (CC and/or) ...)
QP (RB IN CD|DT ...) well over, more than
QP (JJR IN CD|DT ...) fewer than
QP (IN JJS CD|DT ...) at least
QP (...
|
Tree |
transformTree(Tree t)
Right now (Jan 2013) we only deal with the following QP structures:
NP (QP ...) (QP (CC and/or) ...)
QP (RB IN CD|DT ...) well over, more than
QP (JJR IN CD|DT ...) fewer than
QP (IN JJS CD|DT ...) at least
QP (...
|
public Tree transformTree(Tree t)
transformTree
in interface TreeTransformer
t
- tree to be transformedpublic static Tree QPtransform(Tree t)
t
- a tree to be transformedpublic static void main(String[] args)