JAWS导入问题 [英] JAWS import issue

查看:271
本文介绍了JAWS导入问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 JAWS (用于WordNet搜索的Java API)并拥有在eclipse中使用VM Arguments设置wordnet字典。我下载了jaws-bin.jar文件并将其放在我的项目目录C:\ Users \ My-pc\Projects \ MyApp\src中。在此之后,我使用以下命令成功运行代码:

I am using JAWS (Java API for WordNet Searching) and have set up the wordnet dictionary with VM Arguments in eclipse. I downloaded the jaws-bin.jar file and placed it in my project directory C:\Users\My-pc\Projects\MyApp\src. After this, I ran the code successfully using:

java -classpath .;C:\Users\My-pc\Projects\MyApp\bin\jaws-bin.jar -Dwordnet.database.dir=C:\WordNet-3.0\dict MyAppName

现在当我导入包edu.smu.tspell.wordnet。*时,它会输出错误导入edu无法解析。我仔细地按照设置指南,但无法弄清楚出了什么问题。任何人都可以帮我解决这个问题。谢谢。

Now when I import the package "edu.smu.tspell.wordnet.*", it is giving the error "The import edu cannot be resolved". I followed the set-up guide closely but can't figure out what is wrong. Can anyone please help me in resolving this. Thanks.

推荐答案

通过从这里并将其放入我的项目中。

Got it right by downloading the source files from here and placing it in my project.

这篇关于JAWS导入问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆