# US 2017/0293687 A1 · Evaluating text classifier parameters based on semantic features

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

- Number: US 2017/0293687 A1
- Document ID: US20170293687A1
- Status: Published application
- Kind: A1
- Application number: 15/157,722
- Filed: 2016-05-18
- Published: 2017-10-12
- Earliest claimed: 2016-04-12
- Assignees: ABBYY InfoPoisk LLC
- Applicants: ABBYY InfoPoisk LLC
- Inventors: Sergey Kolotienko; Konstantin Anisimovich
- Web page: https://patentgrep.com/patent/US20170293687A1

## CPC

- G06F 16/36: Creation of semantic tools, e.g. ontology or thesauri
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/226: Validation
- G06F 40/268: Morphological analysis
- G06F 40/30: Semantic analysis
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for evaluating text classifier parameters based on semantic features. An example method comprises: performing a semantico-syntactic analysis of a natural language text of a corpus of natural language texts to produce a semantic structure representing a set of semantic classes; identifying a natural language text feature to be extracted using a set of values of a plurality of feature extraction parameters; partitioning the corpus of natural language texts into a training data set comprising a first plurality of natural language texts and a validation data set comprising a second plurality of natural language texts; determining, in view of the category of the training data set, the set of values of the feature extraction parameters; validating the set of values of the feature extraction parameters using the validation data set.

## Claims

### Claim 1

A method, comprising:
performing, by a processing device, a semantico-syntactic analysis of a natural language text of a corpus of natural language texts to produce a semantic structure representing a set of semantic classes;
identifying a natural language text feature to be extracted from the semantic structure using a set of values of a plurality of feature extraction parameters;
partitioning the corpus of natural language texts into a training data set comprising a first plurality of natural language texts and a validation data set comprising a second plurality of natural language texts;
determining, in view of the category of the training data set, the set of values of the feature extraction parameters, by optimizing a function reflecting a number of natural language texts of the validation data set that are classified correctly by the text classifier model using the set of values of the feature extraction parameters; and
classifying the natural language text by applying the text classifier model using the set of values of the feature extraction parameters.

### Claim 2 (depends on 1)

The method of claim 1, wherein partitioning the corpus of natural language texts comprises cross-validating the first plurality of natural language texts and the second plurality of natural language texts.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
validating the set of values of the feature extraction parameters to produce a quasi-optimal set of values relative to a third plurality of natural language texts.

### Claim 4 (depends on 1)

The method of claim 1 wherein a feature extraction parameter of the plurality of feature extraction parameters comprises at least one of: a number of levels of a semantic hierarchy to be analyzed, an identifier of a semantic class, instances of which are to be detected in the natural language text, or a value of a certain semantic class attribute to be associated with an instance of the semantic class.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The method of claim 1, wherein classifying the input natural language text further comprises:
producing, by the text classifier model, a plurality of values, wherein each value reflects a degree of association of the input natural language text with a particular category of natural language texts;
associating the input natural language text with a category corresponding to an optimal value among the plurality of values.

### Claim at position 7

7-8. (canceled)

### Claim 9

A method, comprising:
performing, by a processing device, a semantico-syntactic analysis of a natural language text of a corpus of natural language texts to produce a semantic structure representing a set of semantic classes;
identifying a text classifier model associated with a set of values of a plurality of hyper-parameters;
partitioning the corpus of natural language texts into a training data set comprising a first plurality of natural language texts and a validation data set comprising a second plurality of natural language texts;
determining, in view of the training data set, the set of values of the hyper-parameters of the text classifier model, by optimizing a function reflecting a number of natural language texts of the validation data set that are classified correctly by the text classifier model using the set of values of the hyper-parameters; and
classifying the natural language text by applying, to the semantic structure, the text classifier model using the set of values of the hyper-parameters.

### Claim 10 (depends on 9)

The method of claim 9, wherein partitioning the corpus of natural language texts comprises cross-validating the first plurality of natural language texts and the second plurality of natural language texts.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
validating the set of values of the feature extraction parameters to produce a quasi-optimal set of values relative to a third plurality of natural language texts.

### Claim 12 (depends on 9)

The method of claim 9, wherein a hyper-parameter of the plurality of hyper-parameters comprises at least one of: a regularization parameter of a classifier model or a number of nearest neighbors to be analyzed by the text classifier model.

### Claim 13

(canceled)

### Claim 14 (depends on 9)

The method of claim 9, wherein classifying the input natural language text further comprises:
producing, by the text classifier model, a plurality of values, wherein each value reflects a degree of association of the input natural language text with a particular category of natural language texts;
associating the input natural language text with a category corresponding to an optimal value among the plurality of values.

### Claim at position 14

15-16. (canceled)

### Claim 17

A system, comprising:
a memory;
a processor, coupled to the memory, the processor configured to:
perform a semantico-syntactic analysis of a natural language text of a corpus of natural language texts to produce a semantic structure representing a set of semantic classes;
identify a natural language text feature to be extracted from the semantic structure using a set of values of a plurality of feature extraction parameters;
partition the corpus of natural language texts into a training data set comprising a first plurality of natural language texts and a validation data set comprising a second plurality of natural language texts;
determine, in view of the category of the training data set, the set of values of the feature extraction parameters, by optimizing a function reflecting a number of natural language texts of the validation data set that are classified correctly by the text classifier model using the set of values of the feature extraction parameters; and
classify the natural language text by applying the text classifier model using the set of values of the feature extraction parameters.

### Claim 18

(canceled)

### Claim 19

A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a computer system, cause the computer system to:
perform a semantico-syntactic analysis of a natural language text of a corpus of natural language texts to produce a semantic structure representing a set of semantic classes;
identify a text classifier model associated with a set of values of a plurality of hyper-parameters;
partition the corpus of natural language texts into a training data set comprising a first plurality of natural language texts and a validation data set comprising a second plurality of natural language texts;
determine, in view of the training data set, the set of values of the hyper-parameters of the text classifier model, by optimizing a function reflecting a number of natural language texts of the validation data set that are classified correctly by the text classifier model using the set of values of the hyper-parameters; and
classify the natural language text by applying, to the semantic structure, the text classifier model using the set of values of the hyper-parameters.

### Claim 20

(canceled)

### Claim 21 (depends on 17)

The system of claim 17, wherein classifying the input natural language text further comprises:
producing, by the text classifier model, a plurality of values, wherein each value reflects a degree of association of the input natural language text with a particular category of natural language texts;
associating the input natural language text with a category corresponding to an optimal value among the plurality of values.

### Claim 22 (depends on 17)

The system of claim 17, wherein partitioning the corpus of natural language texts comprises cross-validating the first plurality of natural language texts and the second plurality of natural language texts.

### Claim 23 (depends on 1, 17)

The system of claim 17, The method of claim 1 wherein a feature extraction parameter of the plurality of feature extraction parameters comprises at least one of: a number of levels of a semantic hierarchy to be analyzed, an identifier of a semantic class, instances of which are to be detected in the natural language text, or a value of a certain semantic class attribute to be associated with an instance of the semantic class.

### Claim 24 (depends on 19)

The computer-readable non-transitory storage medium of claim 19, wherein classifying the input natural language text further comprises:
producing, by the text classifier model, a plurality of values, wherein each value reflects a degree of association of the input natural language text with a particular category of natural language texts;
associating the input natural language text with a category corresponding to an optimal value among the plurality of values.

### Claim 25 (depends on 19)

The computer-readable non-transitory storage medium of claim 19, wherein partitioning the corpus of natural language texts comprises cross-validating the first plurality of natural language texts and the second plurality of natural language texts.

### Claim 26 (depends on 19)

The computer-readable non-transitory storage medium of claim 19, wherein a hyper-parameter of the plurality of hyper-parameters comprises at least one of: a regularization parameter of a classifier model or a number of nearest neighbors to be analyzed by the text classifier model.
