I'm using the LaMachine virtual environment on Ponyland
classifier = timbl.TimblClassifier("pl_type.master", "-mO:I1 -k 5 -G 0")
Should return probability distribution that adds up to 1, but ...
classifier.classify(("administrateur", "n", "i", "=", "str", "a", "=", "t", "|", "r", "-", "-", "+", "r"))
returns:
{'EN': 1, 'S': 1}
But the same classifier returns the correct distribution if the test() method is used instead:
{ EN 0.0526316, S 0.947368 }