CN115268823A - Method for controlling office software through voice - Google Patents
Method for controlling office software through voice Download PDFInfo
- Publication number
- CN115268823A CN115268823A CN202210859748.1A CN202210859748A CN115268823A CN 115268823 A CN115268823 A CN 115268823A CN 202210859748 A CN202210859748 A CN 202210859748A CN 115268823 A CN115268823 A CN 115268823A
- Authority
- CN
- China
- Prior art keywords
- voice
- text
- command
- comparison
- office software
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Acoustics & Sound (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method for controlling office software through voice, which comprises the following steps of S1, inputting voice; s2, voice stream pickup; s3, sending the voice stream into a voice server for recognition, outputting a recognition result as text data, and taking the text data as a keyword; s4, calling a text command library by taking the keywords as command texts, searching, and executing the step S7 if a matched text command is searched, or executing the step S5; s5, sending the text data to a data server for fuzzy comparison, including one or more of pinyin comparison, polyphone comparison, dialect comparison and homophone comparison, and finding out multiple groups of comparison data; s6, performing weight operation on the multiple groups of comparison data, analyzing a new keyword, and executing the step S4; s7, controlling corresponding office software to calculate according to the text command; has the advantages of improving the working efficiency and the like.
Description
Technical Field
The invention relates to the technical field of office work, in particular to a method for controlling office software through voice.
Background
More and more office software and intelligent office appliances are used frequently, and the different using methods of a plurality of office appliances and office software can cause the reduction of the working efficiency of unfamiliar workers, so that a method capable of unifying the office appliances and the office software is urgently needed to improve the working efficiency.
The invention provides a method for controlling office software through voice, which solves the problems.
Disclosure of Invention
The invention aims to solve the technical problems that the existing office software and office appliances are numerous, so that the use is unfamiliar and the working efficiency is low;
a method for controlling office software through voice is provided, and comprises the following steps:
s1, inputting voice;
s2, voice stream pickup;
s3, sending the voice stream into a voice server for recognition, outputting a recognition result as text data, and taking the text data as a keyword;
s4, calling a text command library by taking the keywords as command texts to search, and executing the step S7 if the matched text commands are searched, or executing the step S5 if the matched text commands are searched;
s5, sending the text data to a data server for fuzzy comparison, including one or more of pinyin comparison, polyphone comparison, dialect comparison and homophone comparison, and finding out multiple groups of comparison data;
s6, performing weight operation on the multiple groups of comparison data, analyzing a new keyword, and executing the step S4;
and S7, controlling corresponding office software to calculate according to the text command.
Further, starting an operation program, wherein the operation program acquires audio stream control authority from an operation system where office software is located; after the authority is obtained, opening a microphone to try to obtain an audio stream, and automatically testing whether the audio equipment is available; after the audio equipment is available for testing, entering a waiting voice input state; then, the step S1 is performed.
Further, in step S6, the keywords include command keywords and target object keywords, the executable scheme is called from the database according to the command keywords to generate a macro command, and finally, the macro command is combined with the target object keywords to generate a command text, and then step S7 is executed.
Further, the voice server is a cloud server.
Further, in step S4, if the matching text is not searched for the first time, the keyword is split into phrases, the split phrases are respectively searched for texts, step S7 is executed after the corresponding command text is searched for, and if the matching text is not searched for, step S5 is executed.
Further, the text command library is a preset value and is set by one or more methods of manual input of an operator and an internet information acquisition mode.
The implementation of the invention has the following beneficial effects:
the invention can uniformly utilize voice to control office software and office equipment, thereby improving the operation efficiency of users.
Drawings
FIG. 1 is a schematic diagram of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings.
Example one
In the embodiment, referring to fig. 1 of the specification, the technical problem to be solved by the embodiment is that the existing office software and office appliances are numerous, so that the use is unfamiliar and the working efficiency is low;
a method for controlling office software through voice is provided, and comprises the following steps:
s1, inputting voice;
s2, voice stream pickup;
s3, sending the voice stream into a voice server for recognition, outputting a recognition result as text data, and taking the text data as a keyword;
s4, calling a text command library by taking the key words as command texts to search, and searching matched text commands;
and S5, controlling corresponding office software to calculate according to the text command.
In a specific embodiment, an operating program is started, and the operating program acquires audio stream control authority from an operating system where office software is located; after the authority is obtained, opening a microphone to try to obtain an audio stream, and automatically testing whether the audio equipment is available; after the audio equipment is available for testing, entering a voice input waiting state; then, the step S1 is performed.
In a specific embodiment, the voice server is a cloud server.
In a specific embodiment, in step S4, if the matching text is not searched for the first time, the keyword is split into phrases, the split phrases are respectively searched for texts, and step S5 is executed after the corresponding command text is searched for.
In a specific embodiment, the text command library is a preset value, and is set by one or more methods of manual input by an operator and internet information acquisition.
The implementation of the invention has the following beneficial effects:
the invention can uniformly utilize voice to control office software and office equipment, thereby improving the operation efficiency of users.
Example two
In the embodiment, referring to the attached drawing 1 of the specification, the technical problem to be solved by the embodiment is that the existing office software and office appliances are numerous, so that the use is unfamiliar and the working efficiency is low;
a method for controlling office software through voice is provided, and comprises the following steps:
s1, inputting voice;
s2, voice stream pickup;
s3, sending the voice stream into a voice server for recognition, outputting a recognition result as text data, and taking the text data as a keyword;
s4, calling a text command library by taking the keywords as command texts to search, and executing the step S7 if the matched text commands are searched, or executing the step S5 if the matched text commands are searched;
s5, sending the text data to a data server for fuzzy comparison, including one or more of pinyin comparison, polyphone comparison, dialect comparison and homophone comparison, and finding out multiple groups of comparison data;
s6, performing weight operation on the multiple groups of comparison data, analyzing a new keyword, and executing the step S4;
and S7, controlling corresponding office software to calculate according to the text command.
In a specific implementation mode, an operating program is started, and the operating program acquires audio stream control authority from an operating system where office software is located; after the authority is obtained, opening a microphone to try to obtain an audio stream, and automatically testing whether the audio equipment is available; after the audio equipment is available for testing, entering a voice input waiting state; then, the step S1 is performed.
In a specific embodiment, in step S6, the keywords include a command keyword and a target object keyword, the executable scheme is called from the database according to the command keyword to generate a macro command, and finally, the macro command and the target object keyword are combined to generate a command text, and then step S7 is performed.
In a specific embodiment, the voice server is a cloud server.
In a specific embodiment, in step S4, if the matching text cannot be retrieved for the first time, the keyword is split into phrases, the split phrases are respectively retrieved for texts, and step S7 is executed after the corresponding command text is retrieved, otherwise, step S5 is executed.
In a specific embodiment, the text command library is a preset value, and is set by one or more methods of manual input by an operator and internet information acquisition.
The implementation of the invention has the following beneficial effects:
the invention can uniformly utilize voice to control office software and office equipment, thereby improving the operation efficiency of users.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (6)
1. A method for controlling office software through voice, comprising:
s1, inputting voice;
s2, voice stream pickup;
s3, sending the voice stream into a voice server for recognition, outputting a recognition result as text data, and taking the text data as a keyword;
s4, calling a text command library by taking the keywords as command texts to search, and executing the step S7 if the matched text commands are searched, or executing the step S5 if the matched text commands are searched;
s5, sending the text data to a data server for fuzzy comparison, including one or more of pinyin comparison, polyphone comparison, dialect comparison and homophone comparison, and finding out multiple groups of comparison data;
s6, performing weight operation on the multiple groups of comparison data, analyzing a new keyword, and executing the step S4;
and S7, controlling corresponding office software to calculate according to the text command.
2. The method for controlling office software through voice according to claim 1, wherein an operating program is started, and the operating program acquires the audio stream control authority from an operating system where the office software is located; after the authority is obtained, a microphone is opened to try to obtain an audio stream, and whether the audio equipment is available or not is automatically tested; after the audio equipment is available for testing, entering a waiting voice input state; then, the step S1 is performed.
3. The method for controlling office software by voice according to claim 1, wherein in the step S6, the keywords include command keywords and target object keywords, the executable scheme is called from the database according to the command keywords to generate the macro command, and finally the macro command is combined with the target object keywords to generate the command text, and then the step S7 is performed.
4. The method for controlling office software through voice according to claim 1, wherein the voice server is a cloud server.
5. The method for controlling office software through voice according to claim 1, wherein in step S4, if the text is not searched for the first time, the keyword is split into phrases, the split phrases are respectively searched for texts, step S7 is executed after the corresponding command text is searched for, and if the text is not searched for, step S5 is executed.
6. The method of claim 1, wherein the text command library is a preset value set by one or more of manual input by an operator and internet information acquisition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210859748.1A CN115268823A (en) | 2022-07-19 | 2022-07-19 | Method for controlling office software through voice |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210859748.1A CN115268823A (en) | 2022-07-19 | 2022-07-19 | Method for controlling office software through voice |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115268823A true CN115268823A (en) | 2022-11-01 |
Family
ID=83767051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210859748.1A Pending CN115268823A (en) | 2022-07-19 | 2022-07-19 | Method for controlling office software through voice |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115268823A (en) |
-
2022
- 2022-07-19 CN CN202210859748.1A patent/CN115268823A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3633521A1 (en) | Knowledge-based question answering system for the diy domain | |
US7720674B2 (en) | Systems and methods for processing natural language queries | |
US6684183B1 (en) | Generic natural language service creation environment | |
KR100772660B1 (en) | Dialog management system, and method of managing dialog using example-based dialog modeling technique | |
CN110968245B (en) | Operation method for controlling office software through voice | |
US20230409566A1 (en) | Combining parameters of multiple search queries that share a line of inquiry | |
WO2015147702A1 (en) | Voice interface method and system | |
CN105391730A (en) | Information feedback method, device and system | |
WO2013071305A2 (en) | Systems and methods for manipulating data using natural language commands | |
CN116737908A (en) | Knowledge question-answering method, device, equipment and storage medium | |
US20220068267A1 (en) | Method and apparatus for recognizing speech, electronic device and storage medium | |
CN101616221B (en) | Guidance information display device, guidance information display method | |
CN110890090B (en) | Context-based auxiliary interaction control method and system | |
JP4420210B2 (en) | Program development support apparatus and processing method | |
CN113779987A (en) | Event co-reference disambiguation method and system based on self-attention enhanced semantics | |
Wang et al. | A framework for intelligent building information spoken dialogue system (iBISDS) | |
CN115268823A (en) | Method for controlling office software through voice | |
KR101433506B1 (en) | Operation method of energy management system using an isolated language voice recognition | |
CN115438142B (en) | Conversational interactive data analysis report system | |
JP2019200582A (en) | Search device, search method, and search program | |
JP2009245456A (en) | Program development support device and processing method | |
US8051026B2 (en) | Rules collector system and method with user interaction | |
CN108090112A (en) | The exchange method and device of a kind of search interface | |
CN112395402A (en) | Depth model-based recommended word generation method and device and computer equipment | |
CN114238595A (en) | Metallurgical knowledge question-answering method and system based on knowledge graph |
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 |