def CountWordErrors(ocr_text, truth_text):
 return CountErrors(ocr_text.split(), truth_text.split())

def CountWordErrors ( ocr_text , truth_text ) : return CountErrors ( ocr_text . split ( ) , truth_text . split ( ) )
counts the word drop and add errors as a bag of words .