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

Unify format #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,29 @@ The following files are in this repository:
* `ili.ttl`: The main interlingual index file, containing a definition and a
source for each identifier. This file is in the Turtle RDF format.
* `ili-map.ttl`, `ili-map-wn30.ttl`: These two files contain the mapping from
Princeton WordNet 3.0 to the ILI in Turtle. These files are identical
Princeton WordNet 3.0 to the ILI in Turtle. These files are identical.
* `ili-map-pwn30.tab`: The mapping from Princeton WordNet 3.0 to the ILI as
tab-separated values.
* `ili-map-pwn31.tab`, `ili-map-wn31.ttl`: The mappings from Princeton WordNet 3.1
to the ILI
to the ILI.
* `ili-map-odwn13.ttl`: The mapping from Open Dutch WordNet 1.3 to the ILI.
* `older-wn-mappings`: Automatically constructed mappings from previous versions
of WordNet to the ILI
of WordNet to the ILI.

## Building scripts

There are two scripts to create the HTML and the TSV versions of the data. They both require Python 3.6+. The requirements can be installed with
There are two scripts to create the HTML and the TSV versions of the data. They both require Python 3.6+. The requirements can be installed with:

pip install -r requirements.txt

The TSV script can be run as follows:

python3 make-tsv.py > cili.tsv

For the HTML the following will update the site
For the HTML, the following will update the site:

git checkout gh-pages
rm -fr docs
python make-html.py docs
git commit -am "A useful commit message"
git push