1. A method comprising: selecting candidate multi-word phrases from a set of words, wherein a maximum number of candidate multi-word phrases is based on a highest of a number of preceding contexts, a number of candidate fragments, and a number of call-types; using a semantic similarity and a syntactic similarity in the candidate multi-word phrases to generate semantic measurements and syntactic measurements associated with a succeeding context of a succeeding phrase and a preceding context of a preceding phrase; and clustering, via a processor, the candidate multi-word phrases into a grammar fragment based on the semantic measurements and the syntactic measurements, to yield a clustered grammar fragment representing similar phrases that are both syntactically and semantically coherent.