org.apache.lucene.analysis.synonym
Class WordnetSynonymParser
java.lang.Object
org.apache.lucene.analysis.synonym.SynonymMap.Builder
org.apache.lucene.analysis.synonym.WordnetSynonymParser
public class WordnetSynonymParser
- extends SynonymMap.Builder
Parser for wordnet prolog format
See http://wordnet.princeton.edu/man/prologdb.5WN.html for a description of the format.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WordnetSynonymParser
public WordnetSynonymParser(boolean dedup,
boolean expand,
Analyzer analyzer)
add
public void add(Reader in)
throws IOException,
ParseException
- Throws:
IOException
ParseException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.