public Word[] verboseAlternatives(Word wordizedSearch){
		int n = wordizedSearch.getWord().length();
		Word[] words = this.getAlternatives(wordizedSearch);

		if(dictionary.contains(wordizedSearch))
				return new Word[] {wordizedSearch};
		try{	
			FileWriter fw = new FileWriter(wordizedSearch.getWord() + ".txt");
			fw.write("User string: " + wordizedSearch.getWord() + "\r\n\r\n");
			//Deletions
			for(int i = 0; i < n; i++){
				fw.write("Deletion string: " + words[i].getWord() + "\r\n");
			}
			fw.write("Created " + n + " deletion alternatives\r\n\r\n");

			//Transposition
			for(int i = n; i < n+n-1; i++){
				fw.write("Transposition string: " + words[i].getWord() + "\r\n");
			}
			fw.write("Created " + (n-1) + " transposition alternatives\r\n\r\n");

			//Substitution
			int x = 25*n + 2*n - 1;//variable to shorten code
			for(int i = n+n-1; i < x; i++){
				fw.write("Substitution string: " + words[i].getWord() + "\r\n");
			}
			fw.write("Created " + 25*(n) + " substitution alternatives\r\n\r\n");

			//Insertion
			for(int i = x; i < 26*(n+1) + x; i++){
				fw.write("Insertion string: " + words[i].getWord() + "\r\n");
			}
			fw.write("Created " + 26*(n+1) + " insertion alternatives\r\n\r\n");


			fw.write("TOTAL: generated " + (53*wordizedSearch.getWord().length() + 25)+ " alternative spellings!");
			fw.close();
		}
		catch(Exception e){
			e.printStackTrace();
		}
		return words;
	}