adding vectors to knownPhrases HashMap and sorting