Fragmented Text Sentence Completion for Chatbot Response Accuracy
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current chatbots struggle to provide optimal responses when users input queries in an atypical manner, such as dividing a sentence into several words, phrases, or clauses, rather than inputting a complete sentence.
Innovation Solution
An electronic device equipped with a communication interface, memory, and processor that can receive and combine text information, perform natural language understanding to identify completed sentences, and generate appropriate responses based on the understood intent.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the chatbot processes each word, phrase, or clause as a separate query, then the system can handle fragmented user inputs, but the response accuracy deteriorates because the system cannot understand the complete user intention
Solution Approach 1:
The system performs preliminary actions by storing received text information in memory before processing. When fragmented inputs are received, the system retains them in memory and waits for additional input that may complete the sentence, thereby preparing the complete context before generating a response. This resolves the contradiction by allowing the system to adapt to fragmented inputs while maintaining response accuracy through complete sentence processing.
Solution Approach 2:
The system introduces memory as an intermediary component between text reception and processing. The memory stores intermediate text information, allowing the system to bridge fragmented inputs into complete sentences before NLU processing. This intermediary mechanism enables the system to handle diverse input formats while ensuring accurate response generation based on complete contextual understanding.
2Measurement precision
If the system waits for complete sentence input before processing, then response accuracy improves, but the processing time increases due to waiting for additional user input
Solution Approach 1:
The system employs periodic checking to determine whether a complete sentence has been formed from fragmented inputs. Instead of continuously waiting or processing immediately, the system periodically evaluates the completeness of the accumulated text information using NLU. This periodic action balances response accuracy (by ensuring complete sentences are processed) with time efficiency (by not unnecessarily delaying processing).
3Speed
If the system processes text information immediately upon receipt, then the response speed improves, but the sentence completeness deteriorates leading to inaccurate understanding of user intention
Solution Approach 1:
The system performs preliminary storage of text information in memory before final processing. This preliminary action allows the system to quickly acknowledge receipt of input while deferring complete processing until sentence completeness is confirmed. The NLU module periodically checks stored information to determine when processing can proceed, thus maintaining both speed (quick acknowledgment) and completeness (accurate understanding).
Data Source
AI summary
Disclosed are an electronic device and a method for controlling an electronic device. The control method may include receiving first text information from an external device; based on second text information previously received from the external device being identified among text information stored in a memory of the electronic device, obtaining third text information by combining the first text information with the second text information; identifying whether the third text information is a completed sentence by performing natural language understanding using the third text information; based on identifying that the third text information is the completed sentence, obtaining at least one response to a user query included in the third text information based on the third text information; and transmitting the at least one response to the external device.


