CN102607585B - Configuration-file-based navigation voice broadcasting method and device - Google Patents
Configuration-file-based navigation voice broadcasting method and device Download PDFInfo
- Publication number
- CN102607585B CN102607585B CN201210093871.3A CN201210093871A CN102607585B CN 102607585 B CN102607585 B CN 102607585B CN 201210093871 A CN201210093871 A CN 201210093871A CN 102607585 B CN102607585 B CN 102607585B
- Authority
- CN
- China
- Prior art keywords
- statement
- different
- configuration file
- crossing
- keyword
- 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.)
- Expired - Fee Related
Links
Landscapes
- Navigation (AREA)
Abstract
The invention discloses a configuration-file-based navigation voice broadcasting method, which is characterized by comprising the following steps of: 1, extracting guide elements from a guide statement as keywords to form a keyword list; 2, analyzing the forms of various road junctions to obtain different statement templates for different forms of the road junctions; 3, writing the statement templates and the keyword list into a configuration file; 4, analyzing the form of a road junction in real time by using global positioning system (GPS) positioning information, and searching for a statement template corresponding to the form of the road junction from the configuration file; and 5, filling the keyword corresponding to the form of the road junction into the found statement template according to the GPS positioning information, thereby forming a voice command.
Description
Technical field
The invention belongs to field of navigation technology, particularly relate to a kind of navigation speech broadcasting method based on configuration file and device.
Background technology
Vehicle mounted guidance software can provide " phonetic order " to carry out driver instructor and advance along correct route." phonetic order " first refers to a string character string, or is passage.The word that class is as such in " 500 meters, front bends to right, and sails North 2nd Ring Road into ".It can be sound text conversion by other follow-up voice module.There is application number in prior art is 20091008587,0, denomination of invention is the Chinese patent application of " method of Voice Navigation in navigation of electronic map system and device ", which provide method and the device of Voice Navigation in a kind of navigation of electronic map system, the method comprises: be stored in the text in navigation of electronic map system by the phonetic of character in information of voice prompt and phonetic tone; According to the guidance path that this navigation of electronic map system generates, determine required information of voice prompt; Obtain the phonetic that is stored in text character corresponding with this information of voice prompt and phonetic tone, according to phonetic and the phonetic tone of character, the mode of information of voice prompt by voice output is exported.By the phonetic of information of voice prompt in navigation of electronic map system and phonetic tone are stored in text, thus the memory space decreased shared by information of voice prompt, make navigation of electronic map system can carry out voice message and guiding to millions of points of interest.But how the scheme emphasis of prior art is all sound " phonetic order " text-converted in solution, instead of pays close attention to the generation of " phonetic order " text.Due to complexity, the diversity of Road form, different crossings needs to provide different " phonetic order " instructions.And these " phonetic orders " generated for different crossing by navigation software algorithm, can seem dull, mechanical stiff, be difficult to the custom adapting to different regions, dialect or country variant language, be difficult to the variation adapting to different crossings key instruction, and make the generating algorithm of " phonetic order " extremely complicated.
Before in our used technical scheme: limit analysis crossing form in a program, limit assembling " phonetic order ", after Program Generating, its exportable " phonetic order " is just fixing, cannot change by user's requirement again, also cannot be configured for multilingual.Each change " phonetic order " must revise complicated program code, then regenerates program.
Summary of the invention
In view of the defect of prior art, the invention provides a kind of navigation speech broadcasting method based on configuration file, it is characterized in that comprising the steps:
Guiding key element in step one, extraction boot statement, as keyword, forms lists of keywords;
Step 2, analyze the form at various different crossing, obtain the different statement templates for different crossings form;
Step 3, described statement template and described lists of keywords are write in configuration file;
Step 4, by GPS locating information real-time analysis crossing form, search the statement template of corresponding crossing form in configuration file;
Step 5, according to GPS locating information, the keyword of corresponding crossing form to be filled in found statement template, thus to form phonetic order.
Further, navigation speech broadcasting method based on configuration file of the present invention, middle extracted guiding key element is applicable to different language environment, for different language environment, can produce the phonetic order of different language environment by writing different statement template profile.
In addition, the present invention also provides a kind of navigation speech broadcast device based on configuration file, it is characterized in that comprising as lower module:
For extracting guiding key element in boot statement as keyword, form the module of lists of keywords;
For analyzing the form at various different crossing, obtain the module of the different statement templates for different crossings form;
For described statement template and described lists of keywords being write the module in configuration file;
For by GPS locating information real-time analysis crossing form, search the module of the statement template of corresponding crossing form in configuration file;
For being filled in found statement template by the keyword of corresponding crossing form according to GPS locating information, thus form the module of phonetic order.
Further, guiding key element based on extracting in the navigation speech broadcast device of configuration file of the present invention is applicable to different language environment, for different language environment, the phonetic order of different language environment can be produced by writing different statement template profile.
The present invention is based on the solution of configuration file, can solve that navigation speech instruction is dull, machinery is stiff efficiently, be difficult to adapt to the custom of different regions, dialect or country variant language, be difficult to the diversified problem adapting to different crossings key instruction.By the easy configurability of configuration file, revise configuration file fast, abundant phonetic order can be adjusted, can adapt to country variant, dialect configuration traveling guidance " phonetic order ", conveniently can increase " phonetic order " kind, abundant species configuration " phonetic order " out just can be more humane.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the navigation speech broadcasting method that the present invention is based on configuration file;
Detailed description of the invention
For making above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Fig. 1 is the realization flow figure of the navigation speech broadcasting method that the present invention is based on configuration file; As shown in Figure 1, the navigation speech broadcasting method that the present invention is based on configuration file comprises the steps:
Guiding key element in step one, extraction boot statement, as keyword, forms lists of keywords;
In extraction boot statement, " guiding key element " is as " word ".Such as " front [300 meters], sail on [North 2nd Ring Road/South 3rd Ring Road/abundant Cheng Lu/Chang'an street] to [turn left/turn right] through [rotary island]." wherein between [], part is extracted as " word "; for class " word " defines a keyword keyword; that statement so just can be expressed as: " front [keyword_distance], sails into [keyword_roadname] to [keyword_turn] through [keyword_type]." the most important thing is " guiding key element " to separate with language environment here; if English guiding used instead in the statement such as can become [keyword_distance] ahead [keyword_turn] intothe [keyword_roadname]. " and then get this this keyword formation Keyword List, as: [keyword_turn] can be " left-hand rotation " " right-hand rotation " " revolution " " left front turning ".
Step 2, analyze the form at various different crossing, obtain the different statement templates for different crossings form;
Analyze the form at various different crossing, obtain different statement templates.Such as: a template is obtained as " front is walked [right side/left side] [outlet/entrance] [roll away from/sail into] [main road/bypass] for the crossing type going out main road."; Another template is obtained as " front [300 meters] place to [turning right/left], and then [turning right/left] sails on [so-and-so road] for continuous print two crossings.”。The form at tens kinds of crossings can be analyzed thus, obtain tens kinds of statement templates.
Add the disaggregated classification of some templates:
Such as to same crossing, " front [keyword_distance], sails into [keyword_roadname] to [keyword_turn] through [keyword_type] to use template time distance crossing is far away." " [keyword_turn] sails into [keyword_roadname] to use brief statement when having driven to crossing.", segmentation template can be more humane.When distance crossing is near, tip distance is nonsensical, and if the final voice generated are oversize can incur loss through delay to fall best report opportunity.Such as to outlet configuration special template special on through street, shape is as " front [keyword_distance] second exports to keep right and roll away from, sails into [keyword_roadname].”
Step 3, described statement template and described lists of keywords are write in configuration file;
The statement template obtained by step one, step 2 above and lists of keywords are write in configuration file.When Navigator runs, by real-time analysis crossing form, search statement template corresponding in configuration file, the keyword in filling template can obtain " phonetic order ".Can complete by writing different template profile for different language, eliminating amendment application program.
Step 4, by GPS locating information real-time analysis crossing form, search the statement template of corresponding crossing form in configuration file;
In this step, by corresponding with map datum for GPS locating information, determine that vehicle is positioned on certain road, find follow-up crossing along Planned Route.
Take out the map datum at follow-up crossing, according to crossing shape and attribute information analysis, confirm that this crossing meets certain model in " the statement template " that step 2 exports, choose a certain bar statement according to from the distance at crossing and road name information.
Step 5, according to GPS locating information, the keyword of corresponding crossing form to be filled in found statement template, thus to form phonetic order.
In this step, take out the keyword in statement, such as " [keyword_turn] sails into [keyword_roadname] statement." in; take out " [keyword_turn] "; according to the crossing direction information analyzed in step 4; the lists of keywords in finding step one in generating configuration file; i.e. table 1 above, such as, find " left-hands rotation ", " [keyword_roadname] " is replaced to the road name after turning " so-and-so road "; i.e. exportable " left-hand rotation, sail into so-and-so road ".The configuration file generated in step one controls the generation of final phonetic order.
Which feature " phonetic order " that first the present invention analyzes for guiding has, and which its guiding will have.Then extract these key elements as keyword, form grammatical statement; The degree of lip-rounding of satisfying the need again state is classified, and every class crossing form is correspondence independently grammatical statement all, and all grammatical statements converge into configuration file.Finally read " grammatical configuration file " by programmed algorithm to fill a vacancy to its parsing, synthesize " phonetic order " of complete smoothness.The readability of configuration file, easily revise characteristic, determine high-adaptability of the present invention, configurability, solve the problem of custom that " phonetic order " adapts to different regions, dialect or country variant language; Indication different grammatical statement in each type crossing is expressed, solves the problem that " phonetic order " is dull, machinery is stiff, make expression variation, hommization.
" phonetic order " as referred to herein generates, and only refers to the generation of this section of word, does not comprise the conversion of word to sound.Prior art does not carry out analytic induction to " the guiding key element " that guide in voice, sums up the syntax, so have no idea carry out collocation method by configuration file, also reaches the hommization of " phonetic order " and easy configurability with regard to illegal.The present invention, by first carrying out analytic induction to " guiding key element " in " phonetic order ", sums up the syntax, then the syntax is write in grammatical configuration file.By changing easily and enriching grammatical configuration file, the hommization of " phonetic order " can be reached and easily configure.In addition, prior art degree of lip-rounding state of not satisfying the need carries out sorted generalization, does not use the different syntax to go to generate " phonetic order ", so use general prompting " left-hand rotation " " right-hand rotation " most crossing to each class, such suggestion content is simply stiff, and " phonetic order " kind is abundant not.The present invention carries out sorted generalization by degree of lip-rounding state of satisfying the need, to " phonetic order " method of the different hommization of every type crossing form generating, easily the multiple syntax are configured in a configuration file by 1 middle configuration file above, reach " phonetic order " of the hommization generating abundant species fast.Because crossing form kind is very many, can be increased fast abundant " phonetic order " by amendment configuration file.
What we had developed is digital map navigation product, and main guiding principle during product work is:
1, GPS receives customer position information, relates to GPS module
2, matched position in map datum and the route planned, finds user to the crossing arrived, will relate to location matches module.
3, " phonetic order " module guided is generated.
3.1 data analysis crossing forms according to the map, take out crossing morphotype Type, analyze crossing and the information TurnInfo such as to turn to.
3.2 according to crossing morphotype Type, reads template profile, searches the statement template Template of corresponding morphotype Type.
3.3 according to crossing shape information TurnInfo content, and statement template Template, filling template, generates " sentence instruction ".
4, utilize text to sound modular converter, " phonetic order " is played back by sound, relates to voice playing module.
More than main modular related to the present invention, wherein core of the present invention in the 3rd module 3.1,3.2,3.3 3 submodules.
Also have other module, be connected with the present invention less, as modules such as map denotation.Be not described in detail at this.
Key of the present invention is to use a kind of method based on configuration file to realize program guide command to the conversion based on natural language speech instruction, it is all the natural language output directly directly being generated guiding by program that the navigation speech that industry is passed through reports scheme, higher customization cost certainly will be needed like this when adaptive different language and navigation needs, the present invention then devises a kind of natural language speech method for transformation based on configuration file, this design key is: by the dictionary of key definition phonetic representation, by the syntactic structure of statement template definition phonetic representation, achieve the automatic generation of voice configurationization in this way.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or carry out equivalent replacement to portion of techniques feature; And not departing from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope of request of the present invention protection.
Claims (2)
1., based on a navigation speech broadcasting method for configuration file, it is characterized in that comprising the steps:
Guiding key element in step one, extraction boot statement is as keyword, form lists of keywords, described guiding key element is applicable to different language environment, for different language environment, produces the phonetic order of different language environment by writing different statement template profile;
Step 2, analyze the form at various different crossing, obtain the different statement templates for different crossings form;
Step 3, described statement template and described lists of keywords are write in configuration file;
Step 4, by GPS locating information real-time analysis crossing form, search the statement template of corresponding crossing form in configuration file;
Step 5, according to GPS locating information, the keyword of corresponding crossing form to be filled in found statement template, thus to form phonetic order.
2., based on a navigation speech broadcast device for configuration file, it is characterized in that comprising as lower module:
For extracting guiding key element in boot statement as keyword, form the module of lists of keywords, the guiding key element extracted is applicable to different language environment, for different language environment, produces the phonetic order of different language environment by writing different statement template profile; For analyzing the form at various different crossing, obtain the module of the different statement templates for different crossings form;
For described statement template and described lists of keywords being write the module in configuration file;
For by GPS locating information real-time analysis crossing form, search the module of the statement template of corresponding crossing form in configuration file;
For being filled in found statement template by the keyword of corresponding crossing form according to GPS locating information, thus form the module of phonetic order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210093871.3A CN102607585B (en) | 2012-04-01 | 2012-04-01 | Configuration-file-based navigation voice broadcasting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210093871.3A CN102607585B (en) | 2012-04-01 | 2012-04-01 | Configuration-file-based navigation voice broadcasting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102607585A CN102607585A (en) | 2012-07-25 |
CN102607585B true CN102607585B (en) | 2015-04-29 |
Family
ID=46525178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210093871.3A Expired - Fee Related CN102607585B (en) | 2012-04-01 | 2012-04-01 | Configuration-file-based navigation voice broadcasting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102607585B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201419131A (en) * | 2012-11-09 | 2014-05-16 | Health & Life Co Ltd | Voice-assisted biomedical sensing apparatus |
CN103884347B (en) * | 2012-12-21 | 2017-10-27 | 高德信息技术有限公司 | A kind of navigation guide method and apparatus |
CN104197946B (en) * | 2014-09-04 | 2018-05-25 | 百度在线网络技术(北京)有限公司 | A kind of phonetic navigation method, apparatus and system |
CN107393530B (en) * | 2017-07-18 | 2020-08-25 | 国网山东省电力公司青岛市黄岛区供电公司 | Service guiding method and device |
CN110781657A (en) * | 2019-10-14 | 2020-02-11 | 百度在线网络技术(北京)有限公司 | Management method, device and equipment for navigation broadcasting |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968441A (en) * | 2006-04-12 | 2007-05-23 | 华为技术有限公司 | Method for implementation of predefined short message service |
CN101329181A (en) * | 2008-07-28 | 2008-12-24 | 江苏华科导航科技有限公司 | Navigation apparatus foe performing voice navigation to complicated road junction and working method thereof |
CN102388293A (en) * | 2009-04-06 | 2012-03-21 | 株式会社纳维泰 | Navigation system, route search server, route search agent server, and navigation method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100555104B1 (en) * | 2003-06-27 | 2006-02-24 | 팅크웨어(주) | A method for providing navigation service by using location of a mobile terminal and a system thereof |
CN101802554B (en) * | 2008-08-29 | 2013-09-25 | 联发科技(合肥)有限公司 | Method for playing voice guidance and navigation device using the same |
-
2012
- 2012-04-01 CN CN201210093871.3A patent/CN102607585B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968441A (en) * | 2006-04-12 | 2007-05-23 | 华为技术有限公司 | Method for implementation of predefined short message service |
CN101329181A (en) * | 2008-07-28 | 2008-12-24 | 江苏华科导航科技有限公司 | Navigation apparatus foe performing voice navigation to complicated road junction and working method thereof |
CN102388293A (en) * | 2009-04-06 | 2012-03-21 | 株式会社纳维泰 | Navigation system, route search server, route search agent server, and navigation method |
Also Published As
Publication number | Publication date |
---|---|
CN102607585A (en) | 2012-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102607585B (en) | Configuration-file-based navigation voice broadcasting method and device | |
CN101000764B (en) | Speech synthetic text processing method based on rhythm structure | |
CN102549652B (en) | Information retrieving apparatus | |
Salloum et al. | A survey of lexical functional grammar in the Arabic context | |
CN107741928A (en) | A kind of method to text error correction after speech recognition based on field identification | |
JP2017157207A (en) | Method and apparatus for broadcasting search result based on artificial intelligence | |
CN107301860A (en) | Audio recognition method and device based on Chinese and English mixing dictionary | |
CN105930503A (en) | Combination feature vector and deep learning based sentiment classification method and device | |
CN101404036B (en) | Keyword abstraction method for PowerPoint electronic demonstration draft | |
CN103309926A (en) | Chinese and English-named entity identification method and system based on conditional random field (CRF) | |
CN105957518A (en) | Mongolian large vocabulary continuous speech recognition method | |
CN101000765A (en) | Speech synthetic method based on rhythm character | |
CN101051458B (en) | Rhythm phrase predicting method based on module analysis | |
CN103632663B (en) | A kind of method of Mongol phonetic synthesis front-end processing based on HMM | |
CN102254554B (en) | Method for carrying out hierarchical modeling and predicating on mandarin accent | |
CN107102980A (en) | The extracting method and device of emotion information | |
CN104485107A (en) | Name voice recognition method, name voice recognition system and name voice recognition equipment | |
CN104679867A (en) | Address knowledge processing method and device based on graphs | |
CN110309277A (en) | Human-computer dialogue semanteme parsing method and system | |
CN104516874A (en) | Method and system for parsing dependency of noun phrases | |
Withanage et al. | Voice-based road navigation system using natural language processing (nlp) | |
Al-Anzi et al. | The impact of phonological rules on Arabic speech recognition | |
CN101452368B (en) | Hand-written character input method | |
CN105895076A (en) | Speech synthesis method and system | |
CN115545013A (en) | Sound-like error correction method and device for conversation scene |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150429 Termination date: 20170401 |
|
CF01 | Termination of patent right due to non-payment of annual fee |