1. On a computing device, a method of detecting phrase confusion risk in a proposed speech grammar for a computer program, the method comprising: providing a speech grammar development tool configured to receive input of a text representation of each of a plurality of proposed speech grammar terms, for each proposed speech grammar term, convert the text representation to a phonetic representation of the speech grammar term and compare the phonetic representation of the speech grammar term to the phonetic representations of other speech grammar terms using a weighted similarity matrix, and provide an output regarding risk of confusion between two proposed speech grammar terms based upon a comparison of the phonetic representations of the two proposed speech grammar terms; receiving data regarding incorrect speech grammar term identification; and modifying one or more weights in the weighted similarity matrix based upon the data.