CN112257414A - Method for computer to automatically rewrite sentence expression - Google Patents

Method for computer to automatically rewrite sentence expression Download PDF

Info

Publication number
CN112257414A
CN112257414A CN202011130320.0A CN202011130320A CN112257414A CN 112257414 A CN112257414 A CN 112257414A CN 202011130320 A CN202011130320 A CN 202011130320A CN 112257414 A CN112257414 A CN 112257414A
Authority
CN
China
Prior art keywords
sentence
sentence pattern
expression
pattern
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011130320.0A
Other languages
Chinese (zh)
Inventor
张莹
张冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Entertainment Interactive Technology Beijing Co ltd
Original Assignee
Entertainment Interactive Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Entertainment Interactive Technology Beijing Co ltd filed Critical Entertainment Interactive Technology Beijing Co ltd
Priority to CN202011130320.0A priority Critical patent/CN112257414A/en
Publication of CN112257414A publication Critical patent/CN112257414A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/211Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/253Grammatical analysis; Style critique
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Abstract

The invention discloses a method for automatically rewriting sentence expression by a computer, which comprises the following steps: step one, finishing; step two, storing; step three, identifying; step four, expressing; step five, reforming; in the first step, the sentence structure is firstly sorted; in the second step, classifying and storing the same sentence pattern structure arranged in the first step to establish a sentence pattern structure database; in the third step, the sentence with the expression mode needing to be changed is input, and then the part of speech in the original sentence structure is identified by using AI software; the method establishes sentence pattern structure through machine self-learning and manpower, then utilizes AI software to identify the part of speech of the rewritten sentence pattern, and then rewrites the sentence pattern, thereby being beneficial to rewriting the same sentence pattern into various sentence patterns with different sentence pattern structures and same meanings.

Description

Method for computer to automatically rewrite sentence expression
Technical Field
The invention relates to the technical field of AI writing, in particular to a method for automatically rewriting sentence expression by a computer.
Background
The sentence expression is a word, the structural form of the sentence, the use of the sentence expression is very extensive, the sentence expression is used in the communication in daily life, wherein in the actual process of using the sentence expression, the meaning of one sentence expression can be usually expressed by another sentence expression or a plurality of sentence expressions, in order to express the same expression meaning by using different sentence expressions, it is necessary to design a method for automatically rewriting the sentence expression by a computer.
Disclosure of Invention
The present invention aims at providing one method of computer to rewrite sentence expression automatically to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme: a method for computer to automatically rewrite sentence expression includes the following steps: step one, finishing; step two, storing; step three, identifying; step four, expressing; step five, reforming;
in the first step, the sentence structure is firstly sorted;
in the second step, classifying and storing the same sentence pattern structure arranged in the first step to establish a sentence pattern structure database;
in the third step, the sentence with the expression mode needing to be changed is input, and then the part of speech in the original sentence structure is identified by using AI software;
in the fourth step, finding out the sentence pattern with the same meaning as the original sentence in the sentence pattern structure database for expression;
in the fifth step, the original sentence is modified into a sentence with the same meaning but different expression modes.
According to the technical scheme, in the first step, a sentence pattern structure is built manually and automatically by utilizing machine self-learning.
According to the technical scheme, in the first step, the sentence pattern structure comprises a main predicate sentence pattern, a fixed main predicate guest sentence pattern, a fixed main predicate sentence pattern and a main predicate guest complementation sentence pattern.
According to the technical scheme, in the third step, the part of speech includes a subject, a predicate, an object, a fixed term, a shape and a complement.
Compared with the prior art, the invention has the following beneficial effects: the method for automatically rewriting sentence expression in computer is characterized by that it utilizes machine self-learning and manual work to create sentence pattern structure, then utilizes AI software to make part of speech recognition of rewritten sentence pattern, then rewrites sentence pattern so as to favor that the same sentence pattern can be rewritten into various sentence patterns with different sentence pattern structures and identical meaning.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a technical solution: a method for computer to automatically rewrite sentence expression includes the following steps: step one, finishing; step two, storing; step three, identifying; step four, expressing; step five, reforming;
in the first step, the sentence pattern structure is firstly sorted, and the sentence pattern structure is manually established by machine self-learning and manpower, and has a main predicate sentence pattern, a main predicate guest sentence pattern, a fixed main predicate guest sentence pattern and a main predicate guest filling sentence pattern;
in the second step, classifying and storing the same sentence pattern structure arranged in the first step to establish a sentence pattern structure database;
in the third step, a sentence of which the expression mode needs to be changed is input, and then, the parts of speech in the structure of the original sentence are identified by using AI software, wherein the parts of speech comprise a subject, a predicate, an object, a predicate, a shape and a complement;
in the fourth step, finding out the sentence pattern with the same meaning as the original sentence in the sentence pattern structure database for expression;
in the fifth step, the original sentence is modified into a sentence with the same meaning but different expression modes.
Based on the above, the method has the advantages that the sentence pattern database is established by utilizing a dual method of machine self-learning and manual establishment, so that the method is favorable for rewriting the required rewritten sentence patterns into various sentence patterns with different structures and the same meaning, the method is favorable for rewriting the diversity of the sentence patterns, and the application range is improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (4)

1. A method for computer to automatically rewrite sentence expression includes the following steps: step one, finishing; step two, storing; step three, identifying; step four, expressing; step five, reforming; the method is characterized in that:
in the first step, the sentence structure is firstly sorted;
in the second step, classifying and storing the same sentence pattern structure arranged in the first step to establish a sentence pattern structure database;
in the third step, the sentence with the expression mode needing to be changed is input, and then the part of speech in the original sentence structure is identified by using AI software;
in the fourth step, finding out the sentence pattern with the same meaning as the original sentence in the sentence pattern structure database for expression;
in the fifth step, the original sentence is modified into a sentence with the same meaning but different expression modes.
2. The method for computer automatic sentence expression rewrite according to claim 1, characterized in that: in the first step, a sentence pattern structure is established manually by machine self-learning and manpower for sorting.
3. The method for computer automatic sentence expression rewrite according to claim 1, characterized in that: in the step one, the sentence pattern structure comprises a main predicate sentence pattern, a main predicate guest sentence pattern, a fixed main predicate guest sentence pattern and a main predicate guest filling sentence pattern.
4. The method for computer automatic sentence expression rewrite according to claim 1, characterized in that: in the third step, the part of speech includes subject, predicate, object, fixed, object and complement.
CN202011130320.0A 2020-10-21 2020-10-21 Method for computer to automatically rewrite sentence expression Pending CN112257414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011130320.0A CN112257414A (en) 2020-10-21 2020-10-21 Method for computer to automatically rewrite sentence expression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011130320.0A CN112257414A (en) 2020-10-21 2020-10-21 Method for computer to automatically rewrite sentence expression

Publications (1)

Publication Number Publication Date
CN112257414A true CN112257414A (en) 2021-01-22

Family

ID=74264180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011130320.0A Pending CN112257414A (en) 2020-10-21 2020-10-21 Method for computer to automatically rewrite sentence expression

Country Status (1)

Country Link
CN (1) CN112257414A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777018A (en) * 2016-12-08 2017-05-31 竹间智能科技(上海)有限公司 To the optimization method and device of read statement in a kind of intelligent chat robots
CN107004000A (en) * 2016-06-29 2017-08-01 深圳狗尾草智能科技有限公司 A kind of language material generating means and method
US20180082681A1 (en) * 2016-09-21 2018-03-22 Panasonic Intellectual Property Management Co., Ltd. Bilingual corpus update method, bilingual corpus update apparatus, and recording medium storing bilingual corpus update program
CN108959464A (en) * 2018-06-19 2018-12-07 李勤骞 Learning method and system containing auxiliary word
CN111027308A (en) * 2019-11-06 2020-04-17 厦门快商通科技股份有限公司 Text generation method, system, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107004000A (en) * 2016-06-29 2017-08-01 深圳狗尾草智能科技有限公司 A kind of language material generating means and method
US20180082681A1 (en) * 2016-09-21 2018-03-22 Panasonic Intellectual Property Management Co., Ltd. Bilingual corpus update method, bilingual corpus update apparatus, and recording medium storing bilingual corpus update program
CN106777018A (en) * 2016-12-08 2017-05-31 竹间智能科技(上海)有限公司 To the optimization method and device of read statement in a kind of intelligent chat robots
CN108959464A (en) * 2018-06-19 2018-12-07 李勤骞 Learning method and system containing auxiliary word
CN111027308A (en) * 2019-11-06 2020-04-17 厦门快商通科技股份有限公司 Text generation method, system, mobile terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢碧清: "中文句式改写算法研究", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN103810212B (en) Automated database index creation method and system
DE112018005894T5 (en) MACHINE LEARNING TO INTEGRATE KNOWLEDGE AND NATURAL LANGUAGE PROCESSING
Valmohammadi et al. Modeling cause and effect relationships of strategy map using fuzzy DEMATEL and fourth generation of balanced scorecard
CN104182484B (en) A kind of method and apparatus for realizing HBase data and the mapping of Java field object
CN104615646A (en) Intelligent chatting robot system
CN104933152A (en) Named entity recognition method and device
CN104408192B (en) The compression processing method and device of character string type row
CN106156082A (en) A kind of body alignment schemes and device
Hirshman et al. Specialization of ceramic production: a sherd assemblage based analytic perspective
CN104281615A (en) Complaint handling method and system
CN105045927A (en) Automatic coding method and system for data of labor, materials and machines of construction project
CN106886408A (en) It is applied to the intelligent decision system of robot software engineer
CN105279255A (en) Utilization method of structured teaching resources of knowledge and skill dependency relationship
CN106096842A (en) A kind of management information system in enterprise and construction method thereof
CN106980679A (en) A kind of information system Domestic Database migration remodeling method and device
CN109922131A (en) Date storage method, device, equipment and storage medium based on block chain
CN103929499B (en) A kind of Internet of Things isomery index identification method and system
EP1510935A1 (en) Mapping a data from a data warehouse to a data mart
Mosbah et al. Chinese family business in Malaysia: development, culture and the family business philosophy
CN112257414A (en) Method for computer to automatically rewrite sentence expression
CN114265957A (en) Multiple data source combined query method and system based on graph database
CN111368060A (en) Self-learning method, device and system for conversation robot, electronic equipment and medium
CN106980505A (en) A kind of domestic middleware migration remodeling method of information system and device
CN101576911A (en) Method and device for identifying automobile nickname in Chinese text
CN114818679A (en) Intelligent auxiliary labeling method and system for text data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122