5. The computer-implemented method of claim 1 , wherein editing the text further comprises joining a first word and a second word that have been detected as separate entities, based on a vertical alignment between the first word and the second word and based on a horizontal distance between the end of the first word and the beginning of the second word.
5. The computer-implemented method of claim 1 , wherein editing the text further comprises joining a first word and a second word that have been detected as separate entities, based on a vertical alignment between the first word and the second word and based on a horizontal distance between the end of the first word and the beginning of the second word. 6. The computer-implemented method of claim 5 , wherein joining the first word and the second word comprises: verifying whether a vertical overlap between minimum bounding rectangles of the last character of the first word and first character of the second word is greater than a predefined percentage of a function of the rectangles' heights; verifying whether the horizontal distance between the end of the first word and the beginning of the second word is less than a predefined separation threshold, wherein the predefined separation threshold is a function of the heights of the characters in the first word and the second word; and inserting a space between the words if the horizontal distance is greater than the predefined separation threshold.