move lookup of all subphrases into PhraseDictionary class