CN107169115A - Add the method and device of self-defined participle - Google Patents

Add the method and device of self-defined participle Download PDF

Info

Publication number
CN107169115A
CN107169115A CN201710364767.6A CN201710364767A CN107169115A CN 107169115 A CN107169115 A CN 107169115A CN 201710364767 A CN201710364767 A CN 201710364767A CN 107169115 A CN107169115 A CN 107169115A
Authority
CN
China
Prior art keywords
self
participle
typing
defined participle
storehouse
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
CN201710364767.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.)
Shenzhen Is Used In Conjunction Science And Technology Ltd
Original Assignee
Shenzhen Is Used In Conjunction Science And Technology 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 Shenzhen Is Used In Conjunction Science And Technology Ltd filed Critical Shenzhen Is Used In Conjunction Science And Technology Ltd
Priority to CN201710364767.6A priority Critical patent/CN107169115A/en
Publication of CN107169115A publication Critical patent/CN107169115A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention is applied to field of computer technology there is provided the self-defined segmenting method of one kind addition and device, including:Monitor self-defined typing request;The self-defined typing request at least includes self-defined participle typing list, and the self-defined participle typing list at least includes self-defined participle;When listening to self-defined typing request, function is added by self-defined participle and writes the self-defined participle in self-defined participle storehouse.The embodiment of the present invention is asked by monitoring self-defined typing, when listening to self-defined typing request, function is added by self-defined participle to write the self-defined participle in self-defined participle storehouse, the word being newly added in self-defined participle storehouse comes into force, therefore server need not be restarted, the time is saved, operating efficiency is improved.

Description

Add the method and device of self-defined participle
Technical field
The invention belongs to field of computer technology, more particularly to a kind of method and device for adding self-defined participle.
Background technology
With the explosive growth of internet data scale, how to have from quick obtaining in the history, real time data of magnanimity With information, become more and more challenging.Search is to obtain one of most efficient approach of information, thus be also all kinds of websites or The basic standard configuration function of person's application.But only powerful search engine is inadequate, in addition it is also necessary to which formulation meets individual demand Personalized dictionary, and often some standard dictionaries can not perfectly produce a desired effect, it is therefore desirable to set up self-defined participle storehouse.
It is all to rope that major part Chinese word segmentation plug-in unit, which includes bigdesk, head, inquisitor, marvel, kopf, at present Row is introduced to browse, check or analyze, and IKAnalyzer (the Chinese word segmentation plug-in unit of lightweight) is used as popular Chinese Participle plug-in unit does not but do good support to adding self-defined participle.Existing IKAnalyzer is needed in self-defined point of addition Whole ElasticSearch servers are restarted after word can just be loaded into the word for being just added to self-defined participle storehouse.If in One unusual huge ElasticSearch cluster environment, nodes are likely to be breached dozens or even hundreds of node, then each The node for providing index service is required for self-defined participle storehouse under editing and updating then to restart, but ElasticSearch is serviced Thinking highly of the process opened needs the wait of a period of time, and this will lose time.
In summary, there is the problem of operating efficiency is low in the method for adding self-defined participle at present.
The content of the invention
In view of this, the embodiments of the invention provide the method and device for adding self-defined participle, to solve prior art There is the problem of operating efficiency is low in the method for the middle self-defined participle of addition.
The first aspect of the embodiment of the present invention provides a kind of method for adding self-defined participle, including:
Monitor self-defined typing request;The self-defined typing request at least includes self-defined participle typing list, described Self-defined participle typing list at least includes self-defined participle;
When listening to self-defined typing request, function is added by self-defined participle and writes the self-defined participle certainly Define in participle storehouse.
The second aspect of the embodiment of the present invention provides a kind of device for adding self-defined participle, including:
Monitoring unit, for monitoring self-defined typing request;The self-defined typing request at least includes self-defined participle Typing list, the self-defined participle typing list at least includes self-defined participle;
Writing unit, for when listening to self-defined typing request, by self-defined participle add function will it is described from Participle is defined to write in self-defined participle storehouse.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including:Memory, processor and it is stored in In the memory and the computer program that can run on the processor, it is characterised in that described in the computing device Following steps are realized during computer program:
Monitor self-defined typing request;The self-defined typing request at least includes self-defined participle typing list, described Self-defined participle typing list at least includes self-defined participle;
When listening to self-defined typing request, function is added by self-defined participle and writes the self-defined participle certainly Define in participle storehouse.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, it is characterised in that the computer program realizes following steps when being executed by processor:
Monitor self-defined typing request;The self-defined typing request at least includes self-defined participle typing list, described Self-defined participle typing list at least includes self-defined participle;
When listening to self-defined typing request, function is added by self-defined participle and writes the self-defined participle certainly Define in participle storehouse.
The embodiment of the present invention is asked by monitoring self-defined typing, when listening to self-defined typing request, by making by oneself Adopted participle adds function and writes the self-defined participle in self-defined participle storehouse, and the word being newly added in self-defined participle storehouse is stood Come into force, therefore server need not be restarted, save the time, improve operating efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram of the method for the self-defined participle of addition that the embodiment of the present invention one is provided;
Fig. 2 is the implementation process schematic diagram of the method for the self-defined participle of addition that the embodiment of the present invention two is provided;
Fig. 3 is that step S205 implements schematic flow sheet in the embodiment of the present invention two;
Fig. 4 is the implementation process schematic diagram of the method for the self-defined participle of addition that the embodiment of the present invention four is provided;
Fig. 5 is the schematic diagram of the device of the self-defined participle of addition provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows the implementation process schematic diagram of the method for the self-defined participle of addition that the embodiment of the present invention one is provided.Such as Shown in Fig. 1, the method for the self-defined participle of the addition specifically includes following steps S101 to step S102.
Step S101:Monitor self-defined typing request;The self-defined typing request at least includes self-defined participle typing List, the self-defined participle typing list at least includes self-defined participle.
Wherein, self-defined participle can be that user is to set up the word that self-defined participle storehouse needs to add.For example, original word There is following word in storehouse:King, certain, name, research, dynamic, addition, it is self-defined, make by oneself, define, participle, word, method.In increase Self-defined participle:After " Mr. Wang's name " and " the additional self-defined participle of dynamic ", originally word present in dictionary is covered as:Mr. Wang Name, research, the additional self-defined participle of dynamic, method.Self-defined participle typing list at least includes self-defined participle, can also wrap Include server ip address.The server ip address is as " destination ", for will be self-defined in self-defined participle typing table Participle is sent to corresponding Service-Port.It is manually entered it is understood that the server ip address can be user, Can be that acquiescence is used with having a server ip given tacit consent in some server ip address, i.e., self-defined participle typing list Location.
The self-defined typing request at least includes self-defined participle typing list, the destination address of self-defined typing request As described server ip address.Self-defined typing request, the input of the self-defined typing request are monitored in the server Can be the front end completion in the server, the self-defined typing request can be still multiple.It is understood that described Server can also be multiple.One or more front end of some server correspondence.
Step S102:When listening to self-defined typing request, adding function by self-defined participle will be described self-defined Participle is write in self-defined participle storehouse.
When server listens to self-defined typing request, function is added by self-defined participle, with singleton._ MainDict.fillSegment (word) mode, by include in self-defined participle typing list in self-defined typing request Self-defined participle be loaded into the self-defined participle storehouse of singleton._MainDict internal memories, that is, complete in self-defined participle storehouse The middle write-in self-defined participle.For example, in the above example, adding after self-defined participle, the example that user can quickly export Sentence be:Mr. Wang's name adds self-defined segmenting method in research trends.Obviously, user is only needed to following five words:Mr. Wang's name, In, research, the additional self-defined participle of dynamic, method is linked up can constitute a complete sentence.
In summary, the method for the self-defined participle of addition provided in an embodiment of the present invention, please by monitoring self-defined typing Ask, when listening to self-defined typing request, function is added by self-defined participle the self-defined participle write-in is self-defined In participle storehouse, the word being newly added in self-defined participle storehouse comes into force, therefore need not restart server, saves the time, carries High operating efficiency.
Embodiment two
Fig. 2 shows the implementation process schematic diagram of the method for the self-defined participle of addition that the embodiment of the present invention two is provided.Such as Shown in Fig. 2, the method for the self-defined participle of addition comprises the following steps S201 to step S205:
Step S201:Monitor self-defined typing request;The self-defined typing request at least includes self-defined participle typing List, the self-defined participle typing list at least includes self-defined participle.
Step S201 implementation procedure is similar with the implementation procedure of the step S101 shown in Fig. 1, no longer goes to live in the household of one's in-laws on getting married herein.
Step S202:Listen to self-defined typing request.
Step S202 implementation procedure is similar with the implementation procedure of the step S102 shown in Fig. 1, no longer goes to live in the household of one's in-laws on getting married herein.
Step S203:Receive the self-defined participle typing list in the self-defined typing request.
Self-defined participle typing list in server receives the self-defined typing request, obtains self-defined participle record Enter the self-defined participle included in list.
Step S204:The self-defined participle of self-defined participle typing list is screened and duplicate removal, obtained unduplicated Self-defined participle.
It is understood that in self-defined participle typing list may comprising because of clerical mistake with user originally think input from Define the unmatched wrong self-defined participle of participle.Accordingly, it would be desirable to enter to the self-defined participle to self-defined participle typing list Row screening, it is to avoid write wrong self-defined participle in self-defined participle storehouse.
It will also be appreciated that user is after it with the addition of some or a period of time of several self-defined participles, may Added mistake self-defined participle before have forgotten, in order to avoid repeating to add, makes by oneself to self-defined participle typing list Adopted participle carries out duplicate removal.In addition, this has also reduced the memory space in the self-defined participle storehouse of internal memory.
Screening has been carried out in the self-defined participle in self-defined participle typing list and after duplicate removal, acquisition is unduplicated certainly Participle is defined, and these self-defined participles are the self-defined participles that user really thinks addition, situations such as in the absence of clerical mistake.
Step S205:Function is added by self-defined participle to write the self-defined participle in self-defined participle storehouse.
Step S205 implementation procedure is similar with the implementation procedure of the step S102 shown in Fig. 1, no longer goes to live in the household of one's in-laws on getting married herein.
In summary, the method for the self-defined participle of addition provided in an embodiment of the present invention, by being recorded to self-defined participle The self-defined participle entered in list has carried out screening and duplicate removal, gets accurate and unduplicated self-defined participle, improves and add It is added to the accuracy of self-defined participle in self-defined participle storehouse.
Embodiment three
On the basis of embodiment two, Fig. 3 shows that the flow that implements of step S205 in the embodiment of the present invention two is shown It is intended to.As shown in figure 3, the step S205 flow that implements comprises the following steps S301 to step S302.
Step S301:Call self-defined participle to add function, the unduplicated self-defined participle is added to self-defined In participle storehouse.
Step S302:Update the self-defined participle storehouse.
Specifically, in embodiments of the present invention, after unduplicated self-defined participle is got, self-defined participle is called to chase after Plus function, the unduplicated self-defined participle is written to self-defined participle storehouse, i.e., is successfully added in self-defined participle storehouse, And it is the self-defined participle storehouse that with the addition of self-defined participle dynamically to update the self-defined participle storehouse.Therefore, the embodiment of the present invention Avoid and update delayed situation, and ensure that the terseness in the self-defined participle storehouse of renewal.
The method of the self-defined participle of addition provided in an embodiment of the present invention, by calling self-defined participle to add function, adds Plus unduplicated self-defined participle is into self-defined participle storehouse and dynamically updates, it is ensured that it is newest that self-defined participle storehouse is in dynamic State and self-defined participle storehouse terseness.
Example IV
On the basis of embodiment one, Fig. 3 shows the method for the self-defined participle of addition that the embodiment of the present invention four is provided Implementation process schematic diagram.As shown in figure 3, the method for the self-defined participle of addition also comprises the following steps S401.
Step S401:The content inputted in visual page in the self-defined participle typing list, the content is at least Including self-defined participle.
The self-defined of needs addition is timely and effectively found in using word than more frequently scene for the ease of user Participle, can be the content inputted in visual page in the self-defined participle typing list.Setting belonging to visual page Standby can be any equipment with display screen, such as mobile phone, notebook.
The method of the self-defined participle of addition provided in an embodiment of the present invention, it is described self-defined by being inputted in visual page Content in participle typing list, it is only necessary to the custom words put in order are submitted from the visual page and just come into force, It further simplify operation.
Embodiment five
Fig. 5 is refer to, it illustrates the schematic diagram of the device of the self-defined participle of addition provided in an embodiment of the present invention.It is described The device of self-defined participle is added, including:Monitoring unit 51, writing unit 52.Wherein, the concrete function of each unit is as follows:
Monitoring unit 51, for monitoring self-defined typing request;The self-defined typing request at least includes self-defined point Word typing list, the self-defined participle typing list at least includes self-defined participle;
Writing unit 52, for when listening to self-defined typing request, adding function by self-defined participle will be described Self-defined participle is write in self-defined participle storehouse.
Alternatively, the device of the self-defined participle of addition also includes:
Receiving unit, for receiving the self-defined participle typing list in the self-defined typing request;
Processing unit, is screened and duplicate removal for the self-defined participle to self-defined participle typing list, and acquisition is not weighed Multiple self-defined participle.
Alternatively, said write unit includes:
Subelement is called, for calling self-defined participle to add function, the unduplicated self-defined participle is added to In self-defined participle storehouse;
Subelement is updated, for updating the self-defined participle storehouse.
Alternatively, the device of the self-defined participle of addition also includes:
Input block, for the content inputted in visual page in the self-defined participle typing list, the content At least include self-defined participle.
The device of the self-defined participle of addition provided in an embodiment of the present invention, is asked by monitoring self-defined typing, is being monitored When being asked to self-defined typing, function is added by self-defined participle and writes the self-defined participle in self-defined participle storehouse, The word being newly added in self-defined participle storehouse comes into force, therefore need not restart server, saves the time, improves operation effect Rate.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic It is fixed.
Fig. 6 is the schematic diagram for the terminal device that one embodiment of the invention is provided.As shown in fig. 6, the terminal of the embodiment is set Standby 6 include:Processor 60, memory 61 and it is stored in the meter that can be run in the memory 61 and on the processor 60 Calculation machine program 62, for example, add the method program of self-defined participle.The processor 60 performs real during the computer program 62 Step in the embodiment of the method for each existing above-mentioned self-defined participle of addition, such as the step S101 to S102 shown in Fig. 1.Or Person, the processor 60 realizes the function of each unit in above-mentioned each device embodiment when performing the computer program 62, for example The function of unit 51 to 52 shown in Fig. 5.
Exemplary, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are performed by the processor 60, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used for Implementation procedure of the computer program 62 in the terminal device 6 is described.For example, the computer program 62 can be divided Monitoring unit and writing unit are cut into, each unit concrete function is as follows:
Monitoring unit, for monitoring self-defined typing request;The self-defined typing request at least includes self-defined participle Typing list, the self-defined participle typing list at least includes self-defined participle;
Writing unit, for when listening to self-defined typing request, by self-defined participle add function will it is described from Participle is defined to write in self-defined participle storehouse.
The terminal device 6 can be that the calculating such as desktop PC, notebook, palm PC and cloud server is set It is standby.The terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 Only the example of terminal device 6, does not constitute the restriction to terminal device 6, can include than illustrating more or less portions Part, either combines some parts or different parts, such as described terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 60 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as hard disk of terminal device 6 or interior Deposit.The memory 61 can also be the External memory equipment of the terminal device 6, such as is equipped with described terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodges Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6 Member also includes External memory equipment.The memory 61 is used for needed for storing the computer program and the terminal device Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work( Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function there can be other dividing mode, for example when actually realizing Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as, in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

1. a kind of method for adding self-defined participle, it is characterised in that including:
Monitor self-defined typing request;The self-defined typing request at least includes self-defined participle typing list, described to make by oneself Adopted participle typing list at least includes self-defined participle;
When listening to self-defined typing request, function is added by self-defined participle the self-defined participle write-in is self-defined In participle storehouse.
2. the method for self-defined participle is added as claimed in claim 1, it is characterised in that listening to self-defined typing request Afterwards, before the self-defined participle of input is write in self-defined participle storehouse, in addition to:
Receive the self-defined participle typing list in the self-defined typing request;
The self-defined participle of self-defined participle typing list is screened and duplicate removal, unduplicated self-defined participle is obtained.
3. the method for self-defined participle is added as claimed in claim 2, it is characterised in that function is added by self-defined participle The self-defined participle is write into self-defined participle storehouse includes:
Call self-defined participle to add function, the unduplicated self-defined participle is added in self-defined participle storehouse;
Update the self-defined participle storehouse.
4. the method for self-defined participle is added as claimed in claim 1, it is characterised in that ask it monitoring self-defined typing Before, in addition to:
The content inputted in visual page in the self-defined participle typing list, the content at least includes self-defined point Word.
5. a kind of device for adding self-defined participle, it is characterised in that including:
Monitoring unit, for monitoring self-defined typing request;The self-defined typing request at least includes self-defined participle typing List, the self-defined participle typing list at least includes self-defined participle;
Writing unit, for when listening to self-defined typing request, adding function by self-defined participle will be described self-defined Participle is write in self-defined participle storehouse.
6. the device of self-defined participle is added as claimed in claim 5, it is characterised in that also included:
Receiving unit, for receiving the self-defined participle typing list in the self-defined typing request;
Processing unit, is screened and duplicate removal for the self-defined participle to self-defined participle typing list, is obtained unduplicated Self-defined participle.
7. adding the device of self-defined participle as claimed in claim 6, said write unit includes:
Subelement is called, for calling self-defined participle to add function, the unduplicated self-defined participle is added to and made by oneself In adopted participle storehouse;
Subelement is updated, for updating the self-defined participle storehouse.
8. the device of self-defined participle is added as claimed in claim 5, in addition to:
Input block, for the content inputted in visual page in the self-defined participle typing list, the content is at least Including self-defined participle.
9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as Claims 1-4 described in the computing device during computer program The step of any one methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of realizing such as any one of Claims 1-4 methods described when the computer program is executed by processor.
CN201710364767.6A 2017-05-22 2017-05-22 Add the method and device of self-defined participle Pending CN107169115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710364767.6A CN107169115A (en) 2017-05-22 2017-05-22 Add the method and device of self-defined participle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710364767.6A CN107169115A (en) 2017-05-22 2017-05-22 Add the method and device of self-defined participle

Publications (1)

Publication Number Publication Date
CN107169115A true CN107169115A (en) 2017-09-15

Family

ID=59816491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710364767.6A Pending CN107169115A (en) 2017-05-22 2017-05-22 Add the method and device of self-defined participle

Country Status (1)

Country Link
CN (1) CN107169115A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920576A (en) * 2018-06-25 2018-11-30 中科点击(北京)科技有限公司 A kind of adaptive text searching method
CN109213993A (en) * 2018-07-20 2019-01-15 沈文策 A kind of method and apparatus for adding customized participle
CN109408817A (en) * 2018-10-12 2019-03-01 科大国创软件股份有限公司 A kind of customized word bank system of Chinese word segmentation and its dynamic take-effective method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021430A (en) * 2016-05-16 2016-10-12 武汉斗鱼网络科技有限公司 Full-text retrieval matching method and system based on Lucence custom lexicon

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021430A (en) * 2016-05-16 2016-10-12 武汉斗鱼网络科技有限公司 Full-text retrieval matching method and system based on Lucence custom lexicon

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LENGYUHONG: "Java开源分词***IKAnalyzer学习(四) 词库加载源代码——Dictionary类", 《HTTPS://BLOG.CSDN.NET/LENGYUHONG/ARTICLE/DETAILS/6010100》 *
ZPC15200790194: "solr整合IKAnalyzer后动态添加词汇不需要重启解决方案", 《HTTPS://BLOG.CSDN.NET/ZPC15200790194/ARTICLE/DETAILS/17198809》 *
静艺: "java站内搜索lucene分词工具IKAnalyzer,更新字典需要重启服务的解决", 《HTTPS://BLOG.CSDN.NET/WANGZHIQIANG123456/ARTICLE/DETAILS/50631047》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920576A (en) * 2018-06-25 2018-11-30 中科点击(北京)科技有限公司 A kind of adaptive text searching method
CN109213993A (en) * 2018-07-20 2019-01-15 沈文策 A kind of method and apparatus for adding customized participle
CN109408817A (en) * 2018-10-12 2019-03-01 科大国创软件股份有限公司 A kind of customized word bank system of Chinese word segmentation and its dynamic take-effective method

Similar Documents

Publication Publication Date Title
US11003625B2 (en) Method and apparatus for operating on file
CN109614402B (en) Multidimensional data query method and device
US10963298B2 (en) Method, device and computer-readable for managing virtual machines
CN107480205B (en) Method and device for partitioning data
CN104601736A (en) Method and device for realizing short uniform resource locator (URL) service
CN112395322B (en) List data display method and device based on hierarchical cache and terminal equipment
CN112269830A (en) Big data analysis method, system, computer equipment and storage medium thereof
CN111241177A (en) Data acquisition method, system and network equipment
CN104657435A (en) Storage management method for application data and network management system
CN107169115A (en) Add the method and device of self-defined participle
US11615607B2 (en) Convolution calculation method, convolution calculation apparatus, and terminal device
CN105302536A (en) Configuration method and apparatus for related parameters of MapReduce application
CN109933595B (en) Internet of things equipment information sharing system and device and terminal equipment
CN105574031A (en) Method and system for index of database
CN112269665B (en) Memory processing method and device, electronic equipment and storage medium
CN107784091B (en) Operation authority query method and terminal device
CN107071553A (en) Method, device and computer readable storage medium for modifying video and voice
CN114328486A (en) Data quality checking method and device based on model
CN107357853A (en) A kind of operating method, device and the computer system of REDIS consoles
CN113392131A (en) Data processing method and device and computer equipment
CN112667682A (en) Data processing method, data processing device, computer equipment and storage medium
CN112487314A (en) Building search method and device based on knowledge graph and storage medium
CN110751204A (en) Data fusion method and device, storage medium and electronic device
CN110874246A (en) Module loading method, system and equipment
CN111625524B (en) Data processing method, device, equipment and storage medium

Legal Events

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

Application publication date: 20170915