MyEclipse8.6以及Intellij IDEA运行CMU Sphinx中Helloworld DEMO实例
来源:互联网 发布:pitta mask 知乎 编辑:程序博客网 时间:2024/05/23 18:28
Section 1 MyEclipse
具体步骤如下:
File->new->project->java project
找到workspaces中TestSphinxDemo文件,新建文件夹名为lib,并且加入如下jar包:
在项目的src目录中新建名为edu.cmu.sphinx.demo.helloworld的包,并把原来的项目全部搞到包中:
但是,如上图会显示错误,别急,我们进行如下操作:
右键单击项目选择properties:
添加:
之后我们就能够看到项目:
最后我们需要修改一下内存的设置,否则运行的时候会溢出:
以上都搞定之后,运行程序,我们就可以看到:
Section 2 Intellij IDEA
新建项目:
添加lib文件夹,并把所需要的jar包添加进去。同时,新建package并将整个实例添加进去。
File->projectstructure:
添加需要的libraries:
添加依赖:
在第一次运行的时候会生成一个out文件夹,会显示找不到文件:
之后把需要的gram文件添加到out文件夹下就可运行了:
关键是那个输出的out文件很关键,检查好了应该就没有问题了。
0 0
- MyEclipse8.6以及Intellij IDEA运行CMU Sphinx中Helloworld DEMO实例
- CMU Sphinx
- IntelliJ IDEA 中创建HelloWorld项目示例
- IntelliJ IDEA单机运行SparkPi实例
- IntelliJ IDEA 运行Hadoop2.7.0 wordcount 实例
- intellij idea 写 Helloworld
- intellij idea导入极客验证码官方demo以及在Tomcat中部署
- IntelliJ IDEA 中创建HelloWorld项目示例(非Maven项目)
- IntelliJ IDEA 中开发springboot之入门案例(HelloWorld)
- CMU SPHINX介绍
- 使用Intellij idea新建HelloWorld
- intellij IDEA 15.0破解到运行第一个javaweb实例
- IntelliJ IDEA 首次运行
- Hadoop Intellij IDEA 建demo
- 使用NDK编译CMU Sphinx
- Intellij Idea中运行tomcat 报內存溢出 解决方案
- 使用IntelliJ IDEA编写SparkPi直接在Spark中运行
- Intellij Idea中运行tomcat 后报内存溢出
- 第五节(下):Struts2-校验
- xcode5 ios7 framework not found IOKit 年底了啊,做个记录,3个月前有这个问题
- html5 input video url
- CMU SPHINX介绍
- c++ cout 格式化输出浮点数、整数及格方法
- MyEclipse8.6以及Intellij IDEA运行CMU Sphinx中Helloworld DEMO实例
- HDU1010 Tempter of the Bone -奇偶剪枝
- Django 中随机获取指定数量数据
- 图像资源Images Assets
- Code a network packet sniffer in python for Linux
- 回家之后
- Remove Duplicates from Sorted Array
- SRM 557
- 编码h264 to rtmp 或者存文件