首页> 外国专利> System and method for generating grammatically correct text strings

System and method for generating grammatically correct text strings

机译:生成语法正确的文本字符串的系统和方法

摘要

A method of generating a markup language text template comprises identifying a variable text element in a source language text string and assigning a first predefined symbol to the variable text element, identifying a grammatical rule for the variable text element and assigning a second predefined symbol to the variable text element based on the identified grammatical rule, determining whether to assign supplemental information to the variable text element, wherein the first predefined symbol, the second predefined symbol, and the supplemental information if assigned represent a token, and repeating the identification of a grammatical rule, assignment of first and second predefined symbols, and determination of whether to assign supplemental information for remaining variable text elements in the source language text string so as to complete a markup language text template comprising one or more tokens.
机译:一种生成标记语言文本模板的方法,包括:识别源语言文本字符串中的可变文本元素;将第一预定义符号分配给可变文本元素;标识该可变文本元素的语法规则;以及将第二预定义符号分配给基于所识别的语法规则的可变文本元素,确定是否向可变文本元素分配补充信息,其中第一预定义符号,第二预定义符号以及如果被分配的补充信息表示令牌,并且重复语法识别规则,第一和第二预定义符号的分配以及确定是否为源语言文本字符串中剩余的可变文本元素分配补充信息,以完成包含一个或多个标记的标记语言文本模板。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号