Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract the abstract syntax tree from a latex math expression #18

Open
bhpayne opened this issue Nov 25, 2023 · 1 comment
Open

Extract the abstract syntax tree from a latex math expression #18

bhpayne opened this issue Nov 25, 2023 · 1 comment

Comments

@bhpayne
Copy link
Member

bhpayne commented Nov 25, 2023

Latex is for presentation. Getting an abstract syntax tree for a Latex math expression is a critical step for searchability and semantic enrichment.

  1. Parse the Latex expression into symbols (like a, b, x_1, \vec{z}) and operators (*, \int, >)
  2. create an abstract syntax tree for the symbols and operators

Caveat: scientists aren't consistent in their notation, so there might be conflicting ways to interpret a Latex math string.

Caveat: not all symbols to be identified are in the string. For example, a b might refer to "a multiplied by b"

@bhpayne
Copy link
Member Author

bhpayne commented Nov 25, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant