Semantic decomposition and word recognition