def get_word_under_cursor(self, WORD=False):
        start, end = self.find_boundaries_of_current_word(WORD=WORD)
        return self.text[self.cursor_position + start: self.cursor_position + end]
Two ``DirectoryFilesystem`` instances are equal if they refer to the
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.get_word_under_cursor--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/test/test_filesystems_memory.py/DirectoryFilesystemTests.test_equality