opennlp.grok.lexicon
Class LMRLexicon
java.lang.Object
|
+--opennlp.grok.lexicon.LexiconAdapter
|
+--opennlp.grok.lexicon.LMRLexicon
- All Implemented Interfaces:
- opennlp.common.parse.Lexicon
- public class LMRLexicon
- extends LexiconAdapter
Grabs Constituents from LMR grammars.
- Version:
- $Revision: 1.35 $, $Date: 2003/02/07 13:14:57 $
- Author:
- Gann Bierner, Jason Baldridge, Michael White
Constructor Summary |
LMRLexicon(java.util.Properties g)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LMRLexicon
public LMRLexicon(java.util.Properties g)
- Constructor
getSignsFromRel
public java.util.Collection getSignsFromRel(java.lang.String rel)
getSignsFromStem
public java.util.Collection getSignsFromStem(java.lang.String stem)
throws opennlp.common.parse.LexException
opennlp.common.parse.LexException
getWord
public java.util.Collection getWord(java.lang.String w)
throws opennlp.common.parse.LexException
opennlp.common.parse.LexException
getMorph
public static MorphItem[] getMorph(java.io.InputStream istr)
getLexicon
public static Family[] getLexicon(java.io.InputStream istr)
Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.