void function ( ) { enabledLevels = ( ArrayList < Integer > ) loadObject ( LEVEL_DATA , new ArrayList < Integer > ( ) ) ; voice = ( String ) loadObject ( VOICE_DATA , Festival . DEFAULT ) ; wordData = ( ArrayList < ArrayList < Word >> ) loadObject ( WORD_DATA , new ArrayList < ArrayList < Word >> ( ) ) ; if ( wordData . isEmpty ( ) ) { initialiseWordData ( ) ; } }
loadall existing data from file or initialize if no file exists concode_field_sep String voice concode_elem_sep File VOICE_DATA concode_elem_sep File LEVEL_DATA concode_elem_sep ArrayList<Integer> enabledLevels concode_elem_sep File WORD_DATA concode_elem_sep ArrayList<ArrayList<Word>> wordData concode_field_sep int highestLevelEnabled concode_elem_sep void enableLevel concode_elem_sep void addWordList concode_elem_sep void saveAll concode_elem_sep ArrayList<ArrayList<Word>> getWordData concode_elem_sep void resetStats concode_elem_sep void initialiseWordData concode_elem_sep Object loadObject concode_elem_sep String getVoice concode_elem_sep void delete concode_elem_sep void saveObject concode_elem_sep void setVoice