opennlp.grok.parse
Class MaxIncrCKY
java.lang.Object
|
+--opennlp.grok.parse.ParserAdapter
|
+--opennlp.grok.parse.CKY
|
+--opennlp.grok.parse.MaxIncrCKY
- All Implemented Interfaces:
- ParamListener, opennlp.common.parse.Parser
- public class MaxIncrCKY
- extends CKY
CKY is a chart parser that is used, in this case, with the CCG
grammar formalism.
- Version:
- $Revision: 1.6 $, $Date: 2002/02/08 12:13:36 $
- Author:
- Gann Bierner
Constructor Summary |
MaxIncrCKY(opennlp.common.parse.Lexicon l,
opennlp.common.parse.RuleGroup r)
|
MaxIncrCKY(java.lang.String lex,
java.lang.String rule)
class constructor: sets lexicon and rules |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaxIncrCKY
public MaxIncrCKY(java.lang.String lex,
java.lang.String rule)
throws java.io.FileNotFoundException,
java.io.IOException,
opennlp.common.parse.LexException
- class constructor: sets lexicon and rules
- Parameters:
lex
- The URL where lexicon is located.rule
- The URL where the rules are located.
- Throws:
java.io.FileNotFoundException
- If cannot find file
java.io.IOException
- If cannot find file
opennlp.common.parse.LexException
MaxIncrCKY
public MaxIncrCKY(opennlp.common.parse.Lexicon l,
opennlp.common.parse.RuleGroup r)
parse
public void parse(Chart table,
int size)
throws opennlp.common.parse.ParseException
- Overrides:
parse
in class CKY
opennlp.common.parse.ParseException
Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.