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

associate symbols used in expressions with text description #20

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

associate symbols used in expressions with text description #20

bhpayne opened this issue Nov 25, 2023 · 1 comment

Comments

@bhpayne
Copy link
Member

bhpayne commented Nov 25, 2023

As an example, suppose the following is in a paper:

\begin{equation}
a = b + c
\end{equation}
where $c$ is the number of cows and $b$ is the number of bats.  

For this paper,

  • c is the number of cows
  • b is the number of bats

The relevance of picking these variable definitions out is to then find other papers with that same variable, even if the symbol being used is different. (In another paper where w is the number of cows.)

Success here is

  1. identify the meaning of a given symbol
  2. identify uses of the same meaning in different papers
@msgoff
Copy link
Contributor

msgoff commented Nov 26, 2023

in the src directory I added
pip install -r requirements.txt
python decompress_model.py
python nltk_downloads.py
python get_symbol_defs.py
I am confident that on average you should get at least 10% of the variable definitions with the get_symbol_defs.py file.

The concordance dict can be used for additional processing as it extracts every sentence where a variable is used.

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

2 participants