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

Parentheses #19

Open
bsfsfn opened this issue Apr 7, 2017 · 1 comment
Open

Parentheses #19

bsfsfn opened this issue Apr 7, 2017 · 1 comment

Comments

@bsfsfn
Copy link

bsfsfn commented Apr 7, 2017

The search engine can't associate e.g. this:
\arcsin{\frac{a}{b}}
with this:
\arcsin{\left(\frac{a}{b}\right)}

@w32zhong
Copy link
Member

w32zhong commented Apr 9, 2017

@j-dec You are right, but completely ignoring parentheses will result in no difference between c(x) and cx, the former is a function but the latter is multiplication. I have to admit this is an issue approach0 has to solve in the future. If time permits, I plan to add query expansion to (partially) address this issue, for example, to expand query c(x) to query expression cx OR c(x). The other way around is similar, the difference is doing document expression expansion at indexing stage. The draw back of this method is, if there are too many parentheses in a math expression, the time complexity to enumerate all possibilities is huge.

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

No branches or pull requests

2 participants