Algebraic-view-of-word-grammar