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

Merge master and reconcile differences #756

Open
wants to merge 106 commits into
base: balaur
Choose a base branch
from
Open

Conversation

kwalcock
Copy link
Member

No description provided.

@MihaiSurdeanu
Copy link
Contributor

Thanks @kwalcock !

@kwalcock
Copy link
Member Author

One test is failing: TestHash. This is because it makes use of events.yml which has

- name: people-eat-food
  priority: ${rulepriority}
  label: Eating
  example: "John eats cake"
  graph: "hybrid"
  pattern: |
    trigger = [lemma=/eat/ & tag=/^V/]
    food:Food = dobj
    person:Person = nsubj

and the Balaur processor doesn't seem to support hybrid graphs. That file is really there for the OdinStarter, so that won't work as intended. The graph type can probably be changed, but other users of processors will probably run into problems with their rules.

FYI @MihaiSurdeanu

@MihaiSurdeanu
Copy link
Contributor

I think we should populate the hybrid dependencies in this case from the enhanced ones that use just syntax. I will push a fix soon.

@MihaiSurdeanu
Copy link
Contributor

One more idea: to avoid changing external code, maybe CluProcessor should be implemented as an alias for BalaurProcessor?

@kwalcock
Copy link
Member Author

See #759 for implementation of the alias idea.

@kwalcock
Copy link
Member Author

This is failing in TestNumericEntityRecognition where there is a timed test at the end. It is taking approximately 5 times longer to complete than it does in master. I'm not yet sure why.

@MihaiSurdeanu
Copy link
Contributor

Hmm... Other than the "fall" changes, that code should not have changed.

@kwalcock
Copy link
Member Author

Both versions should have fall in them. This branch has the changes from master merged. I'll probably need to time CluProcessor vs. BalaurProcessor again.

@kwalcock
Copy link
Member Author

AFAIK this test has never been a problem before. The time limit used to be 20 seconds. I swapped the limit for a println and it showed the following results:

Scala version Time
2.11 0:00:01:10.920
2.12 0:00:00:34.028
2.13 0:00:00:08.969
3.1 0:00:00:09.176

I'll try to find out where it's coming from.

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

Successfully merging this pull request may close these issues.

None yet

4 participants