Method and apparatus for customizing word segmentation model based on artificial intelligence, device and medium
First Claim
Patent Images
1. A method for customizing a word segmentation model based on artificial intelligence, comprising:
- acquiring a customized segmentation training corpus;
rectifying a first preset word segmentation model with an increment training method or a weight intervention method, based on the customized segmentation training corpus, to obtain a customized word segmentation model corresponding to the customized segmentation training corpus,wherein, rectifying the first preset word segmentation model with the increment training method or the weight intervention method based on the customized segmentation training corpus to obtain the customized word segmentation model corresponding to the customized segmentation training corpus comprises;
segmenting the customized segmentation training corpus with the first preset word segmentation model to obtain a first segmentation result;
comparing the first segmentation result with the customized segmentation training corpus based on a preset rule, to obtain a first update parameter; and
updating the first preset word segmentation model based on the first update parameter, to obtain the customized word segmentation model corresponding to the customized segmentation training corpus.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure disclose a method and an apparatus for customizing a word segmentation model based on artificial intelligence, a device and a medium. The method includes the followings. A customized segmentation training corpus is acquired. A first preset word segmentation model is rectified with an increment training method or a weight intervention method, based on the customized segmentation training corpus, to obtain a customized word segmentation model corresponding to the customized segmentation training corpus.
5 Citations
15 Claims
-
1. A method for customizing a word segmentation model based on artificial intelligence, comprising:
-
acquiring a customized segmentation training corpus; rectifying a first preset word segmentation model with an increment training method or a weight intervention method, based on the customized segmentation training corpus, to obtain a customized word segmentation model corresponding to the customized segmentation training corpus, wherein, rectifying the first preset word segmentation model with the increment training method or the weight intervention method based on the customized segmentation training corpus to obtain the customized word segmentation model corresponding to the customized segmentation training corpus comprises; segmenting the customized segmentation training corpus with the first preset word segmentation model to obtain a first segmentation result; comparing the first segmentation result with the customized segmentation training corpus based on a preset rule, to obtain a first update parameter; and updating the first preset word segmentation model based on the first update parameter, to obtain the customized word segmentation model corresponding to the customized segmentation training corpus. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A device, comprising:
-
one or more processors; a storage device, configured to store one or more programs, wherein the one or more processors are configured to execute the one or more programs by reading the one or more programs from the storage device, to perform acts of; acquiring a customized segmentation training corpus; rectifying a first preset word segmentation model with an increment training method or a weight intervention method, based on the customized segmentation training corpus, to obtain a customized word segmentation model corresponding to the customized segmentation training corpus, wherein, the one or more processors are configured to rectify the first preset word segmentation model with the increment training method or the weight intervention method based on the customized segmentation training corpus to obtain the customized word segmentation model corresponding to the customized segmentation training corpus by acts of; segmenting the customized segmentation training corpus with the first preset word segmentation model to obtain a first segmentation result; comparing the first segmentation result with the customized segmentation training corpus based on a preset rule, to obtain a first update parameter; and updating the first preset word segmentation model based on the first update parameter, to obtain the customized word segmentation model corresponding to the customized segmentation training corpus. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory storage medium having computer executable instructions, wherein when the computer executable instructions are executed by a processor of a computer, a method for customizing a word segmentation model based on artificial intelligence is executed, the method comprising:
-
acquiring a customized segmentation training corpus; rectifying a first preset word segmentation model with an increment training method or a weight intervention method, based on the customized segmentation training corpus, to obtain a customized word segmentation model corresponding to the customized segmentation training corpus, wherein, rectifying the first preset word segmentation model with the increment training method or the weight intervention method based on the customized segmentation training corpus to obtain the customized word segmentation model corresponding to the customized segmentation training corpus comprises; segmenting the customized segmentation training corpus with the first preset word segmentation model to obtain a first segmentation result; comparing the first segmentation result with the customized segmentation training corpus based on a preset rule, to obtain a first update parameter; and updating the first preset word segmentation model based on the first update parameter, to obtain the customized word segmentation model corresponding to the customized segmentation training corpus. - View Dependent Claims (12, 13, 14, 15)
-
Specification