I have created a project in java to recognize words in english following a tutorial, iam using jar files not maven. So there is a function calles 'setAcousticModelPath' that sets the acoustic model. Now i want to load a spanish model to recognize words but i dont undestand the parametter "resource:/edu/cmu/sphinx/models/en-us/en-us", where the resource comes from, i dont undestand that path. If anyone could help i would be glad.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have created a project in java to recognize words in english following a tutorial, iam using jar files not maven. So there is a function calles 'setAcousticModelPath' that sets the acoustic model. Now i want to load a spanish model to recognize words but i dont undestand the parametter "resource:/edu/cmu/sphinx/models/en-us/en-us", where the resource comes from, i dont undestand that path. If anyone could help i would be glad.
Resources are files inside the jar, relative to the classpath. You can learn more here:
https://docs.oracle.com/javase/8/docs/technotes/guides/lang/resources.html