It takes 4.9 seconds on my computer to decode "one hundred and twenty". Code used is included below.
The Number element is a great one to have, allowing natural number dictation, but this kind of delay would be noticeable during dictation.
My impression is that it may be due to a large parse tree being generated for number recognition.
Enhancement in a later version to improve speed?
Jason
words = [("one", 1000000), etc...
start = time.clock()
r=Number(name="number")
s = state_.State(words, [], None) # <== may need to add engine here in last arg
s.initialize_decoding()
for result in r.decode(s):
if s.finished():
root = s.build_parse_tree()
Text(str(root.value()), pause=0).execute()
end = time.clock()
print "TIME: %.2gs" % (end-start)
return