I'm currently working with a Sphinx application that transcribes all audio files in a given folder. Currently, the program prints messages similar to the following to the console:
13:41:30.509 INFO Loading dictionary from: /home/ben/Desktop/transcriber/custom_dictionary
13:41:30.865 INFO Loading filler dictionary from: /home/ben/Desktop/transcriber/eclipse_project/lib/WSJ_8gau_13dCep_8kHz_31mel_200Hz_3500Hz.jar!/WSJ_8gau_13dCep_8kHz_31mel_200Hz_3500Hz/noisedict
13:41:31.459 INFO unitManager CI Unit: *+AH+
...
13:41:33.106 INFO wsjLoader Sphinx3Loader
...
13:41:33.109 INFO wsj CompositeSenoneSequences: 0
13:41:43.767 INFO lexTreeLinguist Max CI Units 55
13:41:43.767 INFO lexTreeLinguist Unit table size 166375
where the dots (...) represent similar outputs. I understand that these are not warnings or errors, but rather informative messages. However, I don't want them printed to the console. As a quick note, I'm using the latest version of the cmudict dictionary, but I added some words to it. The acoustic model I'm using is WSJ 8kHz.
I searched for similar posts in these forums, and tried adding the following property at the very top of my configuration file:
<property name="logLevel" value="OFF"></property>
However, I'm still getting the same messages printed to the console.
Could anyone please let me know how to avoid having these messages printed to the console?
Thanks a lot in advance,
-Ben
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If there is later a same property with value INFO, they may interact with each other. Also it's possible that you didn't update config file in the jar.
So I would doublecheck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your reply, Nickolay. I run my code form Eclipse, and I always make sure that I'm pointing to the latest configuration file. I also checked if the same property is repeated in the configuration, and that's not the case.
I should add that this problem ONLY happens when I run my code in Ubuntu. When I run it in Mac OS X (on the same recordings), I don't get any messages printed to the console once I set logLevel to OFF.
I thought I would post my full configuration file, in case you spot something that I'm missing. Thanks a lot in advance!
I should add that this problem ONLY happens when I run my code in Ubuntu. When I run it in Mac OS X (on the same recordings), I don't get any messages printed to the console once I set logLevel to OFF.
It should be Ubuntu Java issue then. I recommend to use Oracle Java, not other variants which might be distributed with Ubuntu.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm currently working with a Sphinx application that transcribes all audio files in a given folder. Currently, the program prints messages similar to the following to the console:
13:41:30.509 INFO Loading dictionary from: /home/ben/Desktop/transcriber/custom_dictionary
13:41:30.865 INFO Loading filler dictionary from: /home/ben/Desktop/transcriber/eclipse_project/lib/WSJ_8gau_13dCep_8kHz_31mel_200Hz_3500Hz.jar!/WSJ_8gau_13dCep_8kHz_31mel_200Hz_3500Hz/noisedict
13:41:31.459 INFO unitManager CI Unit: *+AH+
...
13:41:33.106 INFO wsjLoader Sphinx3Loader
...
13:41:33.109 INFO wsj CompositeSenoneSequences: 0
13:41:43.767 INFO lexTreeLinguist Max CI Units 55
13:41:43.767 INFO lexTreeLinguist Unit table size 166375
where the dots (...) represent similar outputs. I understand that these are not warnings or errors, but rather informative messages. However, I don't want them printed to the console. As a quick note, I'm using the latest version of the cmudict dictionary, but I added some words to it. The acoustic model I'm using is WSJ 8kHz.
I searched for similar posts in these forums, and tried adding the following property at the very top of my configuration file:
<property name="logLevel" value="OFF"></property>
However, I'm still getting the same messages printed to the console.
Could anyone please let me know how to avoid having these messages printed to the console?
Thanks a lot in advance,
-Ben
In config file find
and change to
Hi Nickolay,
Thanks for your reply. Sorry, but my original post was incomplete. I meant:
I searched for similar posts in these forums, and tried adding the following property at the very top of my configuration file:
However, I'm still getting the same messages printed to the console. Shouldn't this line completely disable any log printing to the console?
Thanks,
-Ben
If there is later a same property with value INFO, they may interact with each other. Also it's possible that you didn't update config file in the jar.
So I would doublecheck.
Thanks for your reply, Nickolay. I run my code form Eclipse, and I always make sure that I'm pointing to the latest configuration file. I also checked if the same property is repeated in the configuration, and that's not the case.
I should add that this problem ONLY happens when I run my code in Ubuntu. When I run it in Mac OS X (on the same recordings), I don't get any messages printed to the console once I set logLevel to OFF.
I thought I would post my full configuration file, in case you spot something that I'm missing. Thanks a lot in advance!
It should be Ubuntu Java issue then. I recommend to use Oracle Java, not other variants which might be distributed with Ubuntu.