CNIPA.AI
返回搜索
档案

Machine Learning Based Rules Compiler for Part-Of-Speech Tagging

发明专利审中
2浏览
22权利要求 · 4 独立
§ Ⅰ

卷宗概要

发明人

Geoffrey Michael Obbard; Alicia Maria Ferraro

IPC 分类

G6F 40/253G6F 8/35G6F 40/284G6F 40/55

CPC 分类

G6F40/253G6F8/35G6F40/284G6F40/55

A computer-implemented method for a machine learning based rules compiler, the method comprising receiving machine learning generated ripple down rules, the ripple down rules comprising exception rules for tags in a tag set, the exception rules comprising tag string comparisons. The method further comprises compiling the ripple down rules into optimized computer code. Compiling the rules into computer code further comprises generating an enumeration statement for an enumeration containing the tag set, translating the exception rules for each tag in the tag set into if-else statements for a respective tag, including replacing the tag string comparisons with the enumeration; and generating a switch case statement for a current tag, the switch case statement having cases corresponding the tags in the tag set and including the if-else statements for the respective tag. The optimized computer code comprises the enumeration statement and the switch case statement.

原文(中文)

A computer-implemented method for a machine learning based rules compiler, the method comprising receiving machine learning generated ripple down rules, the ripple down rules comprising exception rules for tags in a tag set, the exception rules comprising tag string comparisons. The method further comprises compiling the ripple down rules into optimized computer code. Compiling the rules into computer code further comprises generating an enumeration statement for an enumeration containing the tag set, translating the exception rules for each tag in the tag set into if-else statements for a respective tag, including replacing the tag string comparisons with the enumeration; and generating a switch case statement for a current tag, the switch case statement having cases corresponding the tags in the tag set and including the if-else statements for the respective tag. The optimized computer code comprises the enumeration statement and the switch case statement.