# US 2021/0064818 A1 · Apparatus for extracting syntax and electronic apparatus including the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0064818 A1
- Document ID: US20210064818A1
- Status: Published application
- Kind: A1
- Application number: 17/003,837
- Filed: 2020-08-26
- Published: 2021-03-04
- Earliest claimed: 2019-08-30
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Hangyeol SUN; Youngwook Kim; Hyeyoung Kim
- Web page: https://patentgrep.com/patent/US20210064818A1

## CPC

- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are an apparatus for extracting a syntax and an electronic apparatus including the same. The apparatus for extracting a syntax and the electronic apparatus including the same according to embodiments of the present disclosure include a communicator to receive data or transmit data through an external network and a processor to collect text data through the communicator and extract a core syntax based on the collected text data, and the processor collects the text data from a server to provide a social network service through the external network, extracts a sentence from the collected text, and extracts a core syntax based the extracted sentence and a prestored syntax rule. As a result, the text is collected from the server of the social network service to extract effectively extract the core syntax from the collected text.

## Claims

### Claim 1

An apparatus for extracting a syntax, the apparatus comprising:
a communicator to receive data or transmit data through an external network; and
a processor to collect text data through the communicator and extract a core syntax based on the collected text data,
wherein the processor collects the text data from a server to provide a social network service through the external network, extracts a sentence from the collected text, and extracts the core syntax based on the extracted sentence and a prestored syntax rule.

### Claim 2 (depends on 1)

The apparatus for extracting a syntax of claim 1, wherein in case in which the processor extracts the sentence from the collected text and a small sentence is included in the extracted sentence, the processor extracts the small sentence and extracts the core syntax based on the extracted small sentence.

### Claim 3 (depends on 2)

The apparatus for extracting a syntax of claim 2, wherein in case in which the text is English, the processor extracts an adjective or noun phrase following a verb in the small sentence as the core syntax based on the stored syntax rule.

### Claim 4 (depends on 2)

The apparatus for extracting a syntax of claim 2, wherein in case in which the text is English, the processor extracts the adjective and a prepositional phrase, the adjective and a that clause, or the adjective and a to infinitive as the core syntax based on the stored syntax rule.

### Claim 5 (depends on 1)

The apparatus for extracting a syntax of claim 1, wherein in case in which the processor extracts the sentence from the collected text and the small sentence is not included in the extracted sentence, the processor immediately extracts the core syntax from the extracted sentence.

### Claim 6 (depends on 1)

The apparatus for extracting a syntax of claim 1, further comprising:
a memory to store the syntax rule,
wherein the processor is configured to update the syntax rule.

### Claim 7 (depends on 1)

The apparatus for extracting a syntax of claim 1, wherein the processor extracts a dependency relationship in the collected text, extracts a comma or period, and extracts at least one sentence from the collected text based on the extracted dependency relationship, comma, or period.

### Claim 8 (depends on 1)

The apparatus for extracting a syntax of claim 1, wherein the processor is configured to output the extracted core syntax to the outside.

### Claim 9 (depends on 1)

The apparatus for extracting a syntax of claim 1, wherein the processor includes a text collector to collect the text data from the server providing the social network service through the external network,
a text information extractor to extract the sentence from the collected text, and
a core syntax extractor to extract the core syntax based on the extracted sentence and the prestored syntax rule.

### Claim 10 (depends on 9)

The apparatus for extracting a syntax of claim 9, wherein the processor further includes a small sentence extractor to extract the small sentence from the extracted sentence, and
the core syntax extractor extracts the core syntax based on the extracted small sentence and the syntax rule.

### Claim 11

An electronic apparatus comprising:
a communicator to receive data or transmit data through an external network; and
a processor to collect text data through the communicator and extract a core syntax based on the collected text data,
wherein the processor collects the text data from a server to provide a social network service through the external network, extracts a sentence from the collected text, and extracts the core syntax based on the extracted sentence and a prestored syntax rule.

### Claim 12 (depends on 11)

The electronic apparatus of claim 11, wherein in case in which the processor extracts the sentence from the collected text and a small sentence is included in the extracted sentence, the processor extracts the small sentence and extracts the core syntax based on the extracted small sentence.

### Claim 13 (depends on 12)

The electronic apparatus of claim 12, wherein in case in which the text is English, the processor extracts an adjective or noun phrase following a verb in the small sentence as the core syntax based on the stored syntax rule.

### Claim 14 (depends on 12)

The electronic apparatus of claim 12, wherein in case in which the text is English, the processor extracts the adjective and a prepositional phrase, the adjective and a that clause, or the adjective and a to infinitive as the core syntax based on the stored syntax rule.

### Claim 15 (depends on 11)

The electronic apparatus of claim 11, wherein in case in which the processor extracts the sentence from the collected text and the small sentence is not included in the extracted sentence, the processor immediately extracts the core syntax from the extracted sentence.

### Claim 16 (depends on 11)

The electronic apparatus of claim 11, further comprising:
a memory to store the syntax rule,
wherein the processor updates the syntax rule.

### Claim 17 (depends on 11)

The electronic apparatus of claim 11, wherein the processor extracts a dependency relationship in the collected text, extracts a comma or period, and extracts at least one sentence from the collected text based on the extracted dependency relationship, comma, or period.

### Claim 18 (depends on 11)

The electronic apparatus of claim 11, wherein the processor is configured to output the extracted core syntax to the outside.

### Claim 19 (depends on 11)

The electronic apparatus of claim 11, wherein the processor includes a text collector to collect the text data from the server providing the social network service through the external network,
a text information extractor to extract the sentence from the collected text, and
a core syntax extractor to extract the core syntax based on the extracted sentence and the prestored syntax rule.

### Claim 20 (depends on 19)

The electronic apparatus of claim 19, wherein the processor further includes a small sentence extractor to extract the small sentence from the extracted sentence, and
the core syntax extractor extracts the core syntax based on the extracted small sentence and the syntax rule.
