我有很多短信,我在代码行下面为它们运行。
// 标记术语
TokenStream tokenStream = new ClassicTokenizer(LUCENE_VERSION, new StringReader(term));
// 词干化
tokenStream = new PorterStemFilter(tokenStream);
有时我得到以下错误,有时没有:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000025f8360, pid=1688, tid=7492
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b17 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# J org.apache.lucene.analysis.PorterStemmer.stem(I)Z
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
我应该怎么办?