add to the currentlist strings that are one character deletion away from the input string . concode_field_sep Dictionary dict concode_elem_sep int THRESHOLD concode_field_sep void insertions concode_elem_sep void subsitution concode_elem_sep List<String> suggestions concode_elem_sep void main concode_elem_sep List<String> distanceOne
void function ( String arg0 , List < String > arg1 , boolean arg2 ) { for ( int loc0 = 0 ; loc0 < arg0 . length ( ) ; loc0 ++ ) { StringBuilder loc1 = new StringBuilder ( arg0 ) ; loc1 . deleteCharAt ( loc0 ) ; if ( ! arg1 . contains ( loc1 . toString ( ) ) && ( ! arg2 || dict . isWord ( loc1 . toString ( ) ) ) && ! arg0 . equals ( loc1 . toString ( ) ) ) { arg1 . add ( loc1 . toString ( ) ) ; } } }