https://github.com/arademaker/wn30-glosses-fftb
https://github.com/arademaker/wn30-glosses-fftb
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arademaker/wn30-glosses-fftb
- Owner: arademaker
- Created: 2020-08-19T17:44:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-20T13:51:33.000Z (almost 6 years ago)
- Last Synced: 2025-12-28T01:50:40.786Z (6 months ago)
- Language: Python
- Size: 1.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
Note that grammar must be compiled to Linux and Mac. We can't use the
same compiled grammar with ACE in different operational systems.
sample of WN glosses using the https://github.com/own-pt/own-en.
#+BEGIN_SRC zsh
awk '$0 ~ /^d:/ {out=sub(/d:[ ]+/,""); print $0}' ~/work/wn/own-en/src/* | shuf -n 200 > sample-200.txt
#+END_SRC
In the docker (https://github.com/own-pt/docker-delphin)
#+BEGIN_SRC
ace -G terg.dat -g ~/terg/ace/config.tdl
mkprof -r ~/logon/lingo/lkb/src/tsdb/skeletons/english/Relations -i sample-200.txt sample-200
art -f -a 'ace --disable-generalization -g terg.dat -O' sample-200
#+END_SRC
profile creation with pydelphin:
#+BEGIN_SRC
ace -G terg-mac.dat -g ~/hpsg/terg/ace/config.tdl
delphin mkprof --input sample-200.txt --relations ~/hpsg/logon/lingo/lkb/src/tsdb/skeletons/english/Relations --skeleton sample-200-py
python process-fftb.py
#+END_SRC