WARNING:polyglot.detect.base:Detector is not able to detect the language reliably.
Hi, thanks for reading my comments. When I run python in script, how to ignore this alarm message, I added "warnings.filterwarnings ('ignore')", but it didn't work.
Did you find a way to get rid of the warning? If yes, would you mind sharing? Thanks.
I am having the same issue here.
Guys... Just a quick look at the code in the repo and you are set...
from polyglot.detect.base import logger as polyglot_logger
polyglot_logger.setLevel("ERROR")
But does this warning carries any meaning that we should attend to? I got it while testing a 2 tokens Hebrew text though the confidence level (93) seems on par with other languages that I tested (for example 94 for a French Test). For a 4 tokens text I got 97 confidence for Hebrew without the warning. I'm just wandering if I should pay attention in the future, thanks
@marrrcin that should be documented