Skip to content

Commit

Permalink
Update release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccrae committed Nov 1, 2024
1 parent 3c511bb commit 8343b41
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ This is generated by Python scripts in this repo
Edit the file `scripts/merge.py` and `WNDB_License.txt` to update the version.

```
python scripts/from-yaml.py
python scripts/merge.py
python scripts/from_yaml.py
cp wn.xml english-wordnet-20XX.xml
gzip english-wordnet-20XX.xml
```
Expand All @@ -22,7 +21,7 @@ First unzip the previous release into a folder called `oewn20XX/`

```
./gwn -i english-wordnet-20XX.xml -o oewn20XX/ -f WNLMF -t WNDB --wordnet-license WNDB_License.txt
zip english-wordnet-20XX.zip -R oewn20XX/
zip -r english-wordnet-20XX.zip oewn20XX/
```

Testing:
Expand All @@ -39,15 +38,15 @@ This is based on [Wordnet Angular](https://github.com/jmccrae/wordnet-angular)
Firstly, load the database from the XML file

```
cargo +nightly build --release
cargo build --release
rm -f wordnet.db
cargo +nightly run --release --bin wordnet-angular -- --reload --wn ../../globalwordnet/english-wordnet/wn.xml -s en
cargo run --release --bin wordnet-angular -- --reload --wn ../../globalwordnet/english-wordnet/wn.xml -s en
```

Now dump the RDF data

```
cargo +nightly run --release --bin wordnet-rdf-dump -- -s en > wn.ttl
cargo run --release --bin wordnet-rdf-dump -- -s en > wn.ttl
rapper -i turtle -o turtle wn.ttl > english-wordnet-2023.ttl
gzip english-wordnet-2023.ttl
```
Expand Down

0 comments on commit 8343b41

Please sign in to comment.