Code example for SuggestionsInfo

0
            { 
            	if (DBG)
            	{ 
            		Log.d(TAG, "in dictionary time: " + (System.currentTimeMillis() - startTime) + "ms");
            	} 
            	return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY, new String[]{});
            } 
            String[] suggestions = hunspell.getSuggestions(input);
            if (DBG)
        	{ 
        		Log.d(TAG, suggestions.length + " suggestions time: " + (System.currentTimeMillis() - startTime) + "ms");
        	} 
            return new SuggestionsInfo(SuggestionsInfo.RESULT_ATTR_LOOKS_LIKE_TYPO, suggestions);
        } 
    } 
}