Hola,
he estado bastante desconectado del lego :| pero ahora estoy con un tema bastante interesante con el NXT.
Se trata de ROILA (aquí más info https://roila.org (https://roila.org) )
La parte que me tiene pensando es la siguiente:
https://roila.org/installation/sphinx-4-speech-recognizer/ (https://roila.org/installation/sphinx-4-speech-recognizer/)
Consigo sacar la primera parte y que me lea 1 2 3 4 5 del archivo .wav que viene en este tutorial
https://www.bakuzen.com/?p=4 (https://www.bakuzen.com/?p=4)
Pero a partir de aquí, Setting up the XML Configuration file, para configurar el lenguaje que utiliza y definir el tuyo propio, en el eclipse al cambiar el archivo roila.config.xml, me sale el siguiente error al ejecutar el archivo.
CitarLoading Recognizer...
class not found !java.lang.ClassNotFoundException: edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model
Exception in thread "main" Property Exception component:'lexTreeLinguist' property:'acousticModel' - mandatory property is not set!
edu.cmu.sphinx.util.props.InternalConfigurationException
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:292)
at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.newProperties(LexTreeLinguist.java:241)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:430)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:280)
at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.newProperties(WordPruningBreadthFirstSearchManager.java:175)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:430)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:280)
at edu.cmu.sphinx.decoder.AbstractDecoder.newProperties(AbstractDecoder.java:52)
at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:31)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:430)
at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:280)
at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:78)
at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:430)
at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:163)
at prueba.BTsend.main(BTsend.java:22)
A ver si a alguno se le ocurre que puede ser, porque no encuentro el error por ningún lado :-\
Si alguien quiere instalarlo y trastear con él (lo recomiendo porque es muy interesante) que se baje la version .bin y .src beta 2 o 3, como pone ahí uno de los autores.
Saludos!