Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 20 2016 13:12
    tastyminerals opened #96
  • Jun 20 2016 12:37
    psibre commented #95
  • Jun 20 2016 12:35
    psibre opened #95
  • Jun 20 2016 12:35
    psibre labeled #95
  • Jun 08 2016 14:03

    psibre on master

    drop pi4j submodule clean up references to pi4j Merge pull request #76 from psi… (compare)

  • Jun 08 2016 14:03
    psibre closed #76
  • Jun 08 2016 13:55

    psibre on master

    workaround: extract resource to… Merge pull request #93 from psi… (compare)

  • Jun 08 2016 13:55
    psibre closed #93
  • Jun 08 2016 13:55
    psibre closed #88
  • Jun 08 2016 13:54
    psibre synchronize #76
  • Jun 08 2016 13:48
    psibre synchronize #93
  • Jun 08 2016 13:47

    psibre on master

    tweak caching on travis replace opendial subproject wit… doctor transitive dependency ve… and 4 more (compare)

  • Jun 08 2016 13:46
    psibre closed #94
  • Jun 08 2016 13:42
    psibre opened #94
  • Jun 08 2016 13:11
    psibre opened #93
  • Jun 08 2016 13:10

    psibre on master

    gracefully handle missing seria… Merge pull request #92 from psi… (compare)

  • Jun 08 2016 13:10
    psibre closed #92
  • Jun 08 2016 12:33
    psibre opened #92
  • Jun 08 2016 12:20
    psibre opened #91
  • Jun 08 2016 10:51
    sirifarif commented #88
naszka
@naszka
sorry, back to the original problem: EllaVator/src/main/java/JsgfExpander.java:1: error: package edu.cmu.sphinx.jsgf does not exist
Why are there no source packages under sphinx4-core? (I only have dependencies and build scripts folder)
psibre
@psibre
@naszka did you run git submodule init?
naszka
@naszka
yes, but looks like not in the right order. After remove, add, init, everything is fine again.
tastyminerals
@tastyminerals
Trying out running gradlew.bat gives me the following error in windows cmd "Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain"
JAVA_HOME is set
tastyminerals
@tastyminerals
figured it out, it was a windows git issue, but sometimes "git add -f gradle/wrapper/gradle-wrapper.jar" might work.
I am however getting gradlew build errors like this:

C:\dev\EllaVator\sphinx4\sphinx4-core\src\main\java\edu\cmu\sphinx\alignment\USEnglishTokenizer.java:433: error: illegal character: '\u00a6'
text = text.replace('…', ' ');
^
C:\dev\EllaVator\sphinx4\sphinx4-core\src\main\java\edu\cmu\sphinx\alignment\USEnglishTokenizer.java:433: error: unclosed character literal
text = text.replace('…', ' ');
^
100 errors
:sphinx4:sphinx4-core:compileJava FAILED

FAILURE: Build failed with an exception.

Boyuan Deng
@bryandeng
Apparently Windows doesn't handle Unicode properly.
tastyminerals
@tastyminerals
it does not, did anybody try to compile it on win32?
tastyminerals
@tastyminerals
managed to fix this by adding environment variable JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
tastyminerals
@tastyminerals
I can't build the project for some reason unknown.
Here is the error
  • What went wrong:
    Execution failed for task ':expandGrammarEnglish'.
    Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value
tastyminerals
@tastyminerals
Who uses win8 and is able to build it?
psibre
@psibre
try this in the buildscript:
tasks.withType(Compile) {
  options.encoding = "UTF-8"
 }
tastyminerals
@tastyminerals
where should it be put in build.gradle?
psibre
@psibre
the allprojects block seems like the place, in case it affects more than one subproject
tastyminerals
@tastyminerals
added into allprojects { } block, gradlew.bat reports an error:
  • What went wrong:
    A problem occurred evaluating root project 'EllaVator'.
    Could not find property 'Compile' on root project 'EllaVator'.
tastyminerals
@tastyminerals
Also, can you please tell me the root password for rasppi, I thought it was "Vator", but it is wrong
tastyminerals
@tastyminerals
tried tasks.withType(JavaCompile) (Compile was deprecated) but no luck
Jul 03, 2015 2:50:23 PM edu.cmu.sphinx.linguist.dictionary.TextDictionary allocate
INFO: Loading dictionary from: jar:file:/C:/dev/EllaVator/sphinx4/sphinx4-data/build/libs/sphinx4-data.jar!/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict
Jul 03, 2015 2:50:23 PM edu.cmu.sphinx.linguist.dictionary.TextDictionary allocate
INFO: Loading filler dictionary from: jar:file:/C:/dev/EllaVator/sphinx4/sphinx4-data/build/libs/sphinx4-data.jar!/edu/cmu/sphinx/models/en-us/en-us/noisedict
Exception in thread "main" java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(URL.java:593)
at java.net.URL.<init>(URL.java:483)
at java.net.URL.<init>(URL.java:432)
at edu.cmu.sphinx.util.props.ConfigurationManagerUtils.resourceToURL(ConfigurationManagerUtils.java:488)
at edu.cmu.sphinx.jsgf.JSGFGrammar.<init>(JSGFGrammar.java:196)
at JsgfExpander.expandGrammar(JsgfExpander.java:50)
at JsgfExpander.expandGrammarToFile(JsgfExpander.java:28)
at JsgfExpander.main(JsgfExpander.java:21)
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
:expandGrammarEnglish FAILED
tastyminerals
@tastyminerals
today I tried to run SerialController test file on a rasppi instance. I created a jar with mainclass: SerialController. java -jar build/lib/EllaVator.jar failed to run it reporting with "NoClassDefFoundError" for pi4j SerialPortException. I looked into the compiled jar file and saw no presence of SerialPortException.class of course. I also looked through the project files and could not find pi4j source files anywhere. As I understand gradle should be able to take care of things like this. How do you correctly build the jar then?
tastyminerals
@tastyminerals
Hi guys, I can't register for this course in hispos. I found "1523 Software project: Spoken Dialogue Systems" but when I click on the link nothing happens :(
Boyuan Deng
@bryandeng
Today I got my membership for Git Large File Storage. https://git-lfs.github.com/
I think it's ideal for our needs to store some language model files.
tastyminerals
@tastyminerals
Ingmar can you please write instructions of how to compile a runnable jar file with all deps inside. It's been a second time that I try to compile a jar and gradlew build something funny into it, like classes without any dependecies destined never to run.
tastyminerals
@tastyminerals
So. right now when I run ./gradlew jar, it creates a jar with "edu", "grammar_de", "grammar_en" and "META-INF" folders and our main classes which won't work obviously. I thought gradle automatically includes the required dependencies.
psibre
@psibre
@bryandeng I've been playing around with LFS on MPI's GH Enterprise instance, but have some issues with the open-source client -- can't authenticate
@tastyminerals you want something like the gradle-shadow-plugin; have a look at https://github.com/marytts/marytts-txt2wav/blob/gradle/build.gradle for a usage example
tastyminerals
@tastyminerals
I am trying to write .tex file but getting "Emergency stop" error upon compilation of main_project_report_file.tex for the following line: Baudrate\footnote{https://en.wikipedia.org/wiki/Serial_port#Speed} (using 115200 as default).
I assume it does not like the dot in the url, but gradle.tex file has the same notation and does not fail. What is wrong with my file I wonder.
psibre
@psibre
TeX needs to have the _ escaped. You'd do better to use the \url command though, then you don't have to worry about that.
tastyminerals
@tastyminerals
ok. thanks
btw, we managed to establish connection with the elevaor, so RXTX implementation works and today we remote controlled it a little from our laptop. Tomorrow rasp pi
naszka
@naszka
hey, all the files that are necessary for the confidence score are not included in the version of sphinx that we are using, but i found a lot of github folders where it is there. e.g : https://github.com/pcalcado/cmu-sphinx4
tastyminerals
@tastyminerals
@psibre Hi Ingmar, we are trying to assemble the project and currently I am running into an error when running opendialdemo
[OpenDial] INFO: Module ModuleElla successfully attached
[OpenDial] INFO: Module AudioModule successfully attached
[OpenDial] INFO: Acoustic model: resource:/edu/cmu/sphinx/models/en-us/en-us
[OpenDial] INFO: Dictionary: resource:/grammar_en/ella_en.dict
[OpenDial] INFO: Recognition grammar: resource:/grammar_en/compact_gram.gram
[OpenDial] SEVERE: cannot read xml file: java.io.FileNotFoundException: resources/Domain_Opendial_Ella.xml (No such file or directory)
The file exists in the folder.