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

GeoNormFinder.find with locations found with back-off rules #698

Open
maxaalexeeva opened this issue Oct 24, 2019 · 7 comments
Open

GeoNormFinder.find with locations found with back-off rules #698

maxaalexeeva opened this issue Oct 24, 2019 · 7 comments
Assignees

Comments

@maxaalexeeva
Copy link
Contributor

Becky's update to GeoNormFinder applies it to all the locations that are found with a gazetteer. It does not seem to work with the locations found with the rules here (even if the entities found are renamed to just Location instead of Location-Expand):
https://github.com/clulab/eidos/blob/migration_schema-zupon/src/main/resources/org/clulab/wm/eidos/english/grammars/context.yml#L30

For now, it does not matter much bc all the relevant locations have been added to gazetteer, but it would be good to make the finder apply even to the locations not in the gazetteer.

@maxaalexeeva maxaalexeeva self-assigned this Oct 24, 2019
@BeckySharp
Copy link
Contributor

BeckySharp commented Oct 24, 2019 via email

@maxaalexeeva
Copy link
Contributor Author

sounds good! This doesn't seem to be very crucial right now, but I do want to get back to it at some point, so I figured I'd just start an issue for future reference.

@BeckySharp
Copy link
Contributor

@maxaalexeeva what's the status on this? same?

@maxaalexeeva
Copy link
Contributor Author

I don't believe we have addressed this.

@BeckySharp
Copy link
Contributor

to make sure I understand -- the rules apply during the main running of the grammars, right?
I think (all of?) the finders run ahead of time. If I'm right, then do we just want to use the normalization of the finder on locations found elsewhere? Or have I misunderstood?

@maxaalexeeva
Copy link
Contributor Author

to make sure I understand -- the rules apply during the main running of the grammars, right?
I think so.
I think (all of?) the finders run ahead of time.
Is this where the order of finders is defined?

entityFinders = ["gazetteer", "rulebased", "geonorm", "timenorm"]

If yes, based on this order, the rule-found locations should also be normalized. Or maybe I misunderstand.

Something we can look at during wed meeting, @BeckySharp?

@BeckySharp
Copy link
Contributor

BeckySharp commented Jan 21, 2020 via email

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