Closed GindaChen closed 3 years ago
I think I have found the secrete place where inexact
hides:
lib/lucene/4.4/inexact/
works.But I still cannot find where the exact
files located... @ppasupat Would you like to have a look at the issue?
I saw the comments in emnlp2013 grammar and the original code, saying that exact
has some bug... It would be great if we can just raise an exception when the exact mode is selected
To reproduce the problem, I was trying to run on a limited grammar rules on the corenlp mode
with the following simplified version of emnlp2013 grammar:
The exact rules for
$Entity
will give me the followinig error:while the inexact rules will give me the followinig error:
Questions
lib/lucene/4.4/inexact
? Can I generate a segment file using lucene?class Options
that does not initialize the path for"exact"
, and there is no other place this value has been set. Is that intentional? Or is that a bug needs to be fixed? https://github.com/percyliang/sempre/blob/b27c06906da33e345c645ff9470132bf6d1c26dc/src/edu/stanford/nlp/sempre/freebase/EntityLexicon.java#L35-L36