add --shared
[pylucene.git] / samples / LuceneInAction / SynonymAnalyzerViewer.py
1
2 import os, sys, lucene
3 lucene.initVM()
4
5 baseDir = os.path.dirname(os.path.abspath(sys.argv[0]))
6 sys.path.append(baseDir)
7
8 from lia.analysis.synonym.SynonymAnalyzerViewer import SynonymAnalyzerViewer
9 SynonymAnalyzerViewer.main([sys.argv[0], os.path.join(baseDir,
10                                                       'indexes', 'wordnet')])