LaTeX to CAS translator

Jump to navigation Jump to search

This mockup demonstrates the concept of TeX to Computer Algebra System (CAS) conversion.

The demo-application converts LaTeX functions which directly translate to CAS counterparts.

Functions without explicit CAS support are available for translation via a DRMF package (under development).

The following LaTeX input ...

{\displaystyle d = \overline{b}}

... is translated to the CAS output ...

Semantic latex: d = \overline{b}

Confidence: 0

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) No translation possible for given token: Accents are not supported.

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) No translation possible for given token: Accents are not supported.

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) No translation possible for given token: Accents are not supported.

Tests

Symbolic
Numeric

Dependency Graph Information

Is part of

Description

  • orthogonality relation
  • special case
  • continuous Hahn polynomial
  • Bateman polynomial
  • x

Complete translation information:

{
  "id" : "FORMULA_30b7afc115b91fc98dbf12dfa32e2d17",
  "formula" : "d = \\overline{b}",
  "semanticFormula" : "d = \\overline{b}",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) No translation possible for given token: Accents are not supported."
        }
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) No translation possible for given token: Accents are not supported."
        }
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) No translation possible for given token: Accents are not supported."
        }
      }
    }
  },
  "positions" : [ {
    "section" : 1,
    "sentence" : 1,
    "word" : 20
  } ],
  "includes" : [ ],
  "isPartOf" : [ "a=b=c=d=1/2" ],
  "definiens" : [ {
    "definition" : "orthogonality relation",
    "score" : 0.7125985104912714
  }, {
    "definition" : "special case",
    "score" : 0.39967857142857144
  }, {
    "definition" : "continuous Hahn polynomial",
    "score" : 0.3902770819198429
  }, {
    "definition" : "Bateman polynomial",
    "score" : 0.3635871910523791
  }, {
    "definition" : "x",
    "score" : 0.32375325072137184
  } ]
}

Specify your own input