Skip to content

Commit

Permalink
Add wn_morphy.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
ekaf committed Feb 22, 2024
1 parent 028c610 commit febdcc6
Show file tree
Hide file tree
Showing 16 changed files with 7,114 additions and 473 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a.out
17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
# wordnet-prolog utilities (c) 2017-20 Eric Kafe
# License: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/

all: valid query csv
all: doc valid query csv

# Groff is required for building the documentation
doc: html pdf ps

html:
# Needs the 'groff' package
@groff -mandoc -Thtml doc/prologdb.5>doc/prologdb.5WN.html

pdf:
# Needs the 'groff' package
@groff -mandoc -Tpdf doc/prologdb.5>doc/prologdb.pdf

ps:
# Needs the 'groff' package
@groff -mandoc -Tps doc/prologdb.5>doc/prologdb.ps

query:
@echo Testing example queries...
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ only unique clauses:
- wn_cs.pl: 220
- wn_der.pl: 74821
- wn_ent.pl: 408
- wn_exc.pl: 6050
- wn_fr.pl: 21647
- wn_g.pl: 117659
- wn_hyp.pl: 89089
Expand All @@ -69,6 +70,9 @@ Prolog versions of WordNet 3.1 and English WordNet 2020.

## Utilities:

_wn_morphy.pl_ is a SWI-prolog lemmatizer, similar to _morphy_,
the morphological processor from WordNet.

_wn_valid.pl_ is a SWI-prolog program testing for some potential issues in WordNet:

- check_keys: ambiguous sense keys, pointing to more than one synset
Expand Down
Loading

0 comments on commit febdcc6

Please sign in to comment.