Patent ID: 8700997
Filing Date: 2014-04-15
Classification: G06F

Abstract:
1. A system for spellchecking source code files, the system comprising: a memory for storing a source code file, and a list of candidate delimiters; a processor coupled to the memory, the processor being configured to: select a first delimiter from the list of candidate delimiters; process the source code file to identify a first string in the source code file that is delimited at least in part by the first delimiter; check spelling of the first string to identify a first set misspelled words in the first string; determine whether the first string meets a predetermined criterion, the predetermined criterion being based on a characteristic of a first set of misspelled words; in response to determining that the first string fails to meet the predetermined criterion, select a second delimiter from the list of candidate delimiters; process the source code file to identify a second string in the source code file that is delimited at least in part by the second delimiter; check spelling of the second string to identify a second set of misspelled words in the second string; when the second string satisfies the predetermined criterion, classify the second string as either natural language or programming language instructions, the classifying being based on a characteristic of the second set of misspelled words; and output indications of spelling mistakes in the second string only when the second string is classified as natural language.