×

Classification of transcripts by sentiment

  • US 10,432,789 B2
  • Filed: 02/09/2017
  • Issued: 10/01/2019
  • Est. Priority Date: 02/09/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method for classifying a sentiment of a dialog transcript, the method comprising:

  • training a lexicon, wherein the training comprises;

    receiving a training set of dialog transcripts;

    splitting the training set into a negative set and a non-negative set based on a seed;

    identifying n-grams in the dialog transcripts;

    computing, for each n-gram, a polarity score that corresponds to the likelihood of the n-gram having either a negative or a non-negative sentiment, wherein the computing the polarity score for a particular n-gram comprises comparing the frequency of the particular n-gram in the negative set to the frequency of the particular n-gram in the non-negative set;

    identifying prominent n-grams based on each n-gram'"'"'s polarity score;

    expanding the lexicon by adding the prominent n-grams, which are not already in the lexicon, to the lexicon; and

    repeating the splitting, computing, identifying, and expanding for a plurality of iterations to obtain a trained lexicon, wherein the splitting for each iteration uses the expanded lexicon from the previous iteration; and

    classifying the sentiment of the dialog transcript using the trained lexicon wherein the classifying comprises;

    receiving a dialog transcript;

    selecting an utterance in the dialog transcript;

    identifying n-grams in the utterance;

    obtaining a polarity score for each n-gram using the trained lexicon;

    determining the utterance is negative or non-negative based, at least, on the polarity scores for each n-gram;

    repeating the selecting, identifying, computing, and determining for other utterances in the dialog transcript; and

    distinguishing the sentiment of the dialog transcript as negative or non-negative based on the negative or non-negative utterances determined in the dialog transcript.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×