Automated script generation system

By using data collection, preprocessing, model construction and evaluation modules in the script automatic generation system, the problems of low intelligence and poor script quality in the existing system are solved, the generation and evaluation of high-quality scripts are achieved, and the user experience is improved. and system efficiency.

CN118626799APending Publication Date: 2024-09-10SHANGHAI SAIINS CULTURE TECH GRP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410834914.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-10

Smart Images

  • Figure CN118626799A
    Figure CN118626799A
Patent Text Reader

Abstract

The invention discloses an automatic script generation system which comprises a data acquisition module, a data preprocessing module, a model construction module, a script generation module, a script evaluation module and an information sending module. The data acquisition module is used for acquiring script related information, and the data preprocessing module is used for performing data preprocessing on the acquired script related information to obtain preprocessed data; the model construction module is used for analyzing the preprocessed data to generate multiple pieces of script related model information; the data generation module is used for processing the multiple pieces of script related model information to generate preliminary script information; the script evaluation module is used for evaluating the preliminary script information to obtain script evaluation information; and when the script evaluation information is normal evaluation, the preliminary script information is sent to a preset receiving terminal through an information sending module. According to the method, automatic script generation can be better carried out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of script generation, and in particular to an automatic script generation system. Background Art

[0002] The script automatic generation system is a software tool based on artificial intelligence technology. It can automatically generate scripts that conform to the story structure according to the input conditions and requirements. The principle of this system is to analyze a large number of script samples created by humans through deep learning and natural language processing technology, learn elements such as grammar, plot and emotion, and then generate new scripts based on user input.

[0003] The existing automatic script generation system has a low level of intelligence and the quality of the generated scripts is poor, which has a certain impact on the use of the automatic script generation system. Therefore, an automatic script generation system is proposed. Summary of the invention

[0004] The technical problem to be solved by the present invention is: how to solve the problem that the existing automatic script generation system has a low degree of intelligence and the quality of the generated scripts is poor, which has a certain impact on the use of the automatic script generation system, and provides an automatic script generation system.

[0005] The present invention solves the above technical problems through the following technical solutions, which include a data acquisition module, a data preprocessing module, a model building module, a script generation module, a script evaluation module and an information sending module;

[0006] The data acquisition module is used to collect script-related information, and the data preprocessing module is used to perform data preprocessing on the collected script-related information to obtain preprocessing completed data;

[0007] The model building module is used to analyze the preprocessed data to generate multiple script-related model information;

[0008] The data generation module is used to process a plurality of script-related model information to generate preliminary script information;

[0009] The script evaluation module is used to evaluate the preliminary script information and obtain the script evaluation information;

[0010] When the script evaluation information is evaluated as normal, the preliminary script information is sent to the preset receiving terminal through the information sending module;

[0011] When the script evaluation information is abnormal, the script will be regenerated.

[0012] Furthermore, the specific process of the data preprocessing is as follows:

[0013] Data import: import the collected script-related information;

[0014] Data cleaning: Clean the script-related information, remove duplicate, invalid or erroneous data, and obtain script cleaning data;

[0015] Data annotation: annotate the cleaned script data to obtain annotated script data, that is, annotate the grammar, plot, and characters of each sample;

[0016] Data conversion: converting the annotated script data into a format that the model can process, such as converting text into numbers;

[0017] Data expansion: Expand the annotated script data, such as adding roles and plots, to enrich the data set and improve the generalization ability of the model;

[0018] Data export, export the expanded script data to obtain the pre-processed data.

[0019] Furthermore, the specific process of the model building module analyzing the preprocessed data to generate multiple script-related model information is as follows: labeling the preprocessed data, dividing the data into different categories or areas according to specific needs, performing data quality inspection after the division, and performing quality inspection on the labeled data, including accuracy, completeness and consistency, to ensure that the labeled data meets the requirements, and converting the labeled data into a script-related model.

[0020] Furthermore, the specific process of the model building module to build the model is as follows:

[0021] Prepare training data: Select and prepare datasets for model training, including script samples and other relevant data;

[0022] Build the model: Select the model architecture based on the requirements and data characteristics, including sequence-to-sequence (Seq2Seq) model and converter model;

[0023] Model training: Use the prepared training data to train the model and adjust the model parameters;

[0024] Model evaluation: Evaluate the performance of the model on the validation set, and tune and improve the model;

[0025] Model testing: Test the performance of the model on the test set to evaluate the generation effect and accuracy of the model;

[0026] Model deployment: Deploy the trained model to actual applications to generate scripts;

[0027] During the model training process, multiple iterations and adjustments are required, including the selection of optimization algorithms, adjustment of hyperparameters, and improvement of model structure. In order to improve the performance and generalization ability of the model, data enhancement and regularization techniques are also required.

[0028] Furthermore, the specific processing process of the script evaluation information is as follows: first, the preliminary script information is imported into an Internet database, a script similarity test is performed on the preliminary script information from the Internet data, and first scoring information is obtained, and then the preliminary script information is sent to a preset reviewer for manual scoring, and second scoring information is obtained from the manual scoring, and the first scoring information and the second scoring information are processed to obtain a comprehensive score. When the comprehensive scoring information is greater than a preset value, the script evaluation information is evaluated normally, and when the comprehensive scoring information is less than the preset value, the script evaluation information is evaluated abnormally.

[0029] Furthermore, the specific process of performing script similarity detection on preliminary script information from Internet data is as follows: performing script similarity detection on preliminary script information from Internet data to obtain real-time script similarity, processing the real-time similarity to obtain first scoring information, when the real-time similarity is greater than a preset value a1, the first scoring information is a preset value b1, when the real-time similarity is between the preset values ​​a1 and a2, the first scoring information is a preset value b2, when the real-time similarity is less than the preset value a2, the first scoring information is a preset value b3, a1>a2, b1<b2<b3.

[0030] Furthermore, the specific process of sending the preliminary script information to preset reviewers for manual scoring and obtaining the second scoring information from the manual scores is as follows: sending the preliminary script information to at least x preset reviewers, obtaining x manual scores, removing the maximum and minimum values ​​of the x manual scores, calculating the mean of the remaining manual scores, processing the mean of the manual scores to obtain the second scoring information, when the mean of the manual scores is greater than a preset value c1, the second scoring information is a preset value d1, when the mean of the manual scores is between the preset values ​​c1 and c2, the second scoring information is the preset value d1, and when the mean of the manual scores is less than the preset value c2, the second scoring information is the preset value d3, d1>d2>d3, c2>c3.

[0031] Furthermore, the specific process of processing the first scoring information and the second scoring information to obtain the comprehensive score is as follows: mark the first scoring information as Y1, mark the second scoring information as Y2, assign a correction value K1 to Y1, assign a correction value K2 to Y2, K1+K2=1, K2>K1, and obtain the comprehensive score through the company Y1*K1+Y2*K2=Yy.

[0032] Compared with the prior art, the present invention has the following advantages: the automatic script generation system performs data preprocessing, which plays an important role in data analysis. It can help improve the quality and accuracy of data, reduce the cost and time of data analysis, and improve model accuracy through data annotation: data annotation can enable machine learning algorithms to learn and predict more accurately, thereby improving the accuracy and reliability of the model. Through model generation, users can complete tasks more efficiently, saving time and energy and enhancing user experience: by generating models, some tedious tasks can be automatically completed, allowing users to focus more on the main tasks, improving work efficiency and user experience, and the comprehensive scoring setting realizes comprehensive scoring processing of the final script, making the script generated by the system better and making the system more worthy of promotion and use. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a system block diagram of the present invention. DETAILED DESCRIPTION

[0034] The following is a detailed description of an embodiment of the present invention. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given, but the protection scope of the present invention is not limited to the following embodiment.

[0035] like Figure 1 As shown, this embodiment provides a technical solution: a script automatic generation system, including a data acquisition module, a data preprocessing module, a model building module, a script generation module, a script evaluation module and an information sending module;

[0036] The data acquisition module is used to collect script-related information, and the data preprocessing module is used to perform data preprocessing on the collected script-related information to obtain preprocessing completed data;

[0037] The model building module is used to analyze the preprocessed data to generate multiple script-related model information;

[0038] The data generation module is used to process a plurality of script-related model information to generate preliminary script information;

[0039] The script evaluation module is used to evaluate the preliminary script information and obtain the script evaluation information;

[0040] When the script evaluation information is evaluated as normal, the preliminary script information is sent to the preset receiving terminal through the information sending module;

[0041] When the script evaluation information is abnormal, the script will be regenerated;

[0042] The present invention performs data preprocessing, which plays an important role in data analysis. It can help improve the quality and accuracy of data, reduce the cost and time of data analysis, and improve model accuracy through data annotation: data annotation can enable machine learning algorithms to learn and predict more accurately, thereby improving the accuracy and reliability of the model. Through model generation, users can complete tasks more efficiently, saving time and energy and enhancing user experience: by generating models, some tedious tasks can be automatically completed, allowing users to focus more on the main tasks, improving work efficiency and user experience, and the comprehensive scoring setting realizes comprehensive scoring processing of the final script, making the script generated by the system better.

[0043] The specific process of data preprocessing is as follows:

[0044] Data import: import the collected script-related information;

[0045] Data cleaning: Clean the script-related information, remove duplicate, invalid or erroneous data, and obtain script cleaning data;

[0046] Data annotation: annotate the cleaned script data to obtain annotated script data, that is, annotate the grammar, plot, and characters of each sample;

[0047] Data conversion: converting the annotated script data into a format that the model can process, such as converting text into numbers;

[0048] Data expansion: Expand the annotated script data, such as adding roles and plots, to enrich the data set and improve the generalization ability of the model;

[0049] Data export, export the expanded script data to obtain the pre-processed data;

[0050] Data preprocessing plays an important role in data analysis. It can help improve the quality and accuracy of data, reduce the cost and time of data analysis, and make data analysis more convenient. Here are some benefits of data preprocessing:

[0051] Improve data quality: Raw data often contains errors, omissions, duplications and other problems. Data preprocessing can improve data quality and accuracy by removing duplications, filling missing values, and correcting errors.

[0052] Reduce data analysis costs: Data preprocessing can reduce the cost and time of data analysis and avoid duplication of work and errors caused by poor data quality during data analysis.

[0053] Facilitates data analysis: The preprocessed data is more normalized and standardized, making it easier for data analysts to perform statistical analysis, model building, and other operations.

[0054] Improve model performance: Data preprocessing can help improve the performance and accuracy of the model. By cleaning, padding, scaling, and other operations on the data, the model can understand and predict the data more accurately.

[0055] Data visualization: Preprocessed data can be more easily visualized, helping people better understand and analyze the data.

[0056] In short, data preprocessing is a very important step in the data analysis process. It can help people better understand and use data and improve the accuracy and efficiency of analysis.

[0057] The specific process of the model building module analyzing the preprocessed data to generate multiple script-related model information is as follows: labeling the preprocessed data, dividing the data into different categories or regions according to specific needs, performing data quality inspection after the division, and performing quality inspection on the labeled data, including accuracy, completeness and consistency, to ensure that the labeled data meets the requirements, and converting the labeled data into a script-related model;

[0058] There are many benefits of data annotation, including:

[0059] Improve model accuracy: Data annotation can enable machine learning algorithms to learn and predict more accurately, thereby improving the accuracy and reliability of the model.

[0060] Promote the development of artificial intelligence applications: Labeled data is the key to many artificial intelligence applications. With the development of machine learning, the demand for labeled data will increase, which will promote the development of artificial intelligence applications.

[0061] Accelerate model training and launch speed: High-quality data and corresponding labels can accelerate the training and launch speed of machine learning models, enabling enterprises to develop and use high-performance machine learning applications more quickly. Improve data quality: Data labeling can correct errors and omissions in raw data and improve data quality and accuracy. Reduce development costs: Using data labeling services can significantly reduce the cost of developing machine learning applications for enterprises, avoiding enterprises from solving data labeling problems on their own and investing a lot of manpower and time. In short, data labeling plays an important role in the field of artificial intelligence. It can not only improve the accuracy and reliability of the model, but also reduce development costs, accelerate model training and launch speed, and promote the development of artificial intelligence applications.

[0062] The specific process of model building by the model building module is as follows:

[0063] Prepare training data: Select and prepare datasets for model training, including script samples and other relevant data;

[0064] Build the model: Select the model architecture based on the requirements and data characteristics, including sequence-to-sequence model and transformer model;

[0065] Model training: Use the prepared training data to train the model and adjust the model parameters;

[0066] Model evaluation: Evaluate the performance of the model on the validation set, and tune and improve the model;

[0067] Model testing: Test the performance of the model on the test set to evaluate the generation effect and accuracy of the model;

[0068] Model deployment: Deploy the trained model to actual applications to generate scripts;

[0069] During the model training process, multiple iterations and adjustments are required, including the selection of optimization algorithms, adjustment of hyperparameters, and improvement of model structure. In order to improve the performance and generalization ability of the model, data enhancement and regularization techniques are also required.

[0070] Model generation has many benefits, mainly including: Improve efficiency: Through model generation, users can complete tasks more efficiently, saving time and energy. Enhance user experience: By generating models, some tedious tasks can be automatically completed, allowing users to focus more on the main tasks, improving work efficiency and user experience. Reduce costs: By using generative models, labor costs and other related costs can be reduced, thereby reducing the cost of the entire project. Improve accuracy: Generative models can be trained and learned based on a large amount of data, so that they can better simulate real situations and improve the accuracy of prediction and generation. Enhance interpretability: Some generative models, such as decision trees, can provide more intuitive decision paths and result explanations, thereby enhancing the user's interpretability and trust in the generated results. In short, model generation has many benefits in terms of improving efficiency, enhancing user experience, reducing costs, improving accuracy, and enhancing interpretability.

[0071] The specific processing process of the script evaluation information is as follows: first, the preliminary script information is imported into an Internet database, a script similarity test is performed on the preliminary script information from the Internet data, and first scoring information is obtained, and then the preliminary script information is sent to a preset reviewer for manual scoring, and second scoring information is obtained from the manual scoring, and the first scoring information and the second scoring information are processed to obtain a comprehensive score. When the comprehensive scoring information is greater than a preset value, the script evaluation information is evaluated normally, and when the comprehensive scoring information is less than the preset value, the script evaluation information is evaluated abnormally.

[0072] The specific process of performing script similarity detection on preliminary script information from Internet data is as follows: performing script similarity detection on preliminary script information from Internet data to obtain real-time script similarity, processing the real-time similarity to obtain first scoring information, when the real-time similarity is greater than a preset value a1, the first scoring information is a preset value b1, when the real-time similarity is between the preset values ​​a1 and a2, the first scoring information is a preset value b2, when the real-time similarity is less than the preset value a2, the first scoring information is a preset value b3, a1>a2, b1<b2<b3.

[0073] The specific process of sending the preliminary script information to preset reviewers for manual scoring and obtaining the second scoring information from the manual scores is as follows: sending the preliminary script information to at least x preset reviewers, obtaining x manual scores, removing the maximum and minimum values ​​of the x manual scores, calculating the mean of the remaining manual scores, processing the mean of the manual scores to obtain the second scoring information, when the mean of the manual scores is greater than the preset value c1, the second scoring information is the preset value d1, when the mean of the manual scores is between the preset values ​​c1 and c2, the second scoring information is the preset value d1, when the mean of the manual scores is less than the preset value c2, the second scoring information is the preset value d3, d1>d2>d3, c2>c3.

[0074] The specific process of processing the first scoring information and the second scoring information to obtain the comprehensive score is as follows: mark the first scoring information as Y1, mark the second scoring information as Y2, assign a correction value K1 to Y1, assign a correction value K2 to Y2, K1+K2=1, K2>K1, and obtain the comprehensive score through the company Y1*K1+Y2*K2=Yy;

[0075] Through the above process, a comprehensive scoring process was carried out by combining system scoring with manual scoring, ensuring that the final selected script is better and more in line with user needs.

[0076] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0077] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0078] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. Automatic script generation system, It is characterized in that It includes data collection module, data preprocessing module, model building module, script generation module, script evaluation module and information sending module; The data acquisition module is used to collect script-related information, and the data preprocessing module is used to perform data preprocessing on the collected script-related information to obtain preprocessing completed data; The model building module is used to analyze the preprocessed data to generate multiple script-related model information; The data generation module is used to process a plurality of script-related model information to generate preliminary script information; The script evaluation module is used to evaluate the preliminary script information and obtain the script evaluation information; When the script evaluation information is evaluated as normal, the preliminary script information is sent to the preset receiving terminal through the information sending module; When the script evaluation information is abnormal, the script will be regenerated.

2. The script automatic generation system according to claim 1, Features: The specific process of data preprocessing is as follows: Data import: import the collected script-related information; Data cleaning: Clean the script-related information, remove duplicate, invalid or erroneous data, and obtain script cleaning data; Data annotation: annotate the cleaned script data to obtain annotated script data, that is, annotate the grammar, plot, and characters of each sample; Data conversion: converting the annotated script data into a format that the model can process, such as converting text into numbers; Data expansion: Expand the annotated script data, such as adding roles and plots, to enrich the data set and improve the generalization ability of the model; Data export, export the expanded script data to obtain the pre-processed data.

3. The script automatic generation system according to claim 1, Features: The specific process of the model building module analyzing the preprocessed data to generate multiple script-related model information is as follows: labeling the preprocessed data, dividing the data into different categories or areas according to specific needs, performing data quality inspection after the division is completed, and performing quality inspection on the labeled data, including accuracy, completeness and consistency, to ensure that the labeled data meets the requirements, and converting the labeled data into a script-related model.

4. The automatic script generation system according to claim 1, Features: The specific process of model building by the model building module is as follows: Prepare training data: Select and prepare datasets for model training, including script samples and other relevant data; Build the model: Select the model architecture based on the requirements and data characteristics, including sequence-to-sequence (Seq2Seq) model and converter model; Model training: Use the prepared training data to train the model and adjust the model parameters; Model evaluation: Evaluate the performance of the model on the validation set, and tune and improve the model; Model testing: Test the performance of the model on the test set to evaluate the generation effect and accuracy of the model; Model deployment: Deploy the trained model to actual applications to generate scripts; During the model training process, multiple iterations and adjustments are required, including the selection of optimization algorithms, adjustment of hyperparameters, and improvement of model structure. In order to improve the performance and generalization ability of the model, data enhancement and regularization techniques are also required.

5. The script automatic generation system according to claim 1, Features: The specific processing process of the script evaluation information is as follows: first, the preliminary script information is imported into an Internet database, a script similarity test is performed on the preliminary script information from the Internet data, and first scoring information is obtained, and then the preliminary script information is sent to a preset reviewer for manual scoring, and second scoring information is obtained from the manual scoring, and the first scoring information and the second scoring information are processed to obtain a comprehensive score. When the comprehensive scoring information is greater than a preset value, the script evaluation information is evaluated normally, and when the comprehensive scoring information is less than the preset value, the script evaluation information is evaluated abnormally.

6. The automatic script generation system according to claim 5, Features: The specific process of performing script similarity detection on preliminary script information from Internet data is as follows: performing script similarity detection on preliminary script information from Internet data to obtain real-time script similarity, processing the real-time similarity to obtain first scoring information, when the real-time similarity is greater than a preset value a1, the first scoring information is a preset value b1, when the real-time similarity is between the preset values ​​a1 and a2, the first scoring information is a preset value b2, when the real-time similarity is less than the preset value a2, the first scoring information is a preset value b3, a1>a2, b1<b2<b3.

7. The automatic script generation system according to claim 5, Features: The specific process of sending the preliminary script information to preset reviewers for manual scoring and obtaining the second scoring information from the manual scores is as follows: sending the preliminary script information to at least x preset reviewers, obtaining x manual scores, removing the maximum and minimum values ​​of the x manual scores, calculating the mean of the remaining manual scores, processing the mean of the manual scores to obtain the second scoring information, when the mean of the manual scores is greater than the preset value c1, the second scoring information is the preset value d1, when the mean of the manual scores is between the preset values ​​c1 and c2, the second scoring information is the preset value d1, when the mean of the manual scores is less than the preset value c2, the second scoring information is the preset value d3, d1>d2>d3, c2>c3.

8. The automatic script generation system according to claim 5, Features: The specific process of processing the first scoring information and the second scoring information to obtain the comprehensive score is as follows: mark the first scoring information as Y1, mark the second scoring information as Y2, assign a correction value K1 to Y1, assign a correction value K2 to Y2, K1+K2=1, K2>K1, and obtain the comprehensive score through the company Y1*K1+Y2*K2=Yy.

Citation Information

Cited By

  • AI tool system and device for automatically generating product introduction script

    CN119312814A