CN1396541A - Method and device based on text speech library for inquiring and reproducing phrases - Google Patents

Method and device based on text speech library for inquiring and reproducing phrases Download PDF

Info

Publication number
CN1396541A
CN1396541A CN 02117943 CN02117943A CN1396541A CN 1396541 A CN1396541 A CN 1396541A CN 02117943 CN02117943 CN 02117943 CN 02117943 A CN02117943 A CN 02117943A CN 1396541 A CN1396541 A CN 1396541A
Authority
CN
China
Prior art keywords
word
paragraph
processing unit
central processing
speech
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
CN 02117943
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.)
NANSHAN HI-TECH Co Ltd BEIJING
Original Assignee
NANSHAN HI-TECH Co Ltd BEIJING
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 NANSHAN HI-TECH Co Ltd BEIJING filed Critical NANSHAN HI-TECH Co Ltd BEIJING
Priority to CN 02117943 priority Critical patent/CN1396541A/en
Publication of CN1396541A publication Critical patent/CN1396541A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)

Abstract

A method based on text speech library for inquiring and reproducing the speech of words includes single word inquiring method, the method for reproducing the speech of single word, and the method for reproducing the speech of example sentence. Its device is composed of CPU, input unit, memory, display, and player.

Description

Based on the word inquiry in text voice storehouse and method and the device of playing thereof
Technical field:
The present invention relates to a kind of based on the word inquiry in text voice storehouse and method and the device of playing thereof, the method and apparatus that particularly has the electronic dictionary function of rich text sound bank; Furtherly, the present invention can be according to the English word of user's input, and fast query is to its Chinese lexical or textual analysis, and all text example sentences that comprise this word of storing in the text dictionary, and can play word and example sentence voice arbitrarily.
Background technology:
Development along with large scale integrated circuit and microelectric technique and software engineering, electronic dictionary, personal digital assistant (Personal Digital Assistant, hereinafter to be referred as PDA) etc. electronic product universal day by day, not only profile is more and more exquisite small, and function is gradually improved and powerful, possessed some multimedia processing capability.Generally speaking, this electronic product adopts keyboard entry method, utilizes information such as phonetic symbol that its dictionary library can query terms, lexical or textual analysis.
But also there is certain shortcoming in these above-mentioned electronic products, that is: the product of these electronic dictionaries data bank of storing all be fix with static state, the pairing example sentence of each word all is fixing and unmodifiable.Therefore, when the user imports English word, above-mentioned electronic product can only obtain corresponding Chinese lexical or textual analysis according to described fixing and static data, and the immobilization text example sentence of storing in the corresponding data, and can not play word and the example sentence voice of being inquired about arbitrarily.
Summary of the invention:
Fundamental purpose of the present invention provides a kind of based on the word inquiry in text voice storehouse and method and the device of playing thereof, and abundant and open-ended dynamic text data and speech data are provided; Improve the single defective of existing product example sentence, big the increasing that contain much information that the user is obtained.
Another object of the present invention provides a kind of based on the word inquiry in text voice storehouse and method and the device of playing thereof, it can dynamically search for example sentence according to user's input, and will comprise import word example sentence all search come out, and can play word or example sentence voice.
The objective of the invention is to realize by the following technical solutions:
A kind of based on the text voice storehouse the word inquiry and the method for playing, this method comprises at least: according to the word of user's input and based on the method for the word enquiring in text voice storehouse, method that word pronunciation is play and the method for example sentence speech play.
Method based on the word enquiring in text voice storehouse has following step at least:
Step 11: it is initial search paragraph that current paragraph is set;
Step 12: judging whether whole paragraphs have searched for finishes, and finishes execution in step 1B if searched for;
Step 13: it is initial search word that current speech is set;
Step 14: judging whether current paragraph searches for finishes, the then execution in step 17 if search finishes;
Step 15: relatively whether current speech is consistent with the word of input in this paragraph, if unanimity execution in step 18 then;
Step 16: with the next speech of current paragraph as being compared speech, execution in step 14;
Step 17: with next paragraph as searched paragraph, execution in step 12;
Step 18: take out the information of this word in dictionary vocabulary MSDS;
Step 19: searching for first preceding punctuate of this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 1A: search for first punctuate behind this word again, and be a tail, execution in step 16 with first speech before this punctuate;
Step 1B: show the word and the example sentence data that search, finish.
Also comprise before the above-mentioned step 11:
Step 10: the legitimacy to the input word is checked, if illegal, then requires to re-enter.
The method of playing based on the word pronunciation in text voice storehouse has following step at least:
Step 21: it is initial search paragraph that current paragraph is set;
Step 22: judging whether whole paragraphs have searched for finishes, and finishes execution in step 2B if searched for;
Step 23: it is initial search word that current speech is set;
Step 24: judging whether this paragraph searches for finishes, the then execution in step 27 if search finishes;
Step 25: relatively whether current speech is consistent with the word of input in this paragraph, if unanimity execution in step 28 then;
Step 26: with the next speech of current paragraph as being compared speech, execution in step 24;
Step 27: with next paragraph as searched paragraph, execution in step 22;
Step 28: obtain the zero-time of this word in this paragraph;
Step 29: begin to play the voice of this word, timing simultaneously;
Step 2A: whether judgement time surpasses the zero hour of next speech, is execution in step 2B then, otherwise execution in step 2A behind the accumulative total reproduction time;
Step 2B: play and finish.
Also comprise before the above-mentioned step 21:
Step 20: the legitimacy to the input word is checked, if illegal, then requires to re-enter.
Method based on the example sentence speech play in text voice storehouse has following step at least:
Step 31: it is initial search paragraph that current paragraph is set;
Step 32: judging whether whole paragraphs have searched for finishes, and finishes execution in step 3D if searched for;
Step 33: it is initial search word that current speech is set;
Step 34: judging whether this paragraph searches for finishes, the then execution in step 37 if search finishes;
Step 35: relatively whether current speech is consistent with the word of input in this paragraph, if unanimity execution in step 38 then;
Step 36: with the next speech of current paragraph as being compared speech, execution in step 34;
Step 37: with next paragraph as searched paragraph, execution in step 32;
Step 38: searching for first preceding punctuate of this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 39: the zero-time that obtains first word of beginning of the sentence;
Step 3A: search for first punctuate behind this word, and during with first speech behind this punctuate initial constantly as finish time of broadcast;
Step 3B: begin to play the voice of this example sentence, timing simultaneously;
Step 3C: whether judgement time surpasses the finish time, is execution in step 3D then, otherwise, execution in step 3C behind the accumulative total reproduction time;
Step 3D: play and finish.
Also comprise before the above-mentioned step 31:
Step 30: the legitimacy to the input word is checked, if illegal, then requires to re-enter.
Described legitimacy to the input word is checked, comprises the inspection of whether carrying symbol secretly in the spell check, word of word at least.
Described text voice storehouse comprises at least: in order to dictionary vocabulary data information, paragraph address indication information and the word playback information zero hour of storage lexical information.
Described dictionary vocabulary data information comprises at least: word and word data, wherein the word data comprises at least: the phonetic symbol of word, part of speech and explain information.
Described paragraph address indication information comprises at least: the initial address message (IAM) in the initial address message (IAM) in the text database of paragraph name information, this paragraph correspondence and the speech database of this paragraph correspondence.
The described word playback information zero hour comprises at least: word information and the word start time information in the paragraph playing process.
A kind of based on the word inquiry in text voice storehouse and the device of playing, this device comprises at least:
Central processing unit is used to receive the input of user's word, and carries out word enquiring or play word pronunciation or broadcast example sentence voice according to the word of user's input and based on the text voice storehouse.
Input media is used to import the speech text that the user will consult;
Storer is used for data on file information;
Display device is used to receive and show the text that central processing unit transmits;
Playing device is used to receive and play the voice signal that central processing unit transmits.
Described input media is a keyboard.
Described data information comprises dictionary vocabulary data information, address indicating gauge, text database and speech database at least.The address indicating gauge is used to store paragraph address indicating gauge, and text database is used for the stores words playback table zero hour.
Described dictionary vocabulary data information comprises at least: word and word data, wherein the word data comprises at least: the phonetic symbol of word, part of speech and explain information.
Described paragraph address indication information comprises at least: the initial address message (IAM) in the initial address message (IAM) in the text database of paragraph name information, this paragraph correspondence and the speech database of this paragraph correspondence.
The described word playback information zero hour comprises at least: word information and the word start time information in the paragraph playing process.
The concrete steps that central processing unit carries out word enquiring are:
Step 11 ': it is initial search paragraph that central processing unit is provided with current paragraph;
Step 12 ': central processing unit is judged whether whole paragraphs have searched for and is finished, finishes execution in step 1B ' if searched for;
Step 13 ': it is initial search word that central processing unit is provided with current speech;
Step 14 ': central processing unit is judged whether current paragraph searches for and is finished, the then execution in step 17 ' if search finishes;
Step 15 ': central processing unit relatively in this paragraph current speech whether consistent with the word of input, if unanimity execution in step 18 ' then;
Step 16 ': central processing unit with the next speech of current paragraph as being compared speech, execution in step 14 ';
Step 17 ': central processing unit with next paragraph as searched paragraph, execution in step 12 ';
Step 18 ': central processing unit takes out the information of this word in dictionary vocabulary MSDS;
Step 19 ': central processing unit is searched for first punctuate before this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 1A ': central processing unit is searched for first punctuate behind this word again, and is a tail with first speech before this punctuate, execution in step 16 ';
Step 1B ': central processing unit shows word and the example sentence data that searches, and finishes.
In above-mentioned step 11 ' also comprise before:
Step 10 ': central processing unit is checked the legitimacy of input word, if illegal, then requires to re-enter.
The concrete steps that central processing unit is play word pronunciation are:
Step 21 ': it is initial search paragraph that central processing unit is provided with current paragraph;
Step 22 ': central processing unit is judged whether whole paragraphs have searched for and is finished, finishes execution in step 2B ' if searched for;
Step 23 ': it is initial search word that central processing unit is provided with current speech;
Step 24 ': central processing unit is judged whether this paragraph searches for and is finished, the then execution in step 27 ' if search finishes;
Step 25 ': central processing unit relatively in this paragraph current speech whether consistent with the word of input, if unanimity execution in step 28 ' then;
Step 26 ': central processing unit with the next speech of current paragraph as being compared speech, execution in step 24 ';
Step 27 ': central processing unit with next paragraph as searched paragraph, execution in step 22 ';
Step 28 ': central processing unit is obtained the zero-time of this word in this paragraph;
Step 29 ': central processing unit begins to play the voice of this word, timing simultaneously;
Step 2A ': whether the central processing unit judgement time surpasses the zero hour of next speech, is execution in step 2B ' then, otherwise execution in step 2A ' behind the accumulative total reproduction time;
Step 2B ': play and finish.
In above-mentioned step 21 ' also comprise before:
Step 20 ': central processing unit is checked the legitimacy of input word, if illegal, then requires to re-enter.
The concrete steps that central processing unit is play the example sentence voice are:
Step 31 ': it is initial search paragraph that central processing unit is provided with current paragraph;
Step 32 ': central processing unit is judged whether whole paragraphs have searched for and is finished, finishes execution in step 3D ' if searched for;
Step 33 ': it is initial search word that central processing unit is provided with current speech;
Step 34 ': central processing unit is judged whether this paragraph searches for and is finished, the then execution in step 37 ' if search finishes;
Step 35 ': central processing unit relatively in this paragraph current speech whether consistent with the word of input, if unanimity execution in step 38 ' then;
Step 36 ': central processing unit with the next speech of current paragraph as being compared speech, execution in step 34 ';
Step 37 ': central processing unit with next paragraph as searched paragraph, execution in step 32 ';
Step 38 ': central processing unit is searched for first punctuate before this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 39 ': central processing unit is obtained the zero-time of first word of beginning of the sentence;
Step 3A ': central processing unit is searched for first punctuate behind this word, and with initial moment of first speech behind this punctuate as the finish time of playing;
Step 3B ': central processing unit begins to play the voice of this example sentence, timing simultaneously;
Step 3C ': whether the central processing unit judgement time surpasses the finish time, is execution in step 3D ' then, otherwise, execution in step 3C ' behind the accumulative total reproduction time;
Step 3D ': play and finish.
In above-mentioned step 31 ' also comprise before:
Step 30 ': central processing unit checks that to the legitimacy of input word if illegal, then central processing unit requires to re-enter.
Central processing unit is checked the legitimacy of input word, comprises the inspection of whether carrying symbol secretly in the spell check, word of word at least.
The invention provides abundant dynamic text data and speech data; Improved the single defective of existing product example sentence, big the increasing that contain much information that the user is obtained; Can make the user when obtaining word information, listen to the speech play effect, can the intensified learning effect; Enriched the e-dictionary of synchronizing text sound bank; The present invention can dynamically search for example sentence according to user's input, and will comprise import word example sentence all search come out, and can play word or example sentence voice.
Description of drawings:
Fig. 1 is the system architecture of apparatus of the present invention and the synoptic diagram of memory inside storage organization.
Fig. 2 is dictionary vocabulary table Term message structure synoptic diagram among the present invention.
Fig. 3 is paragraph address indication information hoist pennants among the present invention.
Fig. 4 is the initial time information hoist pennants of word playback among the present invention.
Fig. 5 is the process flow diagram of one embodiment of the invention looking up words.
Fig. 6 plays the process flow diagram of word pronunciation for one embodiment of the invention.
Fig. 7 plays the process flow diagram of example sentence voice for one embodiment of the invention.
Embodiment:
The present invention is described in further detail below in conjunction with accompanying drawing and specific embodiment:
Referring to Fig. 1, the device of one embodiment of the invention comprises: input media 110, central processing unit 120, storer 130, playing device 140 and display device 150; Wherein, central processing unit 120 is connected with input media 110, storer 130, playing device 140 and display device 150 respectively; Storer 130 stored have described data information to comprise dictionary vocabulary MSDS 132, address indicating gauge 134, text database 136 and speech database 138 at least.Wherein, the address indicating gauge is used to store paragraph address indicating gauge, and text database is used for the stores words playback table zero hour.
Referring to Fig. 2, include in the above-mentioned dictionary vocabulary MSDS: word and word data, this word data should comprise: the phonetic symbol of word, part of speech and explain information etc.
Referring to Fig. 1,3,4, the indication of above-mentioned address includes two layer address indication informations, and one is a paragraph address indication information, and it two is the word playback information zero hour; Wherein, paragraph address indication information comprises: the initial address message (IAM) in the initial address message (IAM) in the text database of paragraph name information, this paragraph correspondence and the speech database of this paragraph correspondence; This word playback information zero hour comprises: word information and the word start time information in the paragraph playing process.
Again referring to Fig. 1, import the word that to inquire about by input media 110, central processing unit 120 these words of search, obtain the corresponding data that is stored in storer 130 databases then, central processing unit 120 is delivered to display device 150 with the word data, if the user selects to listen word or example sentence voice, then central processing unit 120 is delivered to playing device 140 broadcasts with corresponding voice.
By above-mentioned paragraph address indication information, central processing unit can obtain the start address of paragraph, again by the word playback table zero hour, the playback of word can be obtained the address of each word the zero hour as side-play amount.Utilize the word playback table zero hour, central processing unit can be obtained the broadcast start time of corresponding word and word.
Fig. 5 is the process flow diagram that the central processing unit of one embodiment of the invention is carried out the looking up words function.During the beginning looking up words, can show the input prompt interface on the display device, behind the word W that wait user input will be inquired about, central processing unit is at first checked the legitimacy of its input, comprising: whether the check spelling meets rule, and whether symbol etc. is arranged in the word; If do not meet rule, then require the user to re-enter, otherwise enter the cyclic search process.Search procedure begins, and the initial value of at first putting current paragraph numbering is 1, and central processing unit is judged whether whole paragraphs have searched for and finished, judges that promptly whether current paragraph number value is greater than the paragraph total value; It is poll-final then; Otherwise continue search.In certain paragraph during searching words, the initial value of at first putting current speech number is 1, judges whether current paragraph searches for to finish, and (judging that promptly current speech number is whether greater than total speech number of current paragraph) finishes if searched for, and then continues next paragraph of search; Otherwise whether more current speech is consistent with the word of input, if inconsistent relatively next speech that then continues, as if the consistent data of word W in dictionary vocabulary MSDS of then taking out.Then first punctuate before the searching words W is a beginning of the sentence with first speech behind this punctuate then if search; If it is do not search, then first as beginning of the sentence with the section of current paragraph.First punctuate behind the searching words W is a tail with first speech before this punctuate again.And then continue the search example sentence, at last after whole paragraphs search finish, the word W that searches and the data of example sentence are delivered to display device demonstration, this poll-final.
Fig. 6 is that the central processing unit of one embodiment of the invention is carried out the process flow diagram of playing the word pronunciation function.When beginning to play word pronunciation, can show the input prompt interface on the display device, behind the word W that wait user input will be inquired about, central processing unit is at first checked the legitimacy of its input, comprising: whether the check spelling meets rule, and whether symbol etc. is arranged in the word; If do not meet rule, then require the user to re-enter, if meet rule, then enter the cyclic search process.
The initial value of at first putting current paragraph numbering is 1, and central processing unit is judged whether whole paragraphs have searched for and finished, judges that promptly whether current paragraph number value is greater than the paragraph total value; Be that then playback finishes; Otherwise continue search.In certain paragraph during searching words, the initial value of at first putting current speech number is 1, judges whether current paragraph searches for to finish, and judges that promptly current speech number whether greater than total speech number of current paragraph, finishes if searched for, and then continues next paragraph of search; Otherwise whether more current speech is consistent with the word of input, if inconsistent relatively next speech that then continues then obtains the zero-time Tws of word W in current paragraph by the word playback table zero hour as if consistent.Begin to play word pronunciation, pick up counting simultaneously, give a time variable t this zero-time assignment, be time variable t=Tws, constantly detect this time variable t in the broadcast, judge whether t surpasses the initial moment of next speech, if do not surpass, then playback is continued in current time accumulative total back.
Fig. 7 is that the central processing unit of one embodiment of the invention is carried out the process flow diagram of playing the example sentence phonetic function.The broadcast example sentence begins, and behind the word W that wait user input will be inquired about, central processing unit is at first checked the legitimacy of its input, comprising: whether the check spelling meets rule, and whether symbol etc. is arranged in the word; If do not meet rule, then require the user to re-enter, if meet rule, then enter the cyclic search process.
The initial value of at first putting current paragraph numbering is 1, and central processing unit is judged whether whole paragraphs have searched for and finished, judges that promptly whether current paragraph number value is greater than the paragraph total value; Be that then playback finishes; Otherwise continue search.In certain paragraph during searching words, the initial value of at first putting current speech number is 1, judges whether current paragraph searches for to finish, and judges that promptly current speech number whether greater than total speech number of current paragraph, finishes if searched for, and then continues next paragraph of search; Otherwise, whether more current speech is consistent with the word of input, if inconsistent relatively next speech that then continues, if consistent first preceding punctuate of this word of then searching for, after searching, be beginning of the sentence then with first word behind this punctuate, again by word playback zero hour table obtain this word in the zero-time of current paragraph and as initial moment of example sentence; Then, then search for first punctuate behind this word, obtain the zero-time of first word behind the punctuate by this word playback table zero hour, as the finish time of this example sentence.
Central processing unit begins to play this example sentence voice, and timing simultaneously begins, and gives a time variable t, that is: the zero-time of this beginning of the sentence speech of time variable t=with the zero-time assignment of beginning of the sentence speech; Central processing unit constantly detects this time variable t in the broadcast, judges whether to surpass the concluding time of sentence, and whether the value of promptly judging t is greater than the value finish time of this example sentence; If do not surpass, then add up to continue playback behind the current time.
It should be noted last that above embodiment is only in order to explanation and unrestricted technical scheme described in the invention; Therefore, although this instructions has been described in detail the present invention with reference to each above-mentioned embodiment,, those of ordinary skill in the art should be appreciated that still and can make amendment or replacement to the present invention with being equal to; And all do not break away from the technical scheme and the improvement thereof of spirit and scope of the invention, and it all should be encompassed in the middle of the claim scope of the present invention.

Claims (25)

1, a kind of based on the text voice storehouse the word inquiry and the method for playing, it is characterized in that: comprise at least: according to the word of user's input and based on the method for the word enquiring in text voice storehouse, method that word pronunciation is play and the method for example sentence speech play.
2, according to claim 1 based on the text voice storehouse the word inquiry and the method for playing, it is characterized in that: the method based on the word enquiring in text voice storehouse has following step at least:
Step 11: it is initial search paragraph that current paragraph is set;
Step 12: judging whether whole paragraphs have searched for finishes, and finishes execution in step 1B if searched for;
Step 13: it is initial search word that current speech is set;
Step 14: judging whether current paragraph searches for finishes, the then execution in step 17 if search finishes;
Step 15: relatively whether current speech is consistent with the word of input in this paragraph, if unanimity execution in step 18 then;
Step 16: with the next speech of current paragraph as being compared speech, execution in step 14;
Step 17: with next paragraph as searched paragraph, execution in step 12;
Step 18: take out the information of this word in dictionary vocabulary MSDS;
Step 19: searching for first preceding punctuate of this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 1A: search for first punctuate behind this word again, and be a tail, execution in step 16 with first speech before this punctuate;
Step 1B: show the word and the example sentence data that search, finish.
3, according to claim 2 based on the word inquiry in text voice storehouse and the method for playing, it is characterized in that: before step 11, also comprise:
Step 10: the legitimacy to the input word is checked, if illegal, requires to re-enter.
4, according to claim 1 based on the word inquiry in text voice storehouse and the method for playing, it is characterized in that: the method for playing based on the word pronunciation in text voice storehouse has following step at least:
Step 21: it is initial search paragraph that current paragraph is set;
Step 22: judging whether whole paragraphs have searched for finishes, and finishes execution in step 2B if searched for;
Step 23: it is initial search word that current speech is set;
Step 24: judging whether this paragraph searches for finishes, the then execution in step 27 if search finishes;
Step 25: relatively whether current speech is consistent with the word of input in this paragraph, if unanimity execution in step 28 then;
Step 26: with the next speech of current paragraph as being compared speech, execution in step 24;
Step 27: with next paragraph as searched paragraph, execution in step 22;
Step 28: obtain the zero-time of this word in this paragraph;
Step 29: begin to play the voice of this word, timing simultaneously;
Step 2A: whether judgement time surpasses the zero hour of next speech, is execution in step 2B then, otherwise execution in step 2A behind the accumulative total reproduction time;
Step 2B: play and finish.
5, according to claim 4 based on the word inquiry in text voice storehouse and the method for playing, it is characterized in that: before step 21, also comprise:
Step 20: the legitimacy to the input word is checked, if illegal, then requires to re-enter.
6, according to claim 1 based on the text voice storehouse the word inquiry and the method for playing, it is characterized in that: the method based on the example sentence speech play in text voice storehouse has following step at least:
Step 31: it is initial search paragraph that current paragraph is set;
Step 32: judging whether whole paragraphs have searched for finishes, and finishes execution in step 3D if searched for;
Step 33: it is initial search word that current speech is set;
Step 34: judging whether this paragraph searches for finishes, the then execution in step 37 if search finishes;
Step 35: relatively whether current speech is consistent with the word of input in this paragraph, if unanimity execution in step 38 then;
Step 36: with the next speech of current paragraph as being compared speech, execution in step 34;
Step 37: with next paragraph as searched paragraph, execution in step 32;
Step 38: searching for first preceding punctuate of this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 39: the zero-time that obtains first word of beginning of the sentence;
Step 3A: search for first punctuate behind this word, and with initial moment of first speech behind this punctuate as the finish time of playing;
Step 3B: begin to play the voice of this example sentence, timing simultaneously;
Step 3C: whether judgement time surpasses the finish time, is execution in step 3D then, otherwise, execution in step 3C behind the accumulative total reproduction time;
Step 3D: play and finish.
7, according to claim 6 based on the word inquiry in text voice storehouse and the method for playing, it is characterized in that: before step 31, also comprise:
Step 30: the legitimacy to the input word is checked, if illegal, then requires to re-enter.
8, according to claim 3 or the 5 or 7 described methods of inquiring about and playing based on the word in text voice storehouse, it is characterized in that: described legitimacy to the input word is checked, comprises the inspection of whether carrying symbol secretly in the spell check, word of word at least.
9, require the described method of inquiring about and playing based on the word in text voice storehouse according to above-mentioned all authority, it is characterized in that: described text voice storehouse comprises at least: in order to dictionary vocabulary data information, paragraph address indication information and the word playback information zero hour of storage lexical information.
10, according to claim 9 based on the word inquiry in text voice storehouse and the method for playing, it is characterized in that: described dictionary vocabulary data information comprises at least: word and word data, wherein the word data comprises at least: the phonetic symbol of word, part of speech and explain information.
11, according to claim 9 based on the word inquiry in text voice storehouse and the method for playing, it is characterized in that: described paragraph address indication information comprises at least: the initial address message (IAM) in the initial address message (IAM) in the text database of paragraph name information, this paragraph correspondence and the speech database of this paragraph correspondence.
12, according to claim 9 based on the word inquiry in text voice storehouse and the method for playing, it is characterized in that: the described word playback information zero hour comprises at least: word information and the word start time information in the paragraph playing process.
13, a kind of based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: comprise at least:
Central processing unit is used to receive the input of user's word, and carries out word enquiring or play word pronunciation or broadcast example sentence voice according to the word of user's input and based on the text voice storehouse.
Input media is used to import the speech text that the user will consult;
Storer is used for data on file information;
Display device is used to receive and show the text that central processing unit transmits;
Playing device is used to receive and play the voice signal that central processing unit transmits.
14, according to claim 13 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: described input media is a keyboard.
15, according to claim 13 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: described data information comprises dictionary vocabulary data information, address indicating gauge, text database and speech database at least; Wherein: the address indicating gauge is used to store paragraph address indicating gauge, and text database is used for the stores words playback table zero hour.
16, according to claim 15 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: described dictionary vocabulary data information comprises at least: word and word data, wherein the word data comprises at least: the phonetic symbol of word, part of speech and explain information.
17, according to claim 15 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: described paragraph address indication information comprises at least: the initial address message (IAM) in the initial address message (IAM) in the text database of paragraph name information, this paragraph correspondence and the speech database of this paragraph correspondence.
18, according to claim 15 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: the described word playback information zero hour comprises at least: word information and the word start time information in the paragraph playing process.
19, according to claim 13 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: the concrete steps that central processing unit carries out word enquiring are:
Step 11 ': it is initial search paragraph that central processing unit is provided with current paragraph;
Step 12 ': central processing unit is judged whether whole paragraphs have searched for and is finished, finishes execution in step 1B ' if searched for;
Step 13 ': it is initial search word that central processing unit is provided with current speech;
Step 14 ': central processing unit is judged whether current paragraph searches for and is finished, the then execution in step 17 ' if search finishes;
Step 15 ': central processing unit relatively in this paragraph current speech whether consistent with the word of input, if unanimity execution in step 18 ' then;
Step 16 ': central processing unit with the next speech of current paragraph as being compared speech, execution in step 14 ';
Step 17 ': central processing unit with next paragraph as searched paragraph, execution in step 12 ';
Step 18 ': central processing unit takes out the information of this word in dictionary vocabulary MSDS;
Step 19 ': central processing unit is searched for first punctuate before this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 1A ': central processing unit is searched for first punctuate behind this word again, and is a tail with first speech before this punctuate, execution in step 16 ';
Step 1B ': central processing unit shows word and the example sentence data that searches, and finishes.
20, according to claim 19 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: in step 11 ' also comprise before:
Step 10 ': the legitimacy to the input word is checked, if illegal, then requires to re-enter.
21, according to claim 13 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: the concrete steps that central processing unit is play word pronunciation are:
Step 21 ': it is initial search paragraph that central processing unit is provided with current paragraph;
Step 22 ': central processing unit is judged whether whole paragraphs have searched for and is finished, finishes execution in step 2B ' if searched for;
Step 23 ': it is initial search word that central processing unit is provided with current speech;
Step 24 ': central processing unit is judged whether this paragraph searches for and is finished, the then execution in step 27 ' if search finishes;
Step 25 ': central processing unit relatively in this paragraph current speech whether consistent with the word of input, if unanimity execution in step 28 ' then;
Step 26 ': central processing unit with the next speech of current paragraph as being compared speech, execution in step 24 ';
Step 27 ': central processing unit with next paragraph as searched paragraph, execution in step 22 ';
Step 28 ': central processing unit is obtained the zero-time of this word in this paragraph;
Step 29 ': central processing unit begins to play the voice of this word, timing simultaneously;
Step 2A ': whether the central processing unit judgement time surpasses the zero hour of next speech, is execution in step 2B ' then, otherwise execution in step 2A ' behind the accumulative total reproduction time;
Step 2B ': play and finish.
22, according to claim 13 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: in step 21 ' also comprise before:
Step 20 ': central processing unit is checked the legitimacy of input word, if illegal, then requires to re-enter.
23, according to claim 13 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: the concrete steps that central processing unit is play the example sentence voice are:
Step 31 ': it is initial search paragraph that central processing unit is provided with current paragraph;
Step 32 ': central processing unit is judged whether whole paragraphs have searched for and is finished, finishes execution in step 3D ' if searched for;
Step 33 ': it is initial search word that central processing unit is provided with current speech;
Step 34 ': central processing unit is judged whether this paragraph searches for and is finished, the then execution in step 37 ' if search finishes;
Step 35 ': central processing unit relatively in this paragraph current speech whether consistent with the word of input, if unanimity execution in step 38 ' then;
Step 36 ': central processing unit with the next speech of current paragraph as being compared speech, execution in step 34 ';
Step 37 ': central processing unit with next paragraph as searched paragraph, execution in step 32 ';
Step 38 ': central processing unit is searched for first punctuate before this word, is beginning of the sentence with first speech behind this punctuate then if search; Otherwise, first as beginning of the sentence with the section of this paragraph;
Step 39 ': central processing unit is obtained the zero-time of first word of beginning of the sentence;
Step 3A ': central processing unit is searched for first punctuate behind this word, and during with first speech behind this punctuate initial constantly as finish time of broadcast;
Step 3B ': central processing unit begins to play the voice of this example sentence, timing simultaneously;
Step 3C ': whether the central processing unit judgement time surpasses the finish time, is execution in step 3D ' then, otherwise, execution in step 3C ' behind the accumulative total reproduction time;
Step 3D ': play and finish.
24, according to claim 23 based on the word inquiry in text voice storehouse and the device of playing, it is characterized in that: in step 31 ' also comprise before:
Step 30 ': central processing unit checks that to the legitimacy of input word if illegal, then central processing unit requires to re-enter.
25, according to claim 20 or the 22 or 24 described devices of inquiring about and playing based on the word in text voice storehouse, it is characterized in that: central processing unit is checked the legitimacy of input word, comprises the inspection of whether carrying symbol secretly in the spell check, word of word at least.
CN 02117943 2002-05-24 2002-05-24 Method and device based on text speech library for inquiring and reproducing phrases Pending CN1396541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02117943 CN1396541A (en) 2002-05-24 2002-05-24 Method and device based on text speech library for inquiring and reproducing phrases

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02117943 CN1396541A (en) 2002-05-24 2002-05-24 Method and device based on text speech library for inquiring and reproducing phrases

Publications (1)

Publication Number Publication Date
CN1396541A true CN1396541A (en) 2003-02-12

Family

ID=4744582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02117943 Pending CN1396541A (en) 2002-05-24 2002-05-24 Method and device based on text speech library for inquiring and reproducing phrases

Country Status (1)

Country Link
CN (1) CN1396541A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100378725C (en) * 2003-09-04 2008-04-02 摩托罗拉公司 Conversion table and dictionary for text speech conversion treatment
CN100454941C (en) * 2003-08-26 2009-01-21 华为技术有限公司 Method for extending inquiry service
CN101305360B (en) * 2005-11-08 2013-07-31 微软公司 Indexing and searching speech with text meta-data
CN105427686A (en) * 2014-09-16 2016-03-23 卡西欧计算机株式会社 Voice learning device and voice learning method
CN108304154A (en) * 2017-09-19 2018-07-20 腾讯科技(深圳)有限公司 A kind of information processing method, device, server and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454941C (en) * 2003-08-26 2009-01-21 华为技术有限公司 Method for extending inquiry service
CN100378725C (en) * 2003-09-04 2008-04-02 摩托罗拉公司 Conversion table and dictionary for text speech conversion treatment
CN101305360B (en) * 2005-11-08 2013-07-31 微软公司 Indexing and searching speech with text meta-data
CN105427686A (en) * 2014-09-16 2016-03-23 卡西欧计算机株式会社 Voice learning device and voice learning method
CN108304154A (en) * 2017-09-19 2018-07-20 腾讯科技(深圳)有限公司 A kind of information processing method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN1150472C (en) TV game control method and device and program-recording computer readable medium
CN1801139A (en) Sentence displaying method, information processing system
CN1113305C (en) Language processing apparatus and method
CN1945562A (en) Training transliteration model, segmentation statistic model and automatic transliterating method and device
CN1102271C (en) Electronic dictionary with function of processing customary wording
CN1253820C (en) Device and method for intercrossing language information retrieval
CN1471029A (en) System and method for auto-detecting collcation mistakes of file
CN1330333A (en) Chinese input transformation device and input transformation processing method and recording medium
CN1155907C (en) Method for inputting Chinese character using numeric key and its device
CN1297561A (en) Speech synthesizing system and speech synthesizing method
CN1930567A (en) Association dictionary creation apparatus
CN1707550A (en) Establishment of pronunciation and articalation mouth shape cartoon databank and access method thereof
CN1934565A (en) Machine translation system, machine translation method, and program
CN1908935A (en) Search method and system of a natural language
CN1910573A (en) System for identifying and classifying denomination entity
CN101075262A (en) Method and system for inputting Chinese character by computer
CN101079268A (en) System and method for sign language synthesis and display
CN1908931A (en) Literal data variable typesetting method
CN1771494A (en) Automatic segmentation of texts comprising chunsk without separators
CN1224954C (en) Speech recognition device comprising language model having unchangeable and changeable syntactic block
CN101038508A (en) GB phoneticize input method
CN1396541A (en) Method and device based on text speech library for inquiring and reproducing phrases
CN1256650C (en) Chinese whole sentence input method
CN1108572C (en) Mechanical Chinese to japanese two-way translating machine
CN1159701C (en) Speech recognition apparatus for executing syntax permutation rule

Legal Events

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