public Word[] getAlternatives(Word word) {
		String str = word.getWord().toLowerCase();
		int n = str.length();

		Word[] result = new Word[53*(n+1) + 25];
		StringBuilder sb;
		StringBuilder sb2;
		int add = 0;

		//Deletion
		for(int i = 0; i < n; i++){
			sb = new StringBuilder(str);
			result[add++] = new Word(sb.deleteCharAt(i).toString());
		}
		//Transpose
		for(int i = 0; i < n-1; i++){
			sb = new StringBuilder(str);
			char temp = str.charAt(i+1);
			sb2 = sb.replace(i+1, i+2, str.charAt(i)+"");
			sb2 = sb.replace(i, i+1, temp + "");
			result[add++] = new Word(sb2.toString());
		}

		//Substitute
		for(int i = 0; i < n; i++){
			for(int j = 97; j<123; j++){
				if(str.charAt(i) == (char)j)
					continue;
				sb = new StringBuilder(str);
				char c = (char)j;
				String insert = "" + c;
				sb2 = sb.replace(i, i+1, insert);
				result[add++] = new Word(sb2.toString());
			}
		}
		//Insertion
		for(int i = 0; i<n+1; i++){
			for(int j = 97; j<123; j++){
				sb = new StringBuilder(str);
				char c = (char) j;
				sb2 = sb.insert(i, c);
				result[add++] = new Word(sb2.toString());
			}
		}

		return result;
	}