Patent ID: 11907678
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A computer program product for a ChatOps system, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
receive a natural language input text from an end user;
tokenize the natural language input text into a plurality of word tokens;
calculate a part of speech (POS) density the plurality of word tokens in the input text;
calculate a knowledge density for the plurality of word tokens in the natural language input text;
calculate an information density for the plurality of word tokens in the natural language input text using the POS density and the knowledge density;
generate one or more corresponding sememes for one or more of the plurality of word tokens using their respective POS density and knowledge density;
attach the one or more corresponding sememes to the one or more of the plurality of word tokens; cluster the word tokens using the corresponding sememes;
determine a sense for the clustered word tokens;
divide the natural language input text into a plurality of smaller chunks by stop words, the plurality of smaller chunks including one or more word tokens having one or more corresponding sememes attached thereto;
merge the sense with the corresponding sememes to generate a semantic context for one of the chunks; generate a semantic context for one or more of the smaller chunks using the one or more corresponding sememes; and
translate the natural language input text into one or more executable commands using the semantic context, including using the semantic context to translate the chunks.