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

loading WordNet synsets file is very slow #2311

Open
adamcrussell opened this issue Jan 31, 2024 · 0 comments
Open

loading WordNet synsets file is very slow #2311

adamcrussell opened this issue Jan 31, 2024 · 0 comments

Comments

@adamcrussell
Copy link

?- time(consult('wordnet/prolog/wn_s.pl')).
% CPU time: 46.010s
true.

(note that some predicates appear discontiguous, but I have accounted for that with discontiguous(s/6) and discontiguous(s/4)

The same operation in SWI takes much less time

?- time(consult('wordnet/prolog/wn_s.pl')).
% 20,406,367 inferences, 3.465 CPU in 3.625 seconds (95% CPU, 5889504 Lips)
true.

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

1 participant