Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 Weka 与 SnowBall 包中提供的搬运工 Stemmer 一起使用。如果我在 Eclipse 中运行我的应用程序,一切正常,但是一旦我将它导出为可运行的 jar(包括所有库),weka 说:
Stemmer 'porter' unknown!
我怎么能解决这个问题?
如wiki中所述,Snowball jar 不在您的类路径中。运行 jar 时,您需要确保 Snowball jar 在您的类路径中。您还可以解压 Snowball jar 并将其包含在您的项目中。