Sentiment Polarity Vector Construction for NLP Phrase Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current natural language processing methods struggle to accurately determine the sentiment polarity of new sentiment phrases, especially in languages like Chinese and Japanese, where phrases can be formed by combining multiple words, leading to a need for improved methods to analyze and update sentiment dictionaries efficiently.

Innovation Solution

A natural language processing method that determines the sentiment polarity of a phrase by calculating polarity characteristic vectors based on the polarity characteristic information of its constituent words, using a classifier to analyze and output the sentiment polarity, and automatically extends the sentiment dictionary by adding newly analyzed phrases, allowing for more accurate and user-configurable sentiment analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a sentiment dictionary is built using traditional methods, then existing sentiment phrases can be analyzed, but new sentiment phrases cannot be accurately determined

Engineering Contradiction:
Improvesentiment polarity determination accuracyVSAvoidability to handle new sentiment phrases
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The phrase is segmented into constituent words, and polarity characteristic information is extracted from each word individually. This segmentation allows the system to analyze new phrases by breaking them down into known word components, enabling accurate sentiment determination for previously unseen phrases.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension of analysis by creating polarity characteristic vectors that combine polarity characteristic values from multiple words. This vector-based approach transforms the problem from dictionary lookup to mathematical computation, enabling the system to handle new sentiment phrases through vector operations rather than requiring pre-existing dictionary entries.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Device complexity

If sentiment polarity is determined using word-level analysis, then processing is simplified, but phrase-level context is lost

Engineering Contradiction:
Improveprocessing complexityVSAvoidsentiment polarity determination accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent merges the polarity characteristic values from multiple individual words into a unified polarity characteristic vector for the entire phrase. This combining process preserves phrase-level context by considering the collective contribution of all constituent words, while maintaining computational simplicity through vector operations.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If a comprehensive sentiment dictionary is manually created, then coverage is improved, but maintenance becomes difficult as new phrases emerge

Engineering Contradiction:
Improvesentiment phrase coverageVSAvoiddictionary maintenance effort
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The system performs self-service by automatically determining the sentiment polarity of new phrases through computational methods rather than requiring manual dictionary updates. The polarity characteristic vectors are computed on-demand from constituent word information, enabling the system to adapt to new sentiment phrases without human intervention.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11630957B2Natural language processing method and apparatus
Publication Date: 2023.04.18 HUAWEI TECH CO LTD
  • US11630957B2 patent drawing
  • US11630957B2 patent drawing
  • US11630957B2 patent drawing

AI summary

A natural language processing method includes obtaining a to-be-processed phrase, where the to-be-processed phrase includes M words, determining polarity characteristic information of m to-be-processed words in the M words, where polarity characteristic information of an ith word in the m to-be-processed words includes n polarity characteristic values, and each polarity characteristic value corresponds to one sentiment polarity, determining a polarity characteristic vector of the to-be-processed phrase based on the polarity characteristic information of the m to-be-processed words, where the polarity characteristic vector includes n groups of components in a one-to-one correspondence with n sentiment polarities, and determining a sentiment polarity of the to-be-processed phrase based on the polarity characteristic vector of the to-be-processed phrase using a preset classifier, and outputting the sentiment polarity.