将 pMathML 转换为 cMathML 的算法/工具?
有谁知道任何已知的算法和/或开源项目可以将表示 mathml 转换为内容 mathml?
如果有开源项目,Javascript 是更好的选择。但任何其他语言也受到赞赏。
如果没有,您对如何解决这个问题有什么建议吗?
谢谢,
Does any one know of any known algorithm and/or open source project that converts presentation mathml to content mathml?
Javascript is preferable if there is any open source project. But any other language is appreciated too.
If not, do you have any suggestion on how to approach this problem?
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您可能知道这一点,但不可能可靠地从表示 mathml 转换为内容 mathml。最好在内容 mathml 中启动和编辑,因为您可以随时可靠地转换为演示 mathml。
像 Mathematica 这样的强大数学包可以有效地进行从演示 mathml 到内容 mathml 的转换......但在某些情况下他们必须猜测其含义。
对于开源解决方案,我会查找“计算机代数系统”......那里有几个好的解决方案......也许他们可以间接做到这一点。
最后一个选项是嵌入其中一个编辑器...例如,Integre 和 MathType 都支持演示文稿和内容 mathml...因此,也许有人可以帮助您进行转换。
First, you may know this, but it is not possible to reliably convert from presentation mathml to content mathml. Its better to start and edit in content mathml because you can reliably convert to presentation mathml whenever you want.
The power math packages, like Mathematica, can effectively do a conversion from presentation mathml to content mathml... but they will have to guess in some cases at the meaning.
For an open source solution, I'd lookup "computer algebra system"... there are several good ones out there... perhaps they can do it, indirectly.
The last option would be to embed one of the editors... for example, Integre and MathType both support both presentation and content mathml... so, perhaps one can help you make the conversion.