Skip to content
Snippets Groups Projects
Commit e679aca8 authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Removed compatibility code and added menu options enum.

parent bfb917cb
Branches
Tags
No related merge requests found
from __future__ import print_function, division
from enum import Enum
from builtins import input
class MenuOption(Enum):
SHOW_REVIEW = 'Show a review'
SAVE_TOKEN_LIST = 'Save the token list to a file'
SHOW_DOCUMENT_FREQUENCY = 'Show the document frequency for a particular token'
SHOW_TOKEN_STATISTICS = 'Show all statistics for a particular token'
SHOW_SENTENCE_STATISTICS = 'Show the statistics for a sentence'
SAVE_STOP_WORD_LIST = 'Save the list of stop words to a file'
SHOW_ADJUSTED_SENTENCE_STATISTICS = 'Show the statistics for a sentence with stop words ignored'
EXIT = 'Exit the program'
def main():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment