Patent Document ID: 9606990
Application ID: 14817345

Base Claim:
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.

---

Claim 6:
6. The method of claim 1 , wherein analyzing the segment to determine whether the segment contains computer code comprises applying one or more code segment detection rules and patterns, for one or more computer programming languages, to content of the segment to determine if the segment contains computer code.