translator.py is used for translating a sentence gained from Google speech api to the sentence which can be further processed by our algorithm. Homophones and synonyms are substituted. Usage: sentence = self.translator.translate(sentence) dictionary.yaml specifies a set of homophones and synonyms for each word