moved all code to learn heuristic nouns into HeuristicNounsLearner class