1. A method, in a data processing system comprising a processor and a memory, for processing natural language content comprising a computer code segment, the method comprising: processing, by the data processing system, the natural language content using a natural language processing (NLP) engine; identifying, by the data processing system, a segment of content within the natural language content that is not recognized by the NLP engine; analyzing, by the data processing system, the segment to determine whether the segment contains computer code; in response to determining that the segment contains computer code, generating, by the data processing system, one or more code segment annotations for the computer code, wherein the one or more code segment annotations provide a natural language description of functionality of the computer code in the segment; storing, by the data processing system, the one or more code segment annotations in association with the natural language content; and performing, by the data processing system, natural language processing, using the NLP engine, on the one or more code segment annotations to further process the natural language content.
1. A method, in a data processing system comprising a processor and a memory, for processing natural language content comprising a computer code segment, the method comprising: processing, by the data processing system, the natural language content using a natural language processing (NLP) engine; identifying, by the data processing system, a segment of content within the natural language content that is not recognized by the NLP engine; analyzing, by the data processing system, the segment to determine whether the segment contains computer code; in response to determining that the segment contains computer code, generating, by the data processing system, one or more code segment annotations for the computer code, wherein the one or more code segment annotations provide a natural language description of functionality of the computer code in the segment; storing, by the data processing system, the one or more code segment annotations in association with the natural language content; and performing, by the data processing system, natural language processing, using the NLP engine, on the one or more code segment annotations to further process the natural language content. 7. The method of claim 1 , wherein generating one or more code segment annotations for the computer code comprises performing a computer programming language detection operation on the computer code of the segment by matching at least one of key word, key phrase, computer language constructs, tags, formatting rules, or code patterns for one or more computer programming languages to elements of the computer code of the segment.