×

Inferring type classifications from natural language text

  • US 9,880,997 B2
  • Filed: 09/05/2014
  • Issued: 01/30/2018
  • Est. Priority Date: 07/23/2014
  • Status: Active Grant
First Claim
Patent Images

1. A device, comprising:

  • an interface including one or more of a communication interface or a user interface;

    a memory; and

    one or more processors to;

    obtain, via the interface or from the memory, information identifying type classifications,each type classification, of the type classifications, indicating that terms classified under the type classification are expressed by a particular type of value of a plurality of types of values,the plurality of types of values including character strings and numeric values;

    obtain, via the interface, text to be processed to infer one or more type classifications, of the type classifications, associated with terms in the text,the text being included in a file associated with development of a computer program for a computer system, andeach respective term, of the terms, being associated with a plurality of different possible values of a same type classification of the one or more type classifications;

    standardize the text to prepare the text for processing by adjusting at least one character in the text of the file;

    process the text that has been standardized to identify terms in the text based on delimiting characters in the text;

    associate at least one tag with the identified terms in the text, the at least one tag being one or more of a part-of-speech tag, an entity tag, or a term tag;

    extract, based on the at least one tag associated with the terms, one or more terms, of the terms identified in the text, as unique terms for which to infer the one or more type classifications,a quantity of the unique terms being fewer than a quantity of the terms identified in the text;

    generate a data structure that stores the unique terms;

    perform one or more type classification techniques to infer the one or more type classifications corresponding to the unique terms,the one or more type classification techniques including at least one of;

    a name-based analysis that compares the unique terms to one or more sets of name-based type indicators corresponding to the one or more type classifications,a context-based analysis that compares one or more modifiers, that modify the unique terms, to one or more sets of context-based type indicators corresponding to the one or more type classifications,a synonym-based analysis that compares one or more synonyms, of the unique terms, to the one or more sets of name-based type indicators corresponding to the one or more type classifications, ora value-based analysis that compares one or more values, associated with the unique terms, to one or more sets of value-based type indicators corresponding to the one or more type classifications;

    classify the unique terms by assigning the one or more type classifications to the unique terms based on performing the one or more type classification techniques;

    provide, for display via the interface, information associated with development of the computer program,the information associated with development of the computer program indicating a type relationship between a particular term, of the unique terms, and a particular type classification of the one or more type classifications;

    receive, via the interface, a set of test data rules from a user or from another device;

    generate test data based on the set of test data rules,the test data including the unique terms to be classified, type classifications under which the unique terms are to be classified, and values for the unique terms;

    apply the test data to the computer program,the computer program being designed based on the text that was processed to infer one or more type classifications for the unique terms extracted from the text, andthe applying of the test data to the computer program includes input of the test data to the computer program and executing the computer program to;

    classify the test data to obtain a confidence score associated with the classifying a unique term, of the unique terms, under each of the type classifications determined to be associated with the unique term; and

    provide, for display to the user or to another device, the test data, the one or more type classifications generated from the test data, and the confidence score associated with the one or more type classifications.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×