def _get_root_from_cache(self, directory):
        if directory in self._roots_cache:
            return directory
        if os.path.dirname(directory) == directory:
            return None
        return self._get_root_from_cache(os.path.dirname(directory))
Basic method for tokenizing input into sentences
dataset/ETHPy150Open pindexis/qfc/qfc/dirhandler.py/CVSHandler._get_root_from_cache--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/tag/tnt.py/basic_sent_chop