CN106940637A - Acoustic control computational methods, device and user terminal - Google Patents
Acoustic control computational methods, device and user terminal Download PDFInfo
- Publication number
- CN106940637A CN106940637A CN201710147119.5A CN201710147119A CN106940637A CN 106940637 A CN106940637 A CN 106940637A CN 201710147119 A CN201710147119 A CN 201710147119A CN 106940637 A CN106940637 A CN 106940637A
- Authority
- CN
- China
- Prior art keywords
- result
- output
- calculating
- speech recognition
- voice data
- 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
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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
Abstract
Acoustic control computational methods, device and user terminal that the embodiment of the present application is provided receive the voice data of user input, and obtain the voice identification result of voice data, whether judge the calculating in voice identification result is Continuous plus, if, then the calculating in a preceding voice identification result is combined with the calculating in this voice identification result, result to be output is used as;Otherwise, using this voice identification result as result to be output, treat output result and carry out the first semantic analysis, according to the result of the first semantic analysis, obtain and export corresponding expression formula.The acoustic control computational methods that the embodiment of the present application is provided can receive the voice data for being used to calculate of user's oral account, and show corresponding mathematic(al) representation, compared with existing calculator, time of the user by input through keyboard can be saved, is conducive to improving the operating efficiency of user.
Description
Technical field
The application is related to field of computer technology, whole in particular to a kind of acoustic control computational methods, device and user
End.
Background technology
Calculator is the instrument that people often use in daily life, including entity calculator and computer and
The calculator that cell phone system is carried.Existing calculator is often required for by entity or virtual button input data, then
The output result after computing.
Existing calculator (or click on physical button or click on virtual key) arithmetic expression often by being manually entered, this
User is needed to pay close attention to the button of screen always so that user has to stop the work in hand, the consuming time is clicked on by button
Calculated, it is less efficient.
Apply for content
In view of this, the embodiment of the present application provides a kind of acoustic control computational methods, device and user terminal, can pass through sound
Prosecutor formula inputs arithmetic expression, and obtains result of calculation, compared with existing calculator, improves the operating efficiency of user.
To achieve the above object, the embodiment of the present application provides a kind of acoustic control computational methods, and methods described includes:Receive and use
The voice data for being used to calculate of family input;Obtain the voice identification result of the voice data;Judge the speech recognition knot
Whether the calculating in fruit is Continuous plus, if so, then by the calculating in a preceding voice identification result and this speech recognition knot
Calculating in fruit is combined as result to be output, if it is not, then regarding this voice identification result as the result to be output;
First semantic analysis is carried out to the result to be output, is obtained according to the result of first semantic analysis and exports corresponding number
Learn expression formula.
The embodiment of the present application additionally provides a kind of acoustic control computing device, and described device includes:Audio receiver module, for connecing
Receive the voice data for being used to calculate of user input;Sound identification module, the speech recognition knot for obtaining the voice data
Really;Continuous plus judge module, whether the calculating for judging in speech recognition result is Continuous plus, if so, then will
Calculating in a preceding voice identification result is combined as result to be output with the calculating in this voice identification result, if
It is no, then it regard this voice identification result as the result to be output;Expression formula output module, for the result to be output
The first semantic analysis is carried out, is obtained according to the result of first semantic analysis and exports corresponding mathematic(al) representation.
The embodiment of the present application additionally provides a kind of user terminal, and the user terminal includes memory and processor, described
Memory is couple to the processor, and the memory store instruction when executed by the processor, makes described
Operated below computing device:Receive the voice data for being used to calculate of user input;The voice for obtaining the voice data is known
Other result;Judge whether the calculating in institute's speech recognition result is Continuous plus, if so, then by a preceding voice identification result
In calculating with this voice identification result in calculating be combined as result to be output, if it is not, then this voice is known
Other result is used as the result to be output;First semantic analysis is carried out to the result to be output, according to described first semantic point
The result of analysis obtains and exports corresponding mathematic(al) representation.
Acoustic control computational methods that the embodiment of the present application is provided, device and user terminal have the beneficial effect that:
Acoustic control computational methods, device and user terminal that the embodiment of the present application is provided receive the voice data of user input,
And the voice identification result of voice data is obtained, whether be Continuous plus, if so, then if judging the calculating in voice identification result
Calculating in a preceding voice identification result is combined with the calculating in this voice identification result, result to be output is used as;It is no
Then, using this voice identification result as result to be output, treat output result and carry out the first semantic analysis, it is semantic according to first
The result of analysis, obtains and exports corresponding expression formula.The acoustic control computational methods that the embodiment of the present application is provided can receive user
The voice data for being used to calculate of oral account, and corresponding mathematic(al) representation is shown, compared with existing calculator, use can be saved
Family is conducive to improving the operating efficiency of user by the time of input through keyboard.
Brief description of the drawings
, below will be to embodiment or existing for clearer explanation the embodiment of the present application or technical scheme of the prior art
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the applied environment schematic diagram of the embodiment of the present application;
Fig. 2 shows the structured flowchart for the user terminal that the embodiment of the present application is provided;
Fig. 3 shows the schematic flow sheet for the acoustic control computational methods that the application first embodiment is provided;
Fig. 4 shows the specific steps schematic diagram of step S2 in Fig. 3;
Fig. 5 shows the specific steps schematic diagram of step S6 in Fig. 3;
Fig. 6 shows a kind of schematic flow sheet of embodiment of first embodiment;
Fig. 7 shows the specific steps schematic diagram of step S7 in Fig. 6;
Fig. 8 shows the specific steps schematic diagram of step S71 in Fig. 7;
Fig. 9 shows the schematic diagram of the tree structure in the embodiment of the present application;
Figure 10 shows display interface of the embodiment of the present application in the display screen of user terminal;
Figure 11 shows the structured flowchart for the acoustic control computing device that the application second embodiment is provided;
Figure 12 shows the structural representation of the sound identification module in Figure 11.
Embodiment
The following each embodiments of the application can be applied in environment as shown in Figure 1.As shown in figure 1, server 10 passes through
Network 30 is communicatively coupled with one or more user terminals 20, to enter row data communication or interaction.In the embodiment of the present application
In, client is installed in user terminal 20, the client can be application program, corresponding with server 10, so as to use
Family provides service (for example receiving recording, display arithmetic expression and operation result).The server 10 can be database server,
Multiple servers such as instant communication server, the webserver, authentication server or a server.The user
Terminal 20 can be PC (personal computer, PC), panel computer, smart mobile phone, E-book reader, knee
Mo(u)ld top half pocket computer, vehicle-mounted computer, Intelligent worn device etc..The network 30 can be wireless network or cable network, example
Such as wireless network may be, but not limited to, Wi-Fi (Wireless Fidelity) network, 2G/3G/4G networks.
Fig. 2 shows a kind of structured flowchart for the user terminal 20 that can be applied in the embodiment of the present application.As shown in Fig. 2
The user terminal 20 includes memory 202, storage control 204, one or more (one is only shown in figure) processors
206th, Peripheral Interface 208, radio-frequency module 210, audio-frequency module 212, Touch Screen 214 etc..These components pass through one or more
Communication bus/signal wire 216 is mutually communicated.
Acoustic control computational methods that memory 202 can be used in storage software program and module, such as the embodiment of the present application and
Corresponding programmed instruction/the module of device, processor 206 is stored in software program and module in memory 202 by operation,
So as to perform various function application and data processing, the data processing method that such as the embodiment of the present application is provided.
Memory 202 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.Processor 206 and other possible components are to storage
The access of device 202 can be carried out under the control of storage control 204.
Various input/output devices are coupled to processor 206 and memory 202 by Peripheral Interface 208.In some implementations
In example, Peripheral Interface 208, processor 206 and storage control 204 can be realized in one single chip.In some other reality
In example, they can be realized by independent chip respectively.
Radio-frequency module 210 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with
Communication network or other equipment are communicated.
Audio-frequency module 212 provides a user COBBAIF, and it may include one or more microphones, one or more raises
Sound device and voicefrequency circuit.
Touch Screen 214 provides an output and inputting interface simultaneously between user terminal 20 and user.Specifically, touch
Control screen 214 and show video frequency output to user, the contents of these video frequency outputs may include word, figure, video and its any group
Close.
It is appreciated that the structure shown in Fig. 2 be only signal, user terminal 20 may also include it is more more than shown in Fig. 2 or
Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, software or its
Combination is realized.
First embodiment
Fig. 3 shows a kind of flow chart for acoustic control computational methods that the application first embodiment is provided, referring to Fig. 3, this
Embodiment describes the handling process of user terminal, and methods described includes:
Step S1, receives the voice data for being used to calculate of user input.
User can specifically be recorded by user terminal, and typing is used for the voice data calculated.User terminal is specific
PC (personal computer, PC), panel computer, smart mobile phone etc. can be included.
Step S2, obtains the voice identification result of the voice data.
User terminal is received after voice data, can be sent voice data to server, so that the server is to institute
State voice data and carry out speech recognition, obtain institute's speech recognition result.Then user terminal again the reception server send language
Sound recognition result.
Details refer to Fig. 4, and Fig. 4 shows step S2 specific steps, comprised the following steps:
Step S21, the voice data is sent to server, so that the server carries out language to the voice data
Sound is recognized, obtains institute's speech recognition result.
Server recording can be identified based on third party's speech-recognition services, can also be based on depth learning technology
Speech recognition system, voice identification result is specifically as follows Chinese recognition result.Server based on third party's speech recognition
Service can utilize existing speech-recognition services.It is to this that the process that voice data carries out speech recognition, which should not be construed,
The limitation of application.
Step S22, receives institute's speech recognition result that the server is sent.
Server carries out speech recognition to voice data, obtains after voice identification result, voice identification result is sent to
User terminal.
Whether the calculating in step S3, institute's speech recognition result is Continuous plus, if so, then performing step S5;If it is not,
Then perform step S4.
Specifically, user terminal may determine that whether the first Chinese character of the calculating in voice identification result is default Chinese Character Set
In Chinese character, if so, judge voice identification result in be calculated as Continuous plus, otherwise, then judge voice identification result in
Calculates be not Continuous plus.
Step S4, regard this voice identification result as the result to be output.
If not if Continuous plus, this voice identification result can be regard as the result to be output.I.e. not with it is preceding
One time voice identification result produces contact, is directly analyzed according to this voice identification result.
Step S5, the calculating in a preceding voice identification result is combined with the calculating in this voice identification result
It is used as result to be output.
If if Continuous plus, then illustrating that complete mathematical expression can not be drawn according only to this voice identification result
Formula, for example, previous voice identification result is " three Jia five ", this voice identification result is " plus two ", will voice twice
Recognition result is combined, that is, obtains " three plus slender acanthopanax two ".
Specifically, after step s 3, the step of can also including being based on phonetic error correction, i.e., according to the pronunciation of user,
Presetting to allow the interior corresponding Chinese character of acquisition of Chinese scope of input, the phonetic of the pronunciation of such as acquisition is jia, corresponding
Chinese result except " plus " be possible " family " or " good ", it is presetting allow input Chinese scope can only include " plus ",
Be conducive to improving the speed of speech recognition.
Step S6, carries out the first semantic analysis to the result to be output, is obtained according to the result of first semantic analysis
Obtain and export corresponding mathematic(al) representation.
Specifically, result to be output first can be divided into multiple phrases, searches and distinguish with each phrase in multiple phrases
Corresponding character, character includes numeral and operator, then exports above-mentioned numeral and operator.Mathematic(al) representation specifically can be with
Expressed by LaTeX forms.
Details refer to Fig. 5, and Fig. 5 shows step S6 specific steps, comprised the following steps:
Step S61, is divided into multiple phrases by the result to be output.
Result to be output is divided into multiple phrases by user terminal, and result to be output is Chinese recognition result, for example, specifically may be used
Think:Bracket six plus three brackets multiply two.User terminal can be specifically classified as:" bracket ", " six ", " plus ", " three ", " include
Number ", " multiplying ", " two ".
Step S62, search includes numeral with the corresponding character of each phrase difference in the multiple phrase, the character
And operator.
In the server of user terminal, each phrase searched in multiple phrases distinguishes corresponding character.For example, " including
Numbers six plus three brackets multiply first bracket in two " before do not mention bracket, then correspond to " (";Six correspond to Arabic numerals
6, plus correspondence operator+, three correspond to Arabic numerals 3, second bracket and first bracket " (" is corresponding, therefore is ") ".Multiply
Correspondence operator ×, two correspondence Arabic numerals 2.
Step S63, exports the character.
Above-mentioned character is exported, corresponding mathematic(al) representation just can be obtained, be i.e. (6+3) × 2.
Details refer to Fig. 6, and Fig. 6 shows a kind of embodiment of the application first embodiment, and shown in Fig. 3
Acoustic control computational methods are compared, and difference is:
Also include step S7:Second semantic analysis is carried out to the result to be output, according to second semantic analysis
As a result obtain and export corresponding operation result.
Details refer to Fig. 7, and Fig. 7 shows step S7 specific steps, including:
Step S71, based on context Grammars the result to be output is changed into tree structure.
Can specifically use syntax analysis instrument (AntLR) to Chinese text representation semanteme analyze, can first by
Result to be output is divided into multiple phrases, and multiple phrases include multiple digital phrases and multiple operator phrases.Obtain many numbers
The corresponding Arabic numerals of each digital phrase in words group, obtain each operator phrase pair in multiple operator phrases
The functional operation expression formula answered, then based on context Grammars, Arabic numerals and functional operation expression formula are converted
For tree structure.
Step S72, is traveled through by recursive traversal to the tree structure, obtains corresponding operation result.
Tree structure is traveled through by way of recursive traversal, to obtain operation result.It is of course also possible to pass through it
His traversal mode is traveled through to tree structure, such as depth-first traversal or breadth first traversal.
Operation result and corresponding expression formula can show that details refer to Figure 10 in the display screen of user terminal.
Details refer to Fig. 8, and Fig. 8 shows step S71 specific steps:
Step S711, is divided into multiple phrases by the result to be output, the multiple phrase include multiple digital phrases with
And multiple operator phrases.
Result to be output is divided into phrase, phrase includes digital phrase and operator phrase.
Step S712, obtains the corresponding Arabic numerals of each digital phrase in multiple digital phrases.
For digital phrase, corresponding database is searched, Arabic numerals corresponding with digital phrase are obtained.
Step S713, obtains the corresponding functional operation expression formula of each operator phrase in multiple operator phrases.
For operator phrase, corresponding database is searched, for example " the corresponding function of radical sign in radical sign three " is SQRT
()。
Step S714, according to being context-free grammar, the Arabic numerals and functional operation expression formula are converted
For tree structure.
Context-free grammar is a kind of important transformational grammar in Formal Language Theory, for describing context-free language
Speech, is referred to as type 2 grammar in Qiao Musi layerings.Arabic numerals and functional operation expression formula are converted into showing for tree structure
Intention refers to Fig. 9, here for ease of understanding, with Chinese description related meanings.
Specifically, tree structure is converted into for " one, which Jia two, multiplies three squares for the multiplying four " voice identification result, according to fortune
Priority is calculated, power operation is first determined whether, if there is (i.e. four square in Fig. 9), is placed on the most lower of tree structure
Layer, then bracket is determined whether, do not have;Then continue to determine whether that two in multiplication and division computing, i.e. Fig. 9 multiply three power exponentiations, will
Multiplication and division computing is placed in the secondary lower floor of tree structure;Then one plus the multiplication and division expression in plus and minus calculation, i.e. Fig. 9 are determined whether
Formula, plus and minus calculation is placed in the upper strata of tree structure, and the embodiment of the present application can specifically press the computing of priority from high to low
Arranged according to order from top to bottom.
The acoustic control computational methods that the embodiment of the present application is provided can receive the voice data for being used to calculate of user's oral account, and
Corresponding mathematic(al) representation is shown, compared with existing calculator, time of the user by input through keyboard can be saved, be conducive to
Improve the operating efficiency of user.
Second embodiment
The embodiment of the present application additionally provides a kind of acoustic control computing device, and details refer to Figure 10, and Figure 10 shows acoustic control meter
Display interface of the device in the display screen of user terminal is calculated, Figure 11 shows that the acoustic control that the application second embodiment is provided calculates dress
Put.The device 100 includes:
Audio receiver module 110, the voice data for being used to calculate for receiving user input.
Sound identification module 120, the voice identification result for obtaining the voice data.
Continuous plus judge module 130, whether the calculating for judging in speech recognition result is Continuous plus, if
It is then to be combined the calculating in a preceding voice identification result as to be output with the calculating in this voice identification result
As a result, if it is not, then regarding this voice identification result as the result to be output.
Expression formula output module 140, for carrying out the first semantic analysis to the result to be output, according to first language
The result of justice analysis obtains and exports corresponding mathematic(al) representation.
Acoustic control computing device shown in Figure 11 is corresponding with the acoustic control computational methods shown in Fig. 3, does not just repeat herein.
Figure 12 shows the module frame chart of sound identification module 120, including:
Voice data sending module 121, for the voice data to be sent to server, so that the server is to institute
State voice data and carry out speech recognition, obtain institute's speech recognition result.
Recognition result receiver module 122, for receiving institute's speech recognition result that the server is sent.
The step of sound identification module shown in Figure 12 is shown with Fig. 4 is corresponding identical, does not just repeat herein.
Acoustic control computational methods, device and user terminal that the embodiment of the present application is provided receive the voice data of user input,
And the voice identification result of voice data is obtained, whether judge the calculating in voice identification result is Continuous plus.If so, then
Calculating in a preceding voice identification result is combined with the calculating in this voice identification result, result to be output is used as;It is no
Then, it regard this voice identification result as result to be output.Treat output result and carry out the first semantic analysis, it is semantic according to first
The result of analysis, obtains and exports corresponding expression formula.The acoustic control computational methods that the embodiment of the present application is provided can receive user
The voice data for being used to calculate of oral account, and corresponding mathematic(al) representation is shown, compared with existing calculator, use can be saved
Family is conducive to improving the operating efficiency of user by the time of input through keyboard.
In the embodiment of the present application, whole voice datas can be obtained and export mathematics corresponding with whole voice datas again
Expression formula and operation result, can also perform calculating process while voice data is obtained, and with the computing of intermediate computations
As a result bring into the expression formula corresponding to the voice data that next will be inputted.That is the Input Process of voice data and computing
It is limitation to the application that the sequencing that both processes are performed, which should not be construed,.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to.
For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined
See the part explanation of embodiment of the method.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show the devices of multiple embodiments according to the application, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code
Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more
Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action
Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in the application each embodiment can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, the technical scheme of the application is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of the application each embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with
Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation there is any this reality
The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including
Other key elements being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, article or equipment in also there is other identical element.
The preferred embodiment of the application is the foregoing is only, the application is not limited to, for the skill of this area
For art personnel, the application can have various modifications and variations.It is all within spirit herein and principle, made any repair
Change, equivalent, improvement etc., should be included within the protection domain of the application.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
The above, the only embodiment of the application, but the protection domain of the application is not limited thereto, and it is any
Those familiar with the art can readily occur in change or replacement in the technical scope that the application is disclosed, and should all contain
Cover within the protection domain of the application.Therefore, the protection domain of the application described should be defined by scope of the claims.
Claims (10)
1. a kind of acoustic control computational methods, it is characterised in that methods described includes:
Receive the voice data for being used to calculate of user input;
Obtain the voice identification result of the voice data;
Judge whether the calculating in institute's speech recognition result is Continuous plus, if so, then by a preceding voice identification result
Calculating with this voice identification result in calculating be combined as result to be output, if it is not, then by this speech recognition
As a result as the result to be output;
First semantic analysis is carried out to the result to be output, is obtained according to the result of first semantic analysis and exports correspondence
Mathematic(al) representation.
2. according to the method described in claim 1, it is characterised in that the voice identification result for obtaining the voice data,
Including:
The voice data is sent to server, so that the server carries out speech recognition to the voice data, obtained
Institute's speech recognition result;
Receive institute's speech recognition result that the server is sent.
3. method according to claim 1 or 2, it is characterised in that the calculating in judgement institute speech recognition result
Whether it is Continuous plus, including:
Whether the first Chinese character for judging the calculating in institute's speech recognition result is to preset the Chinese character in Chinese Character Set, if so, then sentencing
Determine to be calculated as Continuous plus in institute's speech recognition result.
4. according to the method described in claim 1, it is characterised in that described that first semantic point is carried out to the result to be output
Analysis, obtains according to the result of first semantic analysis and exports corresponding mathematic(al) representation, including:
The result to be output is divided into multiple phrases;
Search includes numeral and operator with the corresponding character of each phrase difference in the multiple phrase, the character;
Export the character.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
Second semantic analysis is carried out to the result to be output, is obtained according to the result of second semantic analysis and exports correspondence
Operation result.
6. method according to claim 5, it is characterised in that described that second semantic point is carried out to the result to be output
Analysis, obtains according to the result of second semantic analysis and exports corresponding operation result, including:
Based on context the result to be output is changed into tree structure by Grammars;
The tree structure is traveled through by recursive traversal, corresponding operation result is obtained.
7. method according to claim 6, it is characterised in that the based on context Grammars are by the knot to be output
Fruit changes into tree structure, including:
The result to be output is divided into multiple phrases, the multiple phrase includes multiple digital phrases and multiple operator words
Group;
Obtain the corresponding Arabic numerals of each digital phrase in multiple digital phrases;
Obtain the corresponding functional operation expression formula of each operator phrase in multiple operator phrases;
According to being context-free grammar, the Arabic numerals and functional operation expression formula are converted into tree structure.
8. a kind of acoustic control computing device, is arranged at user terminal, it is characterised in that including:
Audio receiver module, the voice data for being used to calculate for receiving user input;
Sound identification module, the voice identification result for obtaining the voice data;
Continuous plus judge module, whether the calculating for judging in speech recognition result is Continuous plus, if so, then will
Calculating in a preceding voice identification result is combined as result to be output with the calculating in this voice identification result, if
It is no, then it regard this voice identification result as the result to be output;
Expression formula output module, for carrying out the first semantic analysis to the result to be output, according to first semantic analysis
Result obtain and export corresponding mathematic(al) representation.
9. device according to claim 8, it is characterised in that the sound identification module includes:
Voice data sending module, for the voice data to be sent to server, so that the server is to the audio
Data carry out speech recognition, obtain institute's speech recognition result;
Recognition result receiver module, for receiving institute's speech recognition result that the server is sent.
10. a kind of user terminal, it is characterised in that the user terminal includes memory and processor, the memory coupling
To the processor, the memory store instruction when executed by the processor, makes the computing device
Operate below:
Receive the voice data for being used to calculate of user input;
Obtain the voice identification result of the voice data;
Judge whether the calculating in institute's speech recognition result is Continuous plus, if so, then by a preceding voice identification result
Calculating with this voice identification result in calculating be combined as result to be output, if it is not, then by this speech recognition
As a result as the result to be output;
First semantic analysis is carried out to the result to be output, is obtained according to the result of first semantic analysis and exports correspondence
Mathematic(al) representation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147119.5A CN106940637A (en) | 2017-03-13 | 2017-03-13 | Acoustic control computational methods, device and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147119.5A CN106940637A (en) | 2017-03-13 | 2017-03-13 | Acoustic control computational methods, device and user terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106940637A true CN106940637A (en) | 2017-07-11 |
Family
ID=59468761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710147119.5A Pending CN106940637A (en) | 2017-03-13 | 2017-03-13 | Acoustic control computational methods, device and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106940637A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153700A (en) * | 2017-12-14 | 2018-06-12 | 北京酷我科技有限公司 | The implementation method of acoustical calculater on a kind of iOS |
CN110473551A (en) * | 2019-09-10 | 2019-11-19 | 北京百度网讯科技有限公司 | A kind of audio recognition method, device, electronic equipment and storage medium |
CN110633474A (en) * | 2019-09-26 | 2019-12-31 | 北京声智科技有限公司 | Mathematical formula identification method, device, equipment and readable storage medium |
CN110990552A (en) * | 2019-12-18 | 2020-04-10 | 北京声智科技有限公司 | Method and device for determining operation sequence of natural language formula |
CN111144125A (en) * | 2019-12-04 | 2020-05-12 | 深圳追一科技有限公司 | Text information processing method and device, terminal equipment and storage medium |
CN111651961A (en) * | 2020-04-15 | 2020-09-11 | 北京捷通华声科技股份有限公司 | Voice-based input method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164393A (en) * | 2013-04-12 | 2013-06-19 | 中国农业银行股份有限公司 | Method and system of report formula processing |
CN103186247A (en) * | 2011-12-31 | 2013-07-03 | 北大方正集团有限公司 | Formula input method and system |
CN104484156A (en) * | 2014-12-16 | 2015-04-01 | 用友软件股份有限公司 | Editing method for multilingual formula, editing system for multilingual formula and editor for multilingual formula |
CN105608042A (en) * | 2014-11-16 | 2016-05-25 | 陕西金合泰克信息科技发展有限公司 | Portable office sound control calculator |
CN106406562A (en) * | 2016-08-31 | 2017-02-15 | 北京小米移动软件有限公司 | Data processing method and device |
-
2017
- 2017-03-13 CN CN201710147119.5A patent/CN106940637A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186247A (en) * | 2011-12-31 | 2013-07-03 | 北大方正集团有限公司 | Formula input method and system |
CN103164393A (en) * | 2013-04-12 | 2013-06-19 | 中国农业银行股份有限公司 | Method and system of report formula processing |
CN105608042A (en) * | 2014-11-16 | 2016-05-25 | 陕西金合泰克信息科技发展有限公司 | Portable office sound control calculator |
CN104484156A (en) * | 2014-12-16 | 2015-04-01 | 用友软件股份有限公司 | Editing method for multilingual formula, editing system for multilingual formula and editor for multilingual formula |
CN106406562A (en) * | 2016-08-31 | 2017-02-15 | 北京小米移动软件有限公司 | Data processing method and device |
Non-Patent Citations (1)
Title |
---|
张守志: "《编译技术》", 31 January 2004, 高等教育出版社 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153700A (en) * | 2017-12-14 | 2018-06-12 | 北京酷我科技有限公司 | The implementation method of acoustical calculater on a kind of iOS |
CN110473551A (en) * | 2019-09-10 | 2019-11-19 | 北京百度网讯科技有限公司 | A kind of audio recognition method, device, electronic equipment and storage medium |
CN110633474A (en) * | 2019-09-26 | 2019-12-31 | 北京声智科技有限公司 | Mathematical formula identification method, device, equipment and readable storage medium |
CN111144125A (en) * | 2019-12-04 | 2020-05-12 | 深圳追一科技有限公司 | Text information processing method and device, terminal equipment and storage medium |
CN111144125B (en) * | 2019-12-04 | 2021-08-10 | 深圳追一科技有限公司 | Text information processing method and device, terminal equipment and storage medium |
CN110990552A (en) * | 2019-12-18 | 2020-04-10 | 北京声智科技有限公司 | Method and device for determining operation sequence of natural language formula |
CN111651961A (en) * | 2020-04-15 | 2020-09-11 | 北京捷通华声科技股份有限公司 | Voice-based input method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106940637A (en) | Acoustic control computational methods, device and user terminal | |
US10515627B2 (en) | Method and apparatus of building acoustic feature extracting model, and acoustic feature extracting method and apparatus | |
CN109408526B (en) | SQL sentence generation method, device, computer equipment and storage medium | |
CN107657017A (en) | Method and apparatus for providing voice service | |
CN107491547A (en) | Searching method and device based on artificial intelligence | |
CN109271493A (en) | A kind of language text processing method, device and storage medium | |
CN111368548A (en) | Semantic recognition method and device, electronic equipment and computer-readable storage medium | |
CN107305578A (en) | Human-machine intelligence's answering method and device | |
CN106935239A (en) | The construction method and device of a kind of pronunciation dictionary | |
CN107707745A (en) | Method and apparatus for extracting information | |
CN108052505A (en) | Text emotion analysis method and device, storage medium, terminal | |
CN107357787A (en) | Semantic interaction method, apparatus and electronic equipment | |
CN111341299B (en) | Voice processing method and device | |
CN107437417A (en) | Based on speech data Enhancement Method and device in Recognition with Recurrent Neural Network speech recognition | |
CN110277088A (en) | Intelligent voice recognition method, device and computer readable storage medium | |
CN110648691A (en) | Emotion recognition method, device and system based on energy value of voice | |
CN111651497A (en) | User label mining method and device, storage medium and electronic equipment | |
CN113284502A (en) | Intelligent customer service voice interaction method and system | |
CN107862058A (en) | Method and apparatus for generating information | |
CN113763937A (en) | Method, device and equipment for generating voice processing model and storage medium | |
CN104679733B (en) | A kind of voice dialogue interpretation method, apparatus and system | |
CN111144118A (en) | Method, system, device and medium for identifying named entities in spoken text | |
CN107835305A (en) | Data inputting method and device for the terminal device with screen | |
CN110910905B (en) | Mute point detection method and device, storage medium and electronic equipment | |
CN114490965B (en) | Question processing method and device, electronic equipment and storage medium |
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: 20170711 |