protected LinesToCharsResult diff_wordsToChars(String text1,String text2){
  List<String> lineArray=new ArrayList<String>();
  Map<String,Integer> lineHash=new HashMap<String,Integer>();
  lineArray.add("");
  String chars1=diff_wordsToCharsMunge(text1,lineArray,lineHash);
  String chars2=diff_wordsToCharsMunge(text2,lineArray,lineHash);
  return new LinesToCharsResult(chars1,chars2,lineArray);
}

protected LinesToCharsResult diff_wordsToChars ( String text1 , String text2 ) { List < String > lineArray = new ArrayList < String > ( ) ; Map < String , Integer > lineHash = new HashMap < String , Integer > ( ) ; lineArray . add ( "" ) ; String chars1 = diff_wordsToCharsMunge ( text1 , lineArray , lineHash ) ; String chars2 = diff_wordsToCharsMunge ( text2 , lineArray , lineHash ) ; return new LinesToCharsResult ( chars1 , chars2 , lineArray ) ; }
split two texts into a list of strings . reduce the texts to a string of hashes where each unicode character represents one word .
