-
Notifications
You must be signed in to change notification settings - Fork 0
Features
Sebastian edited this page Jul 6, 2020
·
4 revisions
- Input comes from a
.txtfile, containing words that are separated by a newline - For each word string, the app makes an API call to the Urban Dictionary API
- The definition and the example sentence are extracted from the response
- Together with the word, they are compiled into a
Wordobject - The result is stored into a list
- The progress should be displayed in the same line
- The list of
Wordobjects are dumped into.txtfile
The progress is displayed with the following format
██████░░░░░░ (
items_done/total_items) | Last finished the wordword.
- The
txtfile should be editable- Permitted operations:
add,delete, andcheck
- Permitted operations:
- Changes to the set should also be propagated to the input
txtfile
- This operations should add a new word if the word is not in the set
- The new word should be a single word
- The new word should not contain special characters
- This operations should remove a word if the word is in the set
- This operation should tell if the word is in the set