Grammatical category disambiguation by statistical optimization | Synapse