首页> 外国专利> Method and apparatus for document transformation based on attribute grammars and attribute couplings

Method and apparatus for document transformation based on attribute grammars and attribute couplings

机译:基于属性语法和属性耦合的文档转换方法和装置

摘要

A method and apparatus are provided for converting a first document to a second document. The first document is in a first extended attribute grammar, while the second document is in a second extended attribute grammar. An extended attribute coupling grammar couples the first and second extended attribute grammars. The first document is converted to a first tree, which is partially copied to a first copy. The first copy is completed by evaluating it's attribute with respect to the extended attribute coupling grammar. The first copy is then a partially attributed tree of the second document. The partially attributed tree is completed to form a second tree based on the second extended attribute grammar. The second tree is then converted to the second document.
机译:提供了一种用于将第一文档转换为第二文档的方法和装置。第一文档在第一扩展属性语法中,而第二文档在第二扩展属性语法中。扩展属性耦合语法耦合第一和第二扩展属性语法。第一个文档被转换为第一棵树,该树被部分复制到第一份副本中。通过根据扩展属性耦合语法评估其属性来完成第一个副本。然后,第一个副本是第二个文档的部分属性树。基于第二扩展属性语法,完成部分归因树以形成第二树。然后将第二棵树转换为第二个文档。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号