Features - Android-Swarm/exploding-words-data GitHub Wiki
Processing String to Word Object
- 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
Progress Display
The progress is displayed with the following format
██████░░░░░░ (
items_done/total_items) | Last finished the wordword.
Word String Set Editing
- The
txtfile should be editable- Permitted operations:
add,delete, andcheck
- Permitted operations:
- Changes to the set should also be propagated to the input
txtfile
ADD operations
- 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
DELETE operations
- This operations should remove a word if the word is in the set
CHECK operations
- This operation should tell if the word is in the set