Method for training a linguistic model and electronic device
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsLiao Zhang, Zhengxiang Jiang, Xiaoyin Fu
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsLiao Zhang, Zhengxiang Jiang, Xiaoyin Fu
Estimating the term…
The present disclosure provides a method for training a linguistic model, related to fields of speech, natural language processing, deep learning technologies. A method includes: obtaining grammars corresponding to a plurality of sample texts and a slot value of a slot in each grammar by using semantic analysis; generating a grammar graph corresponding to each grammar based on the corresponding grammar and the slot value of the slot in the corresponding grammar; obtaining a weight of each grammar, a weight of each slot, and a weight of each slot value in each grammar graph based on the sample texts; determining at least one grammar frequency of each order based on the weight of each grammar, the weight of each slot, and the weight of each slot value in each grammar graph; and training the linguistic model based on the at least one grammar frequency of each order.
A method for training a linguistic model, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium having stored therein instructions, wherein the instructions cause a computer to perform a method for training a linguistic model, the method comprising:
Dependencies are inferred from the claim text.