我在 vb.net 3.5 框架应用程序上使用 Lucene.NET 3.0.3。我需要传递一个意大利停用词文件。
使用 FileInfo 或 TextReader,一旦我以标准方式安装了我的分析器,我总是会得到英文停用词:
stopword = New System.IO.FileInfo(stopWordsLocation)
analyzer = New StandardAnalyzer(Lucene.Net.Util.Version.LUCENE_30, stopword)
analyzer = New StandardAnalyzer(Lucene.Net.Util.Version.LUCENE_30, stopword)
'here i have still the English stop words if I go through quick-watch my analyzer
有人有线索吗?