edu.stanford.nlp.parser
Class AppliableParser
java.lang.Object
|
+--edu.stanford.nlp.parser.AppliableParser
- All Implemented Interfaces:
- Appliable
- public class AppliableParser
- extends Object
- implements Appliable
This is a temporary parser which implements Appliable. It uses the
A* factored parser and requires a copy of the treebank to train.
It uses lots of memory (about 1.5G) and will be replaced at some
point.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppliableParser
public AppliableParser(String treebankPath)
apply
public Object apply(Object o)
- Description copied from interface:
Appliable
- Converts an Object to a different Object. For example, a Parser
will convert a Sentence to a Tree. A Tagger will convert a Sentence
to a TaggedSentence.
- Specified by:
apply
in interface Appliable
main
public static void main(String[] args)
Stanford NLP Group