added \d+ regexp for words
fixed confidence