CN109683724A - A kind of method and device for adding input method library - Google Patents

A kind of method and device for adding input method library Download PDF

Info

Publication number
CN109683724A
CN109683724A CN201811339609.6A CN201811339609A CN109683724A CN 109683724 A CN109683724 A CN 109683724A CN 201811339609 A CN201811339609 A CN 201811339609A CN 109683724 A CN109683724 A CN 109683724A
Authority
CN
China
Prior art keywords
mail
document
library
application environment
user
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
CN201811339609.6A
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.)
Minjiang University
Original Assignee
Minjiang University
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 Minjiang University filed Critical Minjiang University
Priority to CN201811339609.6A priority Critical patent/CN109683724A/en
Publication of CN109683724A publication Critical patent/CN109683724A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This specification embodiment provides a kind of method and device for adding input method library, by the first application environment for obtaining user's operation input method;The first document is obtained according to first application environment;The first keyword is obtained according to the content of first document;Matched first library is obtained according to first keyword;First document is stored into first library.According to the library in the corresponding field of content matching that user inputs under specific application environment, the candidate word of more related fieldss is provided for user, solving does not have to provide the candidate word of related fields for different application environments in input method in the prior art, there are professional not strong, the not high problem of specific aim can provide the candidate word of correlative technology field for different application environments, with strong points, convenient for user's selection, accelerate the technical effect of text entry rates.

Description

A kind of method and device for adding input method library
Technical field
This specification embodiment is related to field of terminal technology more particularly to a kind of method and dress for adding input method library It sets.
Background technique
Input method refers to input coding mode rather than realizes the software of text input.Input method platform is to aid in user The computer application of text is inputted on a computing device.Input method platform can provide multiple candidates based on the input of user Word.The input of user and provided text can be the Latin of same-language or different language, such as such as English etc The non-latin script character of character and/or such as Chinese character etc.User can be by selecting some under some specific application environment Candidate word and the application environment that the candidate word is input to current active.
But present inventor during inventive technique scheme, has found above-mentioned technology extremely in realizing the embodiment of the present application It has the following technical problems less:
Do not have to provide the candidate word of related fields for different application environments in input method in the prior art, there are professions Not strong, the not high problem of specific aim of property.
Summary of the invention
This specification embodiment provides and a kind of method and device for adding input method library, solves defeated in the prior art Candidate word can only be provided according to single word by entering method, and cannot provide relevant candidate word based on entire document leads to input efficiency Low technical problem can facilitate user to select and accelerate the technical effect of the speed of text input.
In view of the above problems, the embodiment of the present application is proposed in order to provide a kind of method and dress for adding input method library It sets.
In a first aspect, this specification embodiment provides a kind of method for adding input method library, which comprises obtain First application environment of user's operation input method;The first document is obtained according to first application environment;According to first text The content of shelves obtains the first keyword;Matched first library is obtained according to first keyword;First document is deposited It stores up in first library.
Preferably, first application environment be mail, wherein the described method includes: using the attachment of the mail as First document.
Preferably, first application environment is mail, wherein is being edited the described method includes: obtaining the user First input position of character;Obtain the first mail edited locating for first input position;According to described first Mail obtains the text of the first mail, using the text as first document.
Preferably, first application environment is mail, wherein the described method includes: being obtained according to first mail With related second mail of first mail;First document is obtained according to second mail.
Preferably, first application environment is mail, wherein the described method includes: being obtained according to first mail The theme of first mail;Obtain in first application environment with the related third mail of the theme;Described in judgement Whether the degree of association of third mail and first mail is greater than predetermined threshold;When the third mail and first mail When the degree of association is greater than predetermined threshold, first document is obtained from the third mail.
Preferably, described that first keyword is obtained according to the content of first document, comprising: according to first document Content obtain M conjunctive word;Judge the pass of M the conjunctive words and first document respectively according to the M conjunctive words Connection degree size;Determine that the maximum conjunctive word of the degree of association is first keyword.
Second aspect, this specification embodiment provide a kind of device for adding input method library, and described device includes:
First obtains unit, for obtaining the first application environment of user's operation input method;
Second obtaining unit, for obtaining the first document according to first application environment;
Third obtaining unit, for obtaining the first keyword according to the content of first document;
4th obtaining unit, for obtaining matched first library according to first keyword;
First operating unit, for first document to be stored into first library.
Preferably, first application environment is mail, described device further include: using the attachment of the mail as described in First document.
Preferably, first application environment is mail, described device further include:
5th obtaining unit, for obtaining the user just in the first input position of editing character;
6th obtaining unit, for obtaining the first mail edited locating for first input position;
7th obtaining unit, for obtaining the text of the first mail according to first mail, using the text as institute State the first document.
Preferably, first application environment is mail, described device further include:
8th obtaining unit, for being obtained and related second mail of first mail according to first mail;
9th obtaining unit, for obtaining first document according to second mail.
Preferably, first application environment is mail, described device further include:
Tenth obtaining unit, for obtaining the theme of first mail according to first mail;
11st obtaining unit, for obtain in first application environment with the related third mail of the theme;
First judging unit, for judging whether the third mail and the degree of association of first mail are greater than predetermined threshold Value;
12nd obtaining unit is greater than predetermined threshold for the degree of association when the third mail and first mail When, first document is obtained from the third mail.
Preferably, the third obtaining unit includes:
13rd obtaining unit, for obtaining M conjunctive word according to the content of first document;
Second judgment unit, for judging the M conjunctive words and first document respectively according to the M conjunctive words Degree of association size;
First determination unit, for determining that the maximum conjunctive word of the degree of association is first keyword.
The third aspect, this specification embodiment provide a kind of device for adding input method library, including memory, processor And store the computer program that can be run on a memory and on a processor, which is characterized in that the processor executes above-mentioned The step of any one the method.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
A kind of method and device in addition input method library that this specification embodiment provides, it is defeated by obtaining user's operation Enter the first application environment of method;The first document is obtained according to first application environment;It is obtained according to the content of first document Obtain the first keyword;Matched first library is obtained according to first keyword;First document is stored into described In one library.According to the library in the corresponding field of content matching that user inputs under specific application environment, provided more for user The candidate word of more related fieldss, solving does not have to provide related fields for different application environments in input method in the prior art Candidate word, there are professional not strong, the not high problems of specific aim, and the relevant technologies neck can be provided for different application environments The candidate word in domain, it is with strong points, it is selected convenient for user, accelerates the technical effect of text entry rates.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram in the addition input method library provided in this specification embodiment;
Fig. 2 is a kind of schematic device in the addition input method library provided in this specification embodiment;
Fig. 3 is the schematic device in another addition input method library provided in this specification embodiment.
Drawing reference numeral explanation: bus 300, receiver 301, processor 302, transmitter 303, memory 304, bus interface 306。
Specific embodiment
The embodiment of the invention provides a kind of method and devices for adding input method library, for solving in the prior art Do not have to provide the candidate word of related fields for different application environment in input method, there are professional not strong, specific aim is not high The problem of, technical solution general thought provided by the invention is as follows:
In the technical solution of the embodiment of the present invention, by the first application environment for obtaining user's operation input method;According to First application environment obtains the first document;The first keyword is obtained according to the content of first document;According to described One keyword obtains matched first library;First document is stored into first library.According to user specific Application environment under the library in the corresponding field of content matching that inputs, provide the candidate word of more related fieldss for user, can The candidate word of correlative technology field is provided for different application environments, it is with strong points, it is selected convenient for user, accelerates text input The technical effect of speed.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict, Technical characteristic in this specification embodiment and embodiment can be combined with each other.
It is only to be not intended to be limiting this public affairs merely for for the purpose of describing particular embodiments the term used is disclosed herein It opens.Packet is also intended to the "an" of singular used in the attached claims, " described " and "the" being disclosed herein Most forms are included, unless the context clearly indicates other meaning.The terms "and/or", only a kind of description association The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A And B, individualism B these three situations.In addition, character "/" herein, typicallys represent the pass that forward-backward correlation object is a kind of "or" System.
Embodiment one
Fig. 1 is a kind of flow diagram for the method for adding input method library in the embodiment of the present invention.As shown in Figure 1, institute Method is stated applied to an information processing equipment, the processing equipment of the information includes an input equipment and one shows equipment, described There is text input module, word processing module, memory, signal input module, the input equipment can inside input equipment It is attached with the equipment for generating output signal with computor-keyboard, cell phone keyboard etc., the display equipment and the input equipment Connection, is the equipment such as the display screen that can execute out by input equipments such as the computor-keyboard, cell phone keyboards.This method includes Step S101-S105.
S101: the first application environment of user's operation input method is obtained.
Specifically, in the embodiment of the present application, input method has been widely used in people's lives, and input method can Applied in a variety of environment, as a kind of important input tool, such as it is applied to editor mail, chat scenario, search interface, text Shelves etc..Input method refers to the coding method used for various symbols are inputted computer or other equipment (such as mobile phone), simultaneously It is the final result that writing implement overcomes ink to limit, is a kind of writing implement for possessing unlimited ink, is text productivity hair Open up the product of certain phase.When user is using computor-keyboard or cell phone keyboard input text information, when being inputted according to user The input method of selection, such as Chinese, English or Roman number.The input method server end obtains user using the of input method One application environment.
S102: the first document is obtained according to first application environment.
Further, first application environment is mail, wherein the described method includes: the attachment of the mail is made For first document.
Further, first application environment is mail, wherein is being compiled the described method includes: obtaining the user Collect the first input position of character;Obtain the first mail edited locating for first input position;According to described One mail obtains the text of the first mail, using the text as first document.
Further, first application environment is mail, wherein the described method includes: being obtained according to first mail It obtains and related second mail of first mail;First document is obtained according to second mail.
Further, first application environment is mail, wherein the described method includes: being obtained according to first mail Obtain the theme of first mail;Obtain in first application environment with the related third mail of the theme;Judge institute Whether the degree of association for stating third mail and first mail is greater than predetermined threshold;When the third mail and first mail The degree of association be greater than predetermined threshold when, first document is obtained from the third mail.
Specifically, first application environment is defined as editor's mail in the embodiment of the present application, this is not restricted. In the specific implementation process, according to first application environment obtain the first document method can there are many, be set forth below four For kind: the first, first application environment is mail, and attachment when server end is using user's transmission mail is as the second text Shelves.That is, major part user when sending mail, be all accustomed to file by the technology class file for being such as related to related fields at present Addition attachment is sent to addressee, when user is when editing the mail of related fields, searches for the historical record of user and will be previous Attachment in mail selects the candidate word of relevant art convenient for user, in this way as the second document when editing new mail Input method prompts precision higher.Second, the body part for the mail that user is being edited is as the first document.It obtains defeated Enter the position edited on method group user terminal, i.e. the first input position.Obtain user locating for first input position The first mail edited obtains the text of the first mail according to first mail, using the text as described first Document.The third, the mail that user is forwarded or made a copy for is as the first document.The position of text is being edited by obtaining user Set, to obtain the first mail for currently editing, searched in mailbox historical record according to first mail with it is described The relevant contact mail of first mail, and acquisition and highest second mail of the first mail degree of association, i.e. the second mail are forwarding Or replied mail relevant to the first mail made a copy for etc., the is obtained according to the theme of the second mail, title, text, attachment etc. Two documents provide the vocabulary of more associated topics when editing the first mail for user, improve input efficiency.It 4th kind, will use The relevant third mail of theme is as the first document in the previous mail at family.Pass through first mail in the terminal of user The theme for obtaining first mail, obtain in the previous mail of the user with the related third mail of the theme.Sentence Whether the degree of association of the third mail and first mail of breaking is greater than predetermined threshold, as the predetermined threshold be compare as described in Whether the similarity of the text of third mail and first mail is greater than 60%.When the third mail and first mail The degree of association be greater than 60% when, from the third mail attachment or text obtain first document.
S103: the first keyword is obtained according to the content of first document.
Further, described that first keyword is obtained according to the content of first document, comprising: according to first text The content of shelves obtains M conjunctive word;The M conjunctive words and first document are judged respectively according to the M conjunctive words Degree of association size;Determine that the maximum conjunctive word of the degree of association is first keyword.
Specifically, carrying out semantic analysis according to first document content to first document content, obtaining in institute The highest M conjunctive word of the frequency of occurrences in the first document content is stated, judges the M associations respectively according to the M conjunctive words The degree of association size of word and first document, wherein the maximum conjunctive word of the degree of association is first keyword.
S104: matched first library is obtained according to first keyword.
S105: first library is imported in the input method.
Specifically, the input method server end is retrieved in the database according to the first keyword of the first document content It is imported in the input method comprising the first library corresponding to the first keyword, and by first library, user is subsequent defeated When entering text, user's selection can be facilitated simultaneously quickly defeated for the vocabulary that user pushes more related fieldss according to associative memory Enter, improves input efficiency.For example, user is when editing mail, the most effective key of frequency of occurrence in the document of mail Vocabulary is composite material, using one word of composite material as keyword, retrieves the library about composite material in the database, and will Library about composite material imports in input method, and user, can be according to the content of the subsequent input of user when editing Mail Contents Multiple vocabulary about field of compound material are pushed for user to select to input for user.
Further, the method also includes: obtain user editing second input character;It is defeated according to described second Enter the second document content near position acquisition the second input character of character;Second is obtained according to second document content to close Keyword;Corresponding second library is obtained according to second keyword;First document content is stored into second text In library.
Specifically, this acquisition input method inputs text by obtaining user using the second input character of input method Character be user using input method input text real-time perfoming.According to the position of the second input character of user in the text Set the second document content near the position for obtaining the second input character.It for example, can be with when user is when writing mail User is obtained when editing, is inputting the second segment content of body part, server can obtain body part second segment it The content of preceding input, including theme, title, the body part inputted etc..According to second document content, to described second Document content carries out semantic analysis, obtains the highest vocabulary of the frequency of occurrences in second document content, most by the frequency of occurrences Second keyword of the high vocabulary as second document.It is examined in the database according to the second keyword of the second document content Rope includes the second library corresponding to the second keyword, and second document content is stored into second library.? That is the server obtains the second document near the document that user edits according to the second input character that user inputs Content, and the second keyword is obtained from second document content, the storage information in horn of plenty library is found in the database The second library of correlation of the second keyword is matched, and second document is stored into the second library and is summarized.User is subsequent defeated When entering text, user's selection can be facilitated simultaneously quickly defeated for the vocabulary that user pushes more related fieldss according to associative memory Enter, improves input efficiency.For example, user is when editing mail, the most effective key of frequency of occurrence in the document of mail Vocabulary is fiber, using two word of fiber as keyword, retrieves the library about fiber in the database, and by the text about fiber Library imports in input method, and user can be that user pushes multiple passes according to the content of the subsequent input of user when editing Mail Contents It selects to input for user in the vocabulary of fiber art.
Embodiment two
Based on inventive concept same as the addition method in input method library a kind of in previous embodiment, the present invention also provides A kind of device adding input method library, as shown in Fig. 2, described device includes:
First obtains unit 11, for obtaining the first application environment of user's operation input method;
Second obtaining unit 12, for obtaining the first document according to first application environment;
Third obtaining unit 13, for obtaining the first keyword according to the content of first document;
4th obtaining unit 14, for obtaining matched first library according to first keyword;
First operating unit 15, for first document to be stored into first library.
Further, first application environment is mail, described device further include: using the attachment of the mail as institute State the first document.
Further, first application environment is mail, described device further include:
5th obtaining unit, for obtaining the user just in the first input position of editing character;
6th obtaining unit, for obtaining the first mail edited locating for first input position;
7th obtaining unit, for obtaining the text of the first mail according to first mail, using the text as institute State the first document.
Further, first application environment is mail, described device further include:
8th obtaining unit, for being obtained and related second mail of first mail according to first mail;
9th obtaining unit, for obtaining first document according to second mail.
Further, first application environment is mail, described device further include:
Tenth obtaining unit, for obtaining the theme of first mail according to first mail;
11st obtaining unit, for obtain in first application environment with the related third mail of the theme;
First judging unit, for judging whether the third mail and the degree of association of first mail are greater than predetermined threshold Value;
12nd obtaining unit is greater than predetermined threshold for the degree of association when the third mail and first mail When, first document is obtained from the third mail.
Further, the third obtaining unit includes:
13rd obtaining unit, for obtaining M conjunctive word according to the content of first document;
Second judgment unit, for judging the M conjunctive words and first document respectively according to the M conjunctive words Degree of association size;
First determination unit, for determining that the maximum conjunctive word of the degree of association is first keyword.
The various change mode and specific example of the method in one of 1 embodiment one of earlier figures addition input method library are same Sample is suitable for a kind of device in addition input method library of the present embodiment, by aforementioned to a kind of method for adding input method library Detailed description, those skilled in the art be clear that in the present embodiment it is a kind of add input method library device reality Applying method, so this will not be detailed here in order to illustrate the succinct of book.
Embodiment three
Based on inventive concept same as the addition method in input method library a kind of in previous embodiment one, the present invention is also mentioned For a kind of computer readable storage medium, it is stored thereon with computer program, institute above is realized when which is executed by processor The step of either a kind of method for stating addition input method library method.
Wherein, in Fig. 3, bus architecture (is represented) with bus 300, and bus 300 may include any number of interconnection Bus and bridge, bus 300 will include the one or more processors represented by processor 302 and what memory 304 represented deposits The various circuits of reservoir link together.Bus 300 can also will peripheral equipment, voltage-stablizer and management circuit etc. it Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein Description.Bus interface 306 provides interface between bus 300 and receiver 301 and transmitter 303.Receiver 301 and transmitter 303 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.Place It manages device 302 and is responsible for management bus 300 and common processing, and memory 304 can be used for storage processor 302 and execute behaviour Used data when making.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
A kind of method and device in addition input method library that this specification embodiment provides, it is defeated by obtaining user's operation Enter the first application environment of method;The first document is obtained according to first application environment;It is obtained according to the content of first document Obtain the first keyword;Matched first library is obtained according to first keyword;First document is stored into described In one library.According to the library in the corresponding field of content matching that user inputs under specific application environment, provided more for user The candidate word of more related fieldss, solving does not have to provide related fields for different application environments in input method in the prior art Candidate word, there are professional not strong, the not high problems of specific aim, and the relevant technologies neck can be provided for different application environments The candidate word in domain, it is with strong points, it is selected convenient for user, accelerates the technical effect of text entry rates.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram It is standby.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill Within the scope of art, then this specification is also intended to include these modifications and variations.

Claims (8)

1. a kind of method for adding input method library, which is characterized in that the described method includes:
Obtain the first application environment of user's operation input method;
The first document is obtained according to first application environment;
The first keyword is obtained according to the content of first document;
Matched first library is obtained according to first keyword;
First document is stored into first library.
2. the method as described in claim 1, which is characterized in that first application environment is mail, wherein the method packet It includes:
Using the attachment of the mail as first document.
3. the method as described in claim 1, which is characterized in that first application environment is mail, wherein the method packet It includes:
The user is obtained just in the first input position of editing character;
Obtain the first mail edited locating for first input position;
The text that the first mail is obtained according to first mail, using the text as first document.
4. method as claimed in claim 3, which is characterized in that first application environment is mail, wherein the method packet It includes:
It is obtained and related second mail of first mail according to first mail;
First document is obtained according to second mail.
5. the method as described in claim 1, which is characterized in that first application environment is mail, wherein the method packet It includes:
The theme of first mail is obtained according to first mail;
Obtain in first application environment with the related third mail of the theme;
Judge whether the third mail and the degree of association of first mail are greater than predetermined threshold;
When the degree of association of the third mail and first mail is greater than predetermined threshold, institute is obtained from the third mail State the first document.
6. the method as described in claim 1, which is characterized in that described to obtain the first key according to the content of first document Word, comprising:
M conjunctive word is obtained according to the content of first document;
Judge the degree of association size of M the conjunctive words and first document respectively according to the M conjunctive words;
Determine that the maximum conjunctive word of the degree of association is first keyword.
7. a kind of device for adding input method library, which is characterized in that described device includes:
First obtains unit, for obtaining the first application environment of user's operation input method;
Second obtaining unit, for obtaining the first document according to first application environment;
Third obtaining unit, for obtaining the first keyword according to the content of first document;
4th obtaining unit, for obtaining matched first library according to first keyword;
First operating unit, for first document to be stored into first library.
8. a kind of device for adding input method library, including memory, processor and storage are on a memory and can be in processor The computer program of upper operation, which is characterized in that the processor realizes any one of claim 1-6 institute when executing described program The step of stating method.
CN201811339609.6A 2018-11-12 2018-11-12 A kind of method and device for adding input method library Pending CN109683724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811339609.6A CN109683724A (en) 2018-11-12 2018-11-12 A kind of method and device for adding input method library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811339609.6A CN109683724A (en) 2018-11-12 2018-11-12 A kind of method and device for adding input method library

Publications (1)

Publication Number Publication Date
CN109683724A true CN109683724A (en) 2019-04-26

Family

ID=66185310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811339609.6A Pending CN109683724A (en) 2018-11-12 2018-11-12 A kind of method and device for adding input method library

Country Status (1)

Country Link
CN (1) CN109683724A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN104423623A (en) * 2013-09-02 2015-03-18 联想(北京)有限公司 To-be-selected word processing method and electronic equipment
CN106933379A (en) * 2017-02-13 2017-07-07 北京奇虎科技有限公司 The generation method and device of a kind of dictionary
CN108664142A (en) * 2017-03-31 2018-10-16 微软技术许可有限责任公司 Input method with self-learning function between document
CN108664141A (en) * 2017-03-31 2018-10-16 微软技术许可有限责任公司 Input method with document context self-learning function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN104423623A (en) * 2013-09-02 2015-03-18 联想(北京)有限公司 To-be-selected word processing method and electronic equipment
CN106933379A (en) * 2017-02-13 2017-07-07 北京奇虎科技有限公司 The generation method and device of a kind of dictionary
CN108664142A (en) * 2017-03-31 2018-10-16 微软技术许可有限责任公司 Input method with self-learning function between document
CN108664141A (en) * 2017-03-31 2018-10-16 微软技术许可有限责任公司 Input method with document context self-learning function

Similar Documents

Publication Publication Date Title
CN109657054B (en) Abstract generation method, device, server and storage medium
US11734329B2 (en) System and method for text categorization and sentiment analysis
US20170344224A1 (en) Suggesting emojis to users for insertion into text-based messages
WO2015185019A1 (en) Semantic comprehension-based expression input method and apparatus
CN110647614A (en) Intelligent question and answer method, device, medium and electronic equipment
CN104462113A (en) Search method and device and electronic equipment
CN111046656A (en) Text processing method and device, electronic equipment and readable storage medium
US20190155954A1 (en) Cognitive Chat Conversation Discovery
CN106528835A (en) Information acquisition method and device
US10049108B2 (en) Identification and translation of idioms
CN115099239B (en) Resource identification method, device, equipment and storage medium
CN106681598A (en) Information input method and device
CA3131157A1 (en) System and method for text categorization and sentiment analysis
CN114416976A (en) Text labeling method and device and electronic equipment
US9892193B2 (en) Using content found in online discussion sources to detect problems and corresponding solutions
JP2021082306A (en) Method, apparatus, device, and computer-readable storage medium for determining target content
CN112380847A (en) Interest point processing method and device, electronic equipment and storage medium
US9916307B1 (en) Dynamic translation of idioms
CN113836316B (en) Processing method, training method, device, equipment and medium for ternary group data
US11361031B2 (en) Dynamic linguistic assessment and measurement
CN110020429A (en) Method for recognizing semantics and equipment
CN108268443A (en) It determines the transfer of topic point and obtains the method, apparatus for replying text
CN111555960A (en) Method for generating information
CN111666417A (en) Method and device for generating synonyms, electronic equipment and readable storage medium
CN110442696A (en) Inquiry processing method and device

Legal Events

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

Application publication date: 20190426

RJ01 Rejection of invention patent application after publication