CN101149757B - Method for accomplishing scene style word input - Google Patents

Method for accomplishing scene style word input Download PDF

Info

Publication number
CN101149757B
CN101149757B CN2007101771533A CN200710177153A CN101149757B CN 101149757 B CN101149757 B CN 101149757B CN 2007101771533 A CN2007101771533 A CN 2007101771533A CN 200710177153 A CN200710177153 A CN 200710177153A CN 101149757 B CN101149757 B CN 101149757B
Authority
CN
China
Prior art keywords
scene
word
input
key word
current application
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.)
Active
Application number
CN2007101771533A
Other languages
Chinese (zh)
Other versions
CN101149757A (en
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.)
Shenzhen Shiji Guangsu Information Technology Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2007101771533A priority Critical patent/CN101149757B/en
Publication of CN101149757A publication Critical patent/CN101149757A/en
Application granted granted Critical
Publication of CN101149757B publication Critical patent/CN101149757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to a technique which can dynamically adjust the input strategy according to input situation, the invention obtains the scene type of current application program through calling operating system functions, get thesaurus or thesaurus adjustment configuration file appropriate to the type of scene through matching scene mapping table, dynamically adjust thesaurus or word frequency or other input characteristics to meet the needs of individual users and improve the input efficiency, and enhance the user experience.

Description

A kind of method that realizes the input of displaying literal
Technical field
The present invention relates to the adjustment technology of computer input method, particularly a kind of can be according to input scene technology that input policing is dynamically adjusted.
Background technology
The computer user will be input to computer with literal, except that English-speaking country directly uses Qwerty keyboard can import, non-English speaking country generally all needs to use input method software, with the input in Chinese is example, at present, Chinese character coding input method software has tens kinds, all is basically to adopt the sound of Chinese character, shape, justice and specific key are interrelated, and makes up the input of finishing Chinese character according to different Chinese character again.General input method software all can add functions such as frequency adjustment, association, self-defined dictionary, the interpolation of individual character phrase, to improve the input speed of character/word/sentence.The frequency adjustment technology is meant that input method software dynamically adjusts character/word/sentence according to the frequency of utilization of character/word/sentence and select priority position in the window in input, and the character/word that frequency is high more/sentence row's is forward more, selects to import to make things convenient for the user.Association function is meant, after the part of the part of the part of user's input word, speech or sentence, input method software can demonstrate possible complete word, speech or sentence automatically in the input choice box, association function is the basis that word frequency is adjusted, promptly meeting on the basis of matching condition, the position that the word that frequency of utilization is high more, speech or sentence are arranged is forward more.Self-defined dictionary technology is meant, input method software allows user oneself to specify employed dictionary file, and described dictionary literature kit contains the setting of user individual, comprises that the phrase of using always that meets user's use habit and word frequency are provided with etc.The individual character phrase adds function and is meant that permission user oneself adds function personalized, that give tacit consent to the character/word/sentence that does not have in the dictionary, and individual character phrase adding technique is the basis of self-defined dictionary technology.
Though existing input method software has certain intelligent characteristic, but have adjustment or replacing dictionary that input method software can only be manual now, can't change dictionary dynamically according to input method place application scenarios, and adjust characteristics such as word frequency dynamically according to the characteristics of application scenarios, therefore can't satisfy the demand of user's displaying fully.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method that realizes the input of displaying literal, can solve the technological deficiency that input method software can not dynamically be adjusted characteristics such as dictionary, word frequency according to application scenarios by the present invention.For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method that realizes the input of displaying literal comprises the steps:
A, obtain the scene key word of current application;
B, retrieval scene mapping table obtain the scene setting sign; Wherein, described scene setting is designated the word frequency adjustment configuration file of dictionary;
C, execution displaying setting are carried out corresponding word frequency and are adjusted configuration file.
Further, in the steps A, obtain described scene key word as follows:
A1, obtain scene properties by operating system;
A2, the scene key word that comprises in the scene mapping table and described scene properties are mated the scene key word that current application is determined in the back.
Further, among the step B, obtain described scene setting sign thereby in described scene mapping table, retrieve by the scene key word that uses described current application.
Further, described scene properties is meant the window title or the application name of current application.
Further, among the step C, described displaying setting comprises:
C11, the employed word frequency of the current dictionary of unloading are adjusted configuration file;
The word frequency of C12, loading current application correspondence is adjusted configuration file.
Further, if can't determine the scene key word of current application, then use the scene key word of acquiescence or direct end scene that flow process is set.
The present invention obtains the scene type of current application program by distributing operation system interface function, coupling by the scene mapping table dynamically disposes input characteristics such as dictionary, adjustment word frequency, with demand, raising input efficiency, the enhancing user experience that satisfies user individual.
Description of drawings
Fig. 1 scene setting flow process of the present invention.
Embodiment
Core concept of the present invention is, the current affiliated scene type of application software of using input method of input method software real-time judge, inquire about characteristic settings such as the dictionary of described scene type correspondence or word frequency according to the scene mapping table, carry out corresponding scene setting, as: change corresponding scene lexicon, adjust word frequency etc., adjust input method automatically to strengthen the purpose of user experience, raising input efficiency to reach according to application scenarios.
Fig. 1 example the present invention carry out the processing flow chart that the input method displaying is provided with according to application scenarios, below each step is elaborated:
Step 1, obtain the scene properties of current application;
In the present invention's one specific embodiment, obtain the scene properties of current application by the call operation system function.The application program that runs on the operating system is general all with the interface of window as man-machine interaction, in operating system, each window all is an example of window class, window class includes various attributes, wherein relevant with application scenarios type attribute comprises window class title, window title etc., also can obtain information such as application file name by system function.For example, when using the newly-built document of Microsoft's Word document process software, can demonstrate window title " document 1-Microsoft Word " in forms title bar topmost, application name is called " WINWORD.EXE ".
Step 2, mate and retrieve the scene mapping table;
According to the scene properties that obtains in the step 1,, obtain the scene setting sign thereby mate back retrieval scene mapping table as window title, application name etc.Described scene mapping table has been preserved the corresponding relation between scene properties and the scene setting sign, and example is as follows:
Chat Talk?
Word? Document?
Mail Mail?
Outlook Mail?
As above shown in the table, the window key word comprises that the equivalent library name of " chat " key word is called " Talk ", and the equivalent library name was called " Document " when the window key word comprised " Word " key word." document 1-Microsoft Word " is example with the aforementioned window title, use the scene key word in the scene mapping table to carry out fuzzy matching with this window title one by one, owing to comprise " Word " this scene key word in this window title, therefore, input method software can be thought the correlativity maximum of this key word and this window title, so use " Word " to retrieve, thereby obtain corresponding scene identity as the scene key word.
Why the present invention will distinguish different application scenarioss, be because the frequency of occurrences of character/word/sentence is different under different scenes, and at some special occasions, for example in some instant chat softwares, can often use a lot of unconventional character/word/sentence, and these unconventional character/word/sentences can not find in traditional dictionary or seldom use, the user imports the non-english languages literal under different scenes for convenience, custom-made of the present invention the character library of suitable different scenes, and provide interface to allow the user to add neologisms, and set up the scene mapping table according to the hobby of oneself.
Step 3, mapping relations have been judged whether, if then execution in step 4 of corresponding relation is arranged, if then do not finish this scene setting flow process;
The Rule of judgment of this step represents then that corresponding mapping relations are arranged for whether obtaining the scene key word and whether get access to the title of displaying dictionary according to the scene key word if obtain the title of displaying dictionary; Do not represent also there are not corresponding mapping relations if obtain the title of displaying dictionary, then the input method software systems can be used the acquiescence dictionary or not do any operation according to setting.
Step 4, execution displaying setting.
Input method software at first unloads the displaying dictionary of original use, and then dynamically loads the displaying dictionary of going up current application correspondence.
Below be example with the chat software, the concrete effect of present embodiment is described, comprise two dictionaries in the following example, one is " Document " dictionary, be used for using under conventional document input or the system default situation, another is " Talk " dictionary, is used for using in chat software.Suppose the current document Input Software that using of user, as WORD or WPS, write paper or Press release, when if input method software does not carry out displaying and is provided with, when the user when document Input Software window switches to the chat software window, input method software still uses " Document " dictionary, and when supposing that then the user uses spelling input method input " niyouba ", the candidate word that shows in input method selection window is as follows:
1. you have 2. your 3. your 4. Buddhist nuns again
Because in traditional dictionary, there is not " you have " this speech, therefore select not show in the window in input.After if the method according to this invention has been carried out being provided with of displaying, after the user switches to the chat software window from the document Input Software, input method software loads " Talk " dictionary automatically, the dictionary of promptly chatting, when the user used spelling input method input " niyouba ", the candidate word that shows in input method selection window was as follows:
You have 2. you have 3. you again 4. you
As can be seen, " you have " do not exist in " Document " dictionary, and comprises at " Talk " dictionary, and the order of its speech commonly used in chat scenario is adjusted to the front demonstration, helps the user so more and imports fast.
In another specific embodiment of the present invention, the following setting of scene mapping table:
The scene key word Scene setting sign (displaying dictionary title)
The scene key word Scene setting sign (word frequency adjustment configuration file)
Chat The chat configuration file
Word,WPS? The document configuration file
Mail The mail configuration file
Outlook The mail configuration file
Different with last specific embodiment is, what preserve in the scene mapping table is that scene key word and word frequency are adjusted the mapping relations between the configuration file, when reality execution displaying is provided with, be different from last specific embodiment, present embodiment is not the dictionary that more renews, but under the constant situation of dictionary, the word frequency that dynamic load is different is adjusted configuration file, to be fit to the application of different scenes.
Below be example with the chat software, the concrete effect of present embodiment is described, when the user when document input forms switch to the chat software window, if do not load the chat configuration file, when the user uses spelling input method input " shiya ", the phrase that obtains ordering is:
1. 2. yes refined 5. pressure testings of 3. stone precipices, 4. poems of exerting pressure
If load the chat configuration file, then the order of Xian Shiing is:
1. yes 2. refined 5. pressure testings of 3. stone precipices, 4. poems of exerting pressure
As can be seen, in chat scenario, loaded the chat configuration file after, will in chat, use always " yes " word frequency of this speech heightened, and makes it be arranged in the front, made things convenient for user's input.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (7)

1. a method that realizes the input of displaying literal is characterized in that, comprises the steps:
A, obtain the scene key word of current application;
B, retrieval scene mapping table obtain the scene setting sign; Wherein, described scene setting is designated the word frequency adjustment configuration file of dictionary;
C, execution displaying setting are carried out corresponding word frequency and are adjusted configuration file.
2. method according to claim 1 is characterized in that, in the steps A, obtains described scene key word as follows:
A1, obtain scene properties by operating system;
A2, the scene key word that comprises in the scene mapping table and described scene properties are mated the scene key word that current application is determined in the back.
3. method according to claim 2 is characterized in that, among the step B, obtains described scene setting sign thereby retrieve in described scene mapping table by the scene key word that uses described current application.
4. method according to claim 2 is characterized in that, described scene properties is meant the window title of current application.
5. method according to claim 2 is characterized in that described scene properties is meant the application name of current application.
6. method according to claim 1 is characterized in that, among the step C, described displaying setting comprises:
C11, the employed word frequency of the current dictionary of unloading are adjusted configuration file;
The word frequency of C12, loading current application correspondence is adjusted configuration file.
7. method according to claim 1 is characterized in that, if can't determine the scene key word of current application, then uses the scene key word of acquiescence or direct end scene that flow process is set.
CN2007101771533A 2007-11-09 2007-11-09 Method for accomplishing scene style word input Active CN101149757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101771533A CN101149757B (en) 2007-11-09 2007-11-09 Method for accomplishing scene style word input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101771533A CN101149757B (en) 2007-11-09 2007-11-09 Method for accomplishing scene style word input

Publications (2)

Publication Number Publication Date
CN101149757A CN101149757A (en) 2008-03-26
CN101149757B true CN101149757B (en) 2010-12-08

Family

ID=39250283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101771533A Active CN101149757B (en) 2007-11-09 2007-11-09 Method for accomplishing scene style word input

Country Status (1)

Country Link
CN (1) CN101149757B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243889B (en) * 2010-05-13 2014-12-17 北京三星通信技术研究有限公司 Mobile terminal and method for executing application program according to user input
US8583148B2 (en) 2010-06-07 2013-11-12 Nokia Corporation Method and apparatus for suggesting a message segment based on a contextual characteristic in order to draft a message
CN101943991A (en) * 2010-07-23 2011-01-12 百度在线网络技术(北京)有限公司 Input method and equipment based on cloud computing
CN103324627A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and input processing method
WO2013163804A1 (en) * 2012-05-03 2013-11-07 华为技术有限公司 Method and device for adjusting word bank
US9141707B2 (en) 2012-07-19 2015-09-22 Facebook, Inc. Context-based object retrieval in a social networking system
CN102830924B (en) * 2012-08-08 2015-08-12 小米科技有限责任公司 A kind of method and device adjusting entering method keyboard
CN103870167A (en) * 2012-12-14 2014-06-18 宏碁股份有限公司 Method and system for on-line word selection input
CN104461700A (en) * 2013-09-12 2015-03-25 中兴通讯股份有限公司 Application platform configuring method and device
CN103714141A (en) * 2013-12-24 2014-04-09 百度国际科技(深圳)有限公司 Information pushing method and device
CN105528338B (en) * 2014-09-30 2019-10-25 上海触乐信息科技有限公司 The input method and system of intelligent predicting
CN107104881B (en) * 2015-05-29 2021-09-14 北京搜狗科技发展有限公司 Information processing method and device
CN105095467B (en) * 2015-08-04 2020-07-24 联想(北京)有限公司 Information processing method and electronic equipment
CN105260084A (en) * 2015-11-03 2016-01-20 百度在线网络技术(北京)有限公司 Processing method and device of input sequences
CN105912138B (en) * 2016-04-06 2019-03-12 百度在线网络技术(北京)有限公司 A kind of input method and device of phrase
CN106201010B (en) * 2016-06-29 2019-03-08 百度在线网络技术(北京)有限公司 Method for adding word bank and device
CN105929980B (en) * 2016-07-12 2019-06-28 百度在线网络技术(北京)有限公司 Method and apparatus for information input
CN106873795A (en) * 2016-12-29 2017-06-20 北京五八信息技术有限公司 A kind of character input method, device and terminal
CN108733226A (en) * 2017-04-13 2018-11-02 北京搜狗科技发展有限公司 A kind of method and device of information recommendation
CN107832035B (en) * 2017-11-13 2021-03-12 深圳市矽昊智能科技有限公司 Voice input method of intelligent terminal
CN108536480B (en) * 2017-12-28 2021-05-28 Oppo广东移动通信有限公司 Input method configuration method and related product
CN108319377B (en) * 2018-02-07 2019-05-31 北京百度网讯科技有限公司 Method and system, terminal and the computer readable storage medium of displaying text input
CN109271040A (en) * 2018-08-06 2019-01-25 北京三个逗号科技有限公司 Construct method, input method, computer storage medium and the terminal of user thesaurus
CN111124141A (en) * 2018-10-12 2020-05-08 北京搜狗科技发展有限公司 Neural network model training method and device for determining candidate items
CN109597498B (en) * 2018-11-29 2021-01-19 北京蓦然认知科技有限公司 Word stock maintenance management method and device

Also Published As

Publication number Publication date
CN101149757A (en) 2008-03-26

Similar Documents

Publication Publication Date Title
CN101149757B (en) Method for accomplishing scene style word input
US11755835B2 (en) Method and apparatus for displaying candidate word, and graphical user interface
US6922670B2 (en) User support apparatus and system using agents
KR101267006B1 (en) A method of linking online document and instnt message and a mobile terminal linking online document and instnt message in a chatting window of instnt messaging service
US20120209593A1 (en) Handheld electronic device with reduced keyboard and associated method of providing quick text entry in a message
WO2006042265A8 (en) System and method for facilitating network connectivity based on user characteristics
JP2000250694A (en) Communication terminal having estimated editor application
JP2012522284A (en) System and method for touch-based text input
JP2001155014A (en) Received mail display method, electronic mail terminal equipment with pictograph converting function and mail repeating method
TWI305314B (en) Zhu yin symbol and tone mark input method, and electronic device
JP2010175967A (en) Speech recognition server, telephone, speech recognition system and speech recognition method
KR101825209B1 (en) System, method, and application for providing emotional expressions
JP4891438B2 (en) Eliminate ambiguity in keypad text entry
CN105786976A (en) Mobile terminal and application search method thereof
WO2022213944A1 (en) Method and apparatus for referencing information, and electronic device
KR101695348B1 (en) Apparatus for providing service based messenger and method using the same
CN112559672A (en) Information detection method, electronic device and computer storage medium
KR20130062799A (en) Method for managing keyword information server
WO2019183453A1 (en) Modifying spoken commands
CN106708632A (en) Information editing method and information editing device
US20110131033A1 (en) Weight-Ordered Enumeration of Referents and Cutting Off Lengthy Enumerations
CN105323392A (en) Method and apparatus for quickly entering IVR menu
KR20060125421A (en) Character input method for massage in mobile phone
US20210343283A1 (en) Electronic device for sharing user-specific voice command and method for controlling same
CN106886364A (en) A kind of text handling method and terminal based on speech recognition

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
ASS Succession or assignment of patent right

Owner name: SHENZHEN SHIJI LIGHT SPEED INFORMATION TECHNOLOGY

Free format text: FORMER OWNER: TENGXUN SCI-TECH (SHENZHEN) CO., LTD.

Effective date: 20131015

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518044 SHENZHEN, GUANGDONG PROVINCE TO: 518057 SHENZHEN, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131015

Address after: A Tencent Building in Shenzhen Nanshan District City, Guangdong streets in Guangdong province science and technology 518057 16

Patentee after: Shenzhen Shiji Guangsu Information Technology Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.