A corpus-based children's language tone vocabulary recognition system and method

By establishing a children's language corpus and training a mood and emotion classification model, combined with semantic reconstruction to identify mood words in children's sentences, the problem of difficulty in identifying mood words under different emotions in the existing technology has been solved, and the recognition accuracy and understanding ability have been improved. .

CN118410797BActive Publication Date: 2024-09-17LINYI UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410873562.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-17
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

The existing technology is difficult to detect mood words based on the emotional elements in children's sentences, and it is difficult to accurately identify mood words under different emotions.

Method used

By establishing a children's language corpus, defining the focus including tone, emotion and semantics, training children's tone classification model and emotion classification model, performing tone vocabulary annotation and emotion classification, building a tone vocabulary recognition model, and combining semantic reconstruction and emotion classification models to conduct tone analysis. Vocabulary recognition.

Benefits of technology

It achieves more accurate recognition of tone words in different emotional states, improves the ability to automatically process and understand children's language, enhances the information richness of the corpus, and is suitable for language understanding and emotional analysis applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410797B
    Figure CN118410797B
Patent Text Reader

Abstract

The present invention discloses a corpus-based children's language tone vocabulary recognition system and method, which relates to the field of information recognition technology, and solves the technical problem that it is difficult to detect tone vocabulary in combination with emotional elements in children's sentences, and it is difficult to accurately recognize tone vocabulary under different emotions; it includes: a corpus establishment module, a focus definition module, a focus annotation module, a model construction module and a tone vocabulary recognition module; by training tone vocabulary recognition models in different emotion classifications, the model can more accurately recognize tone vocabulary under different emotional states; the trained tone vocabulary recognition model can have a certain adaptability, can process new children's sentences and accurately classify their tone, and improve the ability to automatically process and understand children's language. At the same time, the marked corpus can be used as the basic data for training the emotion analysis model, and is used to develop more complex and intelligent emotion recognition applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of information recognition, and in particular is a corpus-based children's language tone vocabulary recognition system and method. Background Art

[0002] Children's language has a unique expression style and emotional expression method, which is usually more direct and emotional than adult language. In order to better understand and analyze the tone characteristics in children's sentences, it is necessary to use large-scale children's corpus data for systematic research and processing. Traditional sentiment analysis and language understanding methods may have problems such as insufficient context understanding and misreading when processing children's language, so customized processing and analysis are required based on the characteristics of children's language. The corpus-based children's language tone vocabulary recognition and extraction system aims to identify and extract tone vocabulary in children's sentences to help understand and classify the expressions in children's language.

[0003] Since children's language is full of emotions and single, different emotions may have different modal vocabulary. However, most existing methods only detect and identify modal vocabulary in sentences. It is difficult to detect modal vocabulary in combination with the emotional elements in children's sentences, and it is difficult to accurately identify modal vocabulary under different emotions. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a corpus-based children's language mood vocabulary recognition system and method, which is used to solve the technical problems that it is difficult to detect mood vocabulary in combination with emotional elements in children's sentences and it is difficult to accurately identify mood vocabulary under different emotions.

[0005] To solve the above problems, the first aspect of the present invention provides a corpus-based children's language tone vocabulary recognition system, comprising:

[0006] Corpus building module: By collecting data from children's literature, children's educational materials and children's TV programs, and converting the collected data into text data, and cleaning the text data, a corpus of children's language is built; for example, children's literature, educational materials, children's TV program dialogues, etc. These corpora cover children of different ages and different styles of language expression;

[0007] Focus definition module: defines the focus points in the corpus, including tone, emotion, and semantics, and classifies the tone and emotion of sentences;

[0008] Focus point labeling module: It is used to add different tone labels and emotion labels to children's sentences in the corpus by training children's tone classification model and emotion classification model for children's language according to the classification of tone and emotion in the focus point;

[0009] Model building module: annotate the tone vocabulary of children's sentences in different emotion categories in the corpus, and train the tone vocabulary recognition model in different emotion categories through the children's sentences in different emotion categories after tone vocabulary annotating;

[0010] Tone vocabulary recognition module: semantically reconstruct the collected children's sentences, identify the emotions of the sentences through the sentiment classification model of the focus annotation module, input the sentences into the tone vocabulary recognition model in the corresponding sentiment classification for tone vocabulary recognition, extract the corresponding tone vocabulary information, and add it to the focus annotation module.

[0011] As a further solution of the present invention: the mood classification includes: declarative mood, affirmative mood, negative mood, interrogative mood and imperative mood;

[0012] Sentiment classification includes: positive sentiment classification, negative sentiment classification and neutral sentiment classification.

[0013] As a further solution of the present invention: a focus point marking module includes:

[0014] Tone labeling unit: used to build a vocabulary list of different tones, train a children's tone classification model through machine learning, and identify the tone classification of children's language in the corpus through the children's tone classification model;

[0015] Sentiment labeling unit: It is used to extract feature vectors of children's sentences, train sentiment classification models, and perform sentiment classification on children's sentences.

[0016] As a further solution of the present invention: the tone annotation unit establishes a vocabulary list of different tones, trains a child tone classification model through machine learning, and identifies the tone classification of children's language in the corpus through the child tone classification model, including the following steps:

[0017] Through NLP natural language processing technology, the sentences in the corpus are analyzed for dependency syntax, different types of children's mood vocabulary are identified, and mood vocabulary lists for declarative mood, affirmative mood, negative mood, interrogative mood and imperative mood are established respectively;

[0018] Annotate the sentences in the corpus with the tone of voice and assign one or more tone tags to each sentence;

[0019] For each sentence, count the occurrence frequencies of different tone words in the tone vocabulary list in sentences with different tone labels, and use the occurrence frequencies of different tone words in sentences with corresponding tone labels as tone features;

[0020] A children's tone classification model was established through support vector machine, and the children's tone classification model was trained through the tone vocabulary list and the tone features of sentences with different tone labels;

[0021] The tone classification of children's language in the corpus is identified through the children's tone classification model, and the sentences are annotated with tone tags.

[0022] As a further solution of the present invention, the emotion labeling unit extracts the feature vector of the children's sentences, trains the emotion classification model, and performs emotion classification on the children's sentences, including the following steps:

[0023] Establish a data set by obtaining emotion-labeled children's sentences;

[0024] Extract the emotion word feature vector, keyword feature vector and context feature vector of the children's sentences according to the emotion word features, keyword features and context features of the children's sentences in the data set, and merge the emotion feature vector, keyword feature vector and context feature vector to form the overall feature vector of the children's sentences;

[0025] Associating the overall feature vector with the sentiment annotation corresponding to the sentence;

[0026] The sentiment classification model is trained by the feature vector associated with the corresponding sentiment annotation;

[0027] Children's sentences were analyzed using a sentiment classification model.

[0028] As a further solution of the present invention: according to the sentiment word features, keyword features and context features of the children's sentences in the data set, sentiment word feature vectors, keyword feature vectors and context feature vectors are extracted from the children's sentences, including the following steps:

[0029] According to the sentiment word features, keyword features and context features of the children's sentences in the data set, sentiment word feature vectors, keyword feature vectors and context feature vectors are extracted from the children's sentences respectively;

[0030] Among them, the sentiment word feature extraction includes the following steps:

[0031] Extract emotional words from children's sentences through the AFINN emotional dictionary;

[0032] Calculate the sentiment value of the child's sentence based on the matched sentiment words and their sentiment polarity;

[0033] The extracted sentiment words and the sentiment values ​​of the corresponding children's sentences are used as sentiment word feature vectors.

[0034] Keyword feature extraction includes the following steps:

[0035] Extract keywords from children’s sentences using the TF-IDF keyword identification algorithm;

[0036] Calculate the weight of the keyword based on the frequency of occurrence of the keyword in the children's sentences;

[0037] The extracted keywords and corresponding weights are used as keyword feature vectors.

[0038] Context feature extraction includes the following steps:

[0039] Obtaining context information of children's sentences and calculating the sentiment value of the sentences in the context information;

[0040] Counting the sentiment values ​​of the sentences in the context information, and calculating the overall sentiment values ​​of the children's sentences in the context information;

[0041] The overall sentiment value of the children's sentences in the context information is converted into a context feature vector.

[0042] As a further solution of the present invention: counting the sentiment values ​​of the sentences in the context information and calculating the overall sentiment value of the children's sentences in the context information, including the following steps:

[0043] Start numbering from the sentence closest to the child's sentence in the previous or following information, and end with the sentence that is fifth from the corresponding child's sentence in the previous or following information, and the numbering is: {1, 2, 3, 4, 5};

[0044] Count the sentiment values ​​of sentences in context information;

[0045] The overall sentiment value of the children's sentences in the previous information is calculated by the sentiment value of the sentences in the previous information, and the overall sentiment value of the children's sentences in the following information is calculated by the sentiment value of the sentences in the following information, using the following formula:

[0046] ;

[0047] Among them, E is the overall sentiment value of the children's sentences, A1 is the sentiment value of the sentence numbered 1 in the previous or following information, A2 is the sentiment value of the sentence numbered 2 in the previous or following information, A3 is the sentiment value of the sentence numbered 3 in the previous or following information, A4 is the sentiment value of the sentence numbered 4 in the previous or following information, and A5 is the sentiment value of the sentence numbered 5 in the previous or following information.

[0048] As a further solution of the present invention: the model building module annotates the tone vocabulary of children's sentences in different emotion categories in the corpus, and trains the tone vocabulary recognition model in different emotion categories through the children's sentences in different emotion categories after the tone vocabulary is annotated, including the following steps:

[0049] Annotate the tone words of children's sentences in different emotion categories in the corpus;

[0050] Identify the parts of speech of the tone words marked in different emotion categories in the corresponding children's sentences;

[0051] Count the proportion of marked mood words identified as different parts of speech in different sentiment categories;

[0052] Through the children's sentences of different sentiment categories after tone vocabulary annotation, as well as the proportion data of tone vocabulary recognition as different parts of speech, the tone vocabulary recognition model in different sentiment categories is trained.

[0053] As a further solution of the present invention: the tone vocabulary recognition module includes:

[0054] Part-of-speech tagging unit: used to identify the part-of-speech of words in children's sentences through dependency syntax analysis, and to tag the part-of-speech of different words;

[0055] Semantic reconstruction unit: used to semantically reconstruct words of different parts of speech in a sentence according to the tone label and sentiment label corresponding to the sentence;

[0056] Tone vocabulary recognition unit: The emotion of the sentence is recognized through the emotion classification model of the focus annotation module, and the part-of-speech information of the child's sentence and the words in the sentence is input into the tone vocabulary recognition model in the corresponding emotion classification to perform tone vocabulary recognition;

[0057] Tone vocabulary extraction unit: extracts the corresponding tone vocabulary information and adds it to the focus annotation module.

[0058] As another aspect of the present invention: a method for identifying children's language intonation vocabulary based on a corpus, comprising the following steps:

[0059] By collecting data from children's literature, children's educational materials and children's TV programs, and converting the collected data into text data, and cleaning the text data, a corpus of children's language is established; for example, children's literature, educational materials, children's TV program dialogues, etc. These corpora cover children of different ages and different styles of language expression;

[0060] Define the focus of the corpus, including tone, sentiment, and semantics, and classify the tone and sentiment of sentences;

[0061] It is used to add different tone labels and emotion labels to children's sentences in the corpus according to the classification of tone and emotion in the focus, by training the children's tone classification model and emotion classification model for children's language;

[0062] The tone vocabulary of children's sentences in different emotion categories in the corpus is annotated, and the tone vocabulary recognition model in different emotion categories is trained through the children's sentences in different emotion categories after the tone vocabulary is annotated;

[0063] The collected children's sentences are semantically reconstructed, the emotions of the sentences are identified through the sentiment classification model of the focus annotation module, the sentences are input into the mood vocabulary recognition model in the corresponding sentiment classification for mood vocabulary recognition, and the corresponding mood vocabulary information is extracted and added to the focus annotation module.

[0064] Compared with the prior art, the present invention has the following beneficial effects:

[0065] The present invention trains the tone vocabulary recognition model in different emotion classifications, so that the model can more accurately recognize the tone vocabulary under different emotion states; the trained tone vocabulary recognition model can have a certain adaptability, can process new children's sentences and accurately classify their tone, and improve the ability to automatically process and understand children's language; at the same time, the marked corpus can be used as the basic data for training the emotion analysis model, and is used to develop more complex and intelligent emotion recognition applications.

[0066] The present invention facilitates in-depth understanding of the emotional content of children's sentences through semantic reconstruction and sentiment classification models, which helps to more accurately determine the context and usage of mood vocabulary. The tone vocabulary annotation is combined with the output of the sentiment classification model to improve the accuracy and consistency of the annotation, because the sentiment classification model has accurately identified the emotion of the sentence, which is convenient for more accurate identification of the mood vocabulary according to the corresponding sentiment classification. At the same time, after adding the mood vocabulary information to the focus annotation module, the information richness of the corpus will increase, making it more suitable for training and research in language understanding, sentiment analysis and related applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0068] Figure 1 It is a schematic diagram of the system framework of the present invention;

[0069] Figure 2 It is a schematic diagram of the framework of the focus point marking module of the present invention. DETAILED DESCRIPTION

[0070] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0071] See also Figure 1-Figure 2 The first aspect of the present invention provides a corpus-based children's language tone vocabulary recognition system, comprising:

[0072] Corpus building module: By collecting data from children's literature, children's educational materials and children's TV programs, and converting the collected data into text data, and cleaning the text data, a corpus of children's language is built; for example, children's literature, educational materials, children's TV program dialogues, etc. These corpora cover children of different ages and different styles of language expression;

[0073] Focus definition module: defines the focus points in the corpus, including tone, emotion, and semantics, and classifies the tone and emotion of sentences;

[0074] Focus point labeling module: It is used to add different tone labels and emotion labels to children's sentences in the corpus by training children's tone classification model and emotion classification model for children's language according to the classification of tone and emotion in the focus point;

[0075] Model building module: annotate the tone vocabulary of children's sentences in different emotion categories in the corpus, and train the tone vocabulary recognition model in different emotion categories through the children's sentences in different emotion categories after tone vocabulary annotating;

[0076] Tone vocabulary recognition module: semantically reconstruct the collected children's sentences, identify the emotions of the sentences through the sentiment classification model of the focus annotation module, input the sentences into the tone vocabulary recognition model in the corresponding sentiment classification for tone vocabulary recognition, extract the corresponding tone vocabulary information, and add it to the focus annotation module.

[0077] Specifically, in this embodiment, the focus points in the corpus are defined by the focus point definition module, including tone, emotion and semantics, and the tone and emotion of the sentences are classified; the focus point labeling module adds different tone labels and emotion labels to the children's sentences in the corpus according to the classification of the tone and emotion in the focus points by training the children's tone classification model and the emotion classification model for the children's language; because children's language usually has rich emotional features, the children's sentences are accurately classified and labeled according to different types of tone and emotion in the corpus through training models, which helps to discover the impact of emotional features on tone, and at the same time makes the data in the corpus richer and more targeted.

[0078] The tone vocabulary of children's sentences in different emotion categories in the corpus is annotated through the model building module, and the tone vocabulary recognition models in different emotion categories are trained through the children's sentences in different emotion categories after the tone vocabulary is annotated; since children's language is rich and single in emotion, different emotions may have different tone vocabulary, and by training the tone vocabulary recognition models in different emotion categories, the model can more accurately recognize the tone vocabulary in different emotional states; the trained tone vocabulary recognition model can have a certain degree of adaptability, can process new children's sentences and accurately classify their tone, and improve the ability to automatically process and understand children's language; at the same time, the labeled corpus can be used as the basic data for training the sentiment analysis model, and used to develop more complex and intelligent sentiment recognition applications, such as sentiment understanding systems or children's sentiment expression analysis tools.

[0079] The collected children's sentences are semantically reconstructed through the tone vocabulary recognition module, and the emotion of the sentence is identified through the sentiment classification model of the focus annotation module. The sentence is input into the tone vocabulary recognition model in the corresponding sentiment classification for tone vocabulary recognition, and the corresponding tone vocabulary information is extracted and added to the focus annotation module. Through semantic reconstruction and sentiment classification models, it is convenient to deeply understand the emotional content of children's sentences, which helps to more accurately determine the context and usage of tone vocabulary. Tone vocabulary annotation combined with the output of the sentiment classification model is convenient to improve the accuracy and consistency of annotation, because the sentiment classification model has accurately identified the emotion of the sentence, which is convenient for more accurate identification of tone vocabulary according to the corresponding sentiment classification. At the same time, after adding the tone vocabulary information to the focus annotation module, the information richness of the corpus will increase, making it more suitable for training and research in language understanding, sentiment analysis and related applications.

[0080] In one embodiment of the present invention, the mood classification includes: declarative mood, affirmative mood, negative mood, interrogative mood and imperative mood;

[0081] Sentiment classification includes: positive sentiment classification, negative sentiment classification and neutral sentiment classification.

[0082] In one embodiment of the present invention, the focus point marking module includes:

[0083] Tone labeling unit: used to build a vocabulary list of different tones, train a children's tone classification model through machine learning, and identify the tone classification of children's language in the corpus through the children's tone classification model;

[0084] Sentiment labeling unit: It is used to extract feature vectors of children's sentences, train sentiment classification models, and perform sentiment classification on children's sentences.

[0085] In one embodiment of the present invention, the tone labeling unit establishes a vocabulary list of different tones, trains a child tone classification model through machine learning, and identifies the tone classification of children's language in a corpus through the child tone classification model, including the following steps:

[0086] Through NLP natural language processing technology, the sentences in the corpus are analyzed for dependency syntax, different types of children's mood vocabulary are identified, and mood vocabulary lists for declarative mood, affirmative mood, negative mood, interrogative mood and imperative mood are established respectively;

[0087] Annotate the sentences in the corpus with the tone of voice and assign one or more tone tags to each sentence;

[0088] For each sentence, count the occurrence frequencies of different tone words in the tone vocabulary list in sentences with different tone labels, and use the occurrence frequencies of different tone words in sentences with corresponding tone labels as tone features;

[0089] A children's tone classification model was established through support vector machine, and the children's tone classification model was trained through the tone vocabulary list and the tone features of sentences with different tone labels;

[0090] The tone classification of children's language in the corpus is identified through the children's tone classification model, and the sentences are annotated with tone tags.

[0091] In one embodiment of the present invention, the sentiment labeling unit extracts feature vectors of children's sentences, trains a sentiment classification model, and performs sentiment classification on children's sentences, including the following steps:

[0092] Establish a data set by obtaining emotion-labeled children's sentences;

[0093] Extract the emotion word feature vector, keyword feature vector and context feature vector of the children's sentences according to the emotion word features, keyword features and context features of the children's sentences in the data set, and merge the emotion feature vector, keyword feature vector and context feature vector to form the overall feature vector of the children's sentences;

[0094] Associating the overall feature vector with the sentiment annotation corresponding to the sentence;

[0095] The sentiment classification model is trained by the feature vector associated with the corresponding sentiment annotation;

[0096] Children's sentences were analyzed using a sentiment classification model.

[0097] In one embodiment of the present invention, based on the sentiment word features, keyword features and context features of the children's sentences in the data set, sentiment word feature vectors, keyword feature vectors and context feature vectors are extracted from the children's sentences, including the following steps:

[0098] According to the sentiment word features, keyword features and context features of the children's sentences in the data set, sentiment word feature vectors, keyword feature vectors and context feature vectors are extracted from the children's sentences respectively;

[0099] Among them, the sentiment word feature extraction includes the following steps:

[0100] Extract emotional words from children's sentences through the AFINN emotional dictionary;

[0101] The emotional value of the children's sentence is calculated based on the matched emotional words and their emotional polarity; for example, in this embodiment, positive emotional words are assigned a positive value of 10, negative emotional words are assigned a negative value of -10, and neutral emotional words are assigned a zero value or a smaller value, then the value assigned in this embodiment is 0.5; 10*a-10*b+0.5*c, a is the number of positive emotional words, b is the number of negative emotional words, and c is the number of neutral emotional words.

[0102] The extracted sentiment words and the sentiment values ​​of the corresponding children's sentences are used as sentiment word feature vectors.

[0103] Keyword feature extraction includes the following steps:

[0104] Extract keywords from children’s sentences using the TF-IDF keyword identification algorithm;

[0105] Calculate the weight of the keyword based on the frequency of occurrence of the keyword in the children's sentences;

[0106] The extracted keywords and corresponding weights are used as keyword feature vectors.

[0107] Context feature extraction includes the following steps:

[0108] Obtaining context information of children's sentences and calculating the sentiment value of the sentences in the context information;

[0109] Counting the sentiment values ​​of the sentences in the context information, and calculating the overall sentiment values ​​of the children's sentences in the context information;

[0110] The overall sentiment value of the children's sentences in the context information is converted into a context feature vector.

[0111] In one embodiment of the present invention, counting the sentiment values ​​of sentences in the context information and calculating the overall sentiment value of the children's sentences in the context information includes the following steps:

[0112] Start numbering from the sentence closest to the child's sentence in the previous or following information, and end with the sentence that is fifth from the corresponding child's sentence in the previous or following information, and the numbering is: {1, 2, 3, 4, 5};

[0113] Count the sentiment values ​​of sentences in context information;

[0114] The overall sentiment value of the children's sentences in the previous information is calculated by the sentiment value of the sentences in the previous information, and the overall sentiment value of the children's sentences in the following information is calculated by the sentiment value of the sentences in the following information, using the following formula:

[0115] ;

[0116] Among them, E is the overall sentiment value of the children's sentences, A1 is the sentiment value of the sentence numbered 1 in the previous or following information, A2 is the sentiment value of the sentence numbered 2 in the previous or following information, A3 is the sentiment value of the sentence numbered 3 in the previous or following information, A4 is the sentiment value of the sentence numbered 4 in the previous or following information, and A5 is the sentiment value of the sentence numbered 5 in the previous or following information.

[0117] In one embodiment of the present invention, the model building module annotates the tone vocabulary of children's sentences in different emotion categories in the corpus, and trains the tone vocabulary recognition model in different emotion categories through the children's sentences in different emotion categories after the tone vocabulary is annotated, including the following steps:

[0118] Annotate the tone words of children's sentences in different emotion categories in the corpus;

[0119] Identify the parts of speech of the tone words marked in different emotion categories in the corresponding children's sentences;

[0120] Count the proportion of marked mood words identified as different parts of speech in different sentiment categories;

[0121] Through the children's sentences of different sentiment categories after tone vocabulary annotation, as well as the proportion data of tone vocabulary recognition as different parts of speech, the tone vocabulary recognition model in different sentiment categories is trained.

[0122] In one embodiment of the present invention, the tone vocabulary recognition module includes:

[0123] Part-of-speech tagging unit: used to identify the part-of-speech of words in children's sentences through dependency syntax analysis, and to tag the part-of-speech of different words;

[0124] Semantic reconstruction unit: used to semantically reconstruct words of different parts of speech in a sentence according to the tone label and sentiment label corresponding to the sentence;

[0125] Tone vocabulary recognition unit: The emotion of the sentence is recognized through the emotion classification model of the focus annotation module, and the part-of-speech information of the child's sentence and the words in the sentence is input into the tone vocabulary recognition model in the corresponding emotion classification to perform tone vocabulary recognition;

[0126] Tone vocabulary extraction unit: extracts the corresponding tone vocabulary information and adds it to the focus annotation module.

[0127] In another embodiment of the present invention, a method for identifying children's language intonation vocabulary based on a corpus is provided, comprising the following steps:

[0128] By collecting data from children's literature, children's educational materials and children's TV programs, and converting the collected data into text data, and cleaning the text data, a corpus of children's language is established; for example, children's literature, educational materials, children's TV program dialogues, etc. These corpora cover children of different ages and different styles of language expression;

[0129] Define the focus of the corpus, including tone, sentiment, and semantics, and classify the tone and sentiment of sentences;

[0130] It is used to add different tone labels and emotion labels to children's sentences in the corpus according to the classification of tone and emotion in the focus, by training the children's tone classification model and emotion classification model for children's language;

[0131] The tone vocabulary of children's sentences in different emotion categories in the corpus is annotated, and the tone vocabulary recognition model in different emotion categories is trained through the children's sentences in different emotion categories after the tone vocabulary is annotated;

[0132] The collected children's sentences are semantically reconstructed, the emotions of the sentences are identified through the sentiment classification model of the focus annotation module, the sentences are input into the mood vocabulary recognition model in the corresponding sentiment classification for mood vocabulary recognition, and the corresponding mood vocabulary information is extracted and added to the focus annotation module.

[0133] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A corpus-based children's language tone vocabulary recognition system, It is characterized in that include: Corpus building module: by collecting data from children's literature, children's educational materials and children's TV programs, and converting the collected data into text data, and cleaning the text data, a corpus of children's language is established; Focus definition module: defines the focus points in the corpus, including tone, emotion, and semantics, and classifies the tone and emotion of sentences; Focus point labeling module: used to add different tone labels and emotion labels to children's sentences in the corpus by training children's tone classification model and emotion classification model based on the classification of tone and emotion in the focus points; Model building module: annotate the tone vocabulary of children's sentences in different emotion categories in the corpus, and train the tone vocabulary recognition model in different emotion categories through the children's sentences in different emotion categories after tone vocabulary annotating; Tone vocabulary recognition module: semantically reconstruct the collected children's sentences, identify the emotions of the sentences through the sentiment classification model of the focus annotation module, input the sentences into the tone vocabulary recognition model in the corresponding sentiment classification for tone vocabulary recognition, extract the corresponding tone vocabulary information, and add it to the focus annotation module.

2. A corpus-based children's language tone vocabulary recognition system according to claim 1, It is characterized in that The categories of mood include: declarative mood, affirmative mood, negative mood, interrogative mood and imperative mood; Sentiment classification includes: positive sentiment classification, negative sentiment classification and neutral sentiment classification.

3. The corpus-based children's language tone vocabulary recognition system according to claim 1, It is characterized in that Focus annotation module, including: Tone labeling unit: used to build a vocabulary list of different tones, train a children's tone classification model through machine learning, and identify the tone classification of children's language in the corpus through the children's tone classification model; Sentiment labeling unit: It is used to extract feature vectors of children's sentences, train sentiment classification models, and perform sentiment classification on children's sentences.

4. A corpus-based children's language tone vocabulary recognition system according to claim 3, It is characterized in that The tone annotation unit establishes a vocabulary list of different tones, trains a child tone classification model through machine learning, and identifies the tone classification of children's language in the corpus through the child tone classification model, including the following steps: Through NLP natural language processing technology, the sentences in the corpus are analyzed for dependency syntax, different types of children's mood vocabulary are identified, and mood vocabulary lists for declarative mood, affirmative mood, negative mood, interrogative mood and imperative mood are established respectively; Tag the sentences in the corpus with the tone of voice and assign one or more tone tags to each sentence; For each sentence, count the occurrence frequencies of different tone words in the tone vocabulary list in sentences with different tone labels, and use the occurrence frequencies of different tone words in sentences with corresponding tone labels as tone features; A children's tone classification model was established through support vector machine, and the children's tone classification model was trained through the tone vocabulary list and the tone features of sentences with different tone labels; The tone classification of children's language in the corpus is identified through the children's tone classification model, and the sentences are annotated with tone tags.

5. The corpus-based children's language tone vocabulary recognition system according to claim 3, It is characterized in that The sentiment labeling unit extracts the feature vectors of children's sentences, trains the sentiment classification model, and performs sentiment classification on children's sentences, including the following steps: Establish a data set by obtaining emotion-labeled children's sentences; Extract the emotion word feature vector, keyword feature vector and context feature vector of the children's sentences according to the emotion word features, keyword features and context features of the children's sentences in the data set, and merge the emotion feature vector, keyword feature vector and context feature vector to form the overall feature vector of the children's sentences; Associating the overall feature vector with the sentiment annotation corresponding to the sentence; The sentiment classification model is trained by the feature vector associated with the corresponding sentiment annotation; Children's sentences were analyzed using a sentiment classification model.

6. A corpus-based children's language tone vocabulary recognition system according to claim 5, It is characterized in that According to the sentiment word features, keyword features and context features of the children's sentences in the data set, sentiment word feature vectors, keyword feature vectors and context feature vectors are extracted from the children's sentences, including the following steps: According to the sentiment word features, keyword features and context features of the children's sentences in the data set, sentiment word feature vectors, keyword feature vectors and context feature vectors are extracted from the children's sentences respectively; Among them, the sentiment word feature extraction includes the following steps: Extract emotional words from children's sentences through the AFINN emotional dictionary; Calculate the sentiment value of the child's sentence based on the matched sentiment words and their sentiment polarity; The extracted sentiment words and the sentiment values ​​of the corresponding children's sentences are used as sentiment word feature vectors; Keyword feature extraction includes the following steps: Extract keywords from children’s sentences using the TF-IDF keyword identification algorithm; Calculate the weight of the keyword based on the frequency of occurrence of the keyword in the children's sentences; The extracted keywords and corresponding weights are used as keyword feature vectors; Context feature extraction includes the following steps: Obtaining context information of children's sentences and calculating the sentiment value of the sentences in the context information; Counting the sentiment values ​​of the sentences in the context information, and calculating the overall sentiment values ​​of the children's sentences in the context information; The overall sentiment value of the children's sentences in the context information is converted into a context feature vector.

7. A corpus-based children's language tone vocabulary recognition system according to claim 6, It is characterized in that Counting the sentiment values ​​of the sentences in the context information and calculating the overall sentiment value of the children's sentences in the context information includes the following steps: The numbers are numbered from the sentence closest to the child's sentence in the preceding or following information to the sentence that is the fifth sentence away from the corresponding child's sentence in the preceding or following information: {1, 2, 3, 4, 5}; Count the sentiment values ​​of sentences in context information; The overall sentiment value of the children's sentences in the previous information is calculated by the sentiment value of the sentences in the previous information, and the overall sentiment value of the children's sentences in the following information is calculated by the sentiment value of the sentences in the following information, using the following formula: Among them, E is the overall sentiment value of the children's sentence, A 1 is the sentiment value of the sentence numbered 1 in the previous or next information, A 2 is the sentiment value of the sentence numbered 2 in the previous or next information, A 3 is the sentiment value of the sentence numbered 3 in the previous or next information, A 4 is the sentiment value of the sentence numbered 4 in the previous or next information, A 5 It is the sentiment value of the sentence numbered 5 in the previous or following information.

8. The corpus-based children's language tone vocabulary recognition system according to claim 1, It is characterized in that The model building module annotates the tone vocabulary of children's sentences in different emotion categories in the corpus, and trains the tone vocabulary recognition model in different emotion categories through the children's sentences in different emotion categories after the tone vocabulary is annotated, including the following steps: Annotate the tone words of children's sentences in different emotion categories in the corpus; Identify the parts of speech of the tone words marked in different emotion categories in the corresponding children's sentences; Count the proportion of different parts of speech in the marked mood words in different sentiment categories; Through the children's sentences of different sentiment categories after tone vocabulary annotation, as well as the proportion data of tone vocabulary recognition as different parts of speech, the tone vocabulary recognition model in different sentiment categories is trained.

9. A corpus-based children's language tone vocabulary recognition system according to claim 8, It is characterized in that Tone vocabulary recognition module, including: Part-of-speech tagging unit: used to identify the part-of-speech of words in children's sentences through dependency syntax analysis, and to tag the part-of-speech of different words; Semantic reconstruction unit: used to semantically reconstruct words of different parts of speech in a sentence according to the tone label and sentiment label corresponding to the sentence; Tone vocabulary recognition unit: The emotion of the sentence is recognized through the emotion classification model of the focus annotation module, and the part-of-speech information of the child's sentence and the words in the sentence is input into the tone vocabulary recognition model in the corresponding emotion classification to perform tone vocabulary recognition; Tone vocabulary extraction unit: extracts the corresponding tone vocabulary information and adds it to the focus annotation module.

10. A corpus-based method for identifying children's language mood vocabulary. It is characterized in that The following steps are involved: By collecting data from children's literature, children's educational materials and children's TV programs, and converting the collected data into text data, and cleaning the text data, a corpus of children's language is established; Define the focus of the corpus, including tone, sentiment, and semantics, and classify the tone and sentiment of sentences; A focus point labeling module is provided, wherein the focus point labeling module is used to add different tone labels and emotion labels to the children's sentences in the corpus according to the classification of the tone and emotion in the focus point and by training a children's tone classification model and an emotion classification model of the children's language; The tone vocabulary of children's sentences in different emotion categories in the corpus is annotated, and the tone vocabulary recognition model in different emotion categories is trained through the children's sentences in different emotion categories after the tone vocabulary is annotated; The collected children's sentences are semantically reconstructed, the emotions of the sentences are identified through the sentiment classification model of the focus annotation module, the sentences are input into the mood vocabulary recognition model in the corresponding sentiment classification for mood vocabulary recognition, and the corresponding mood vocabulary information is extracted and added to the focus annotation module.