A library for processing Semcor with Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
modules
pysemcor
test
.gitignore
.gitmodules
LICENSE
README.md
TODO.md
build.sh
config.sh
main.py
requirements.txt

README.md

pySemcor - A library for processing Semcor with Python

Installation steps

  1. Create "workspace" folder in home folder (i.e. ~/workspace or /home/{username}/workspace)
  2. Clone pysemcor to this folder
  3. Run config.sh
  4. Run ./main.py fix to fix 3rada dataset
  5. Run ./main.py json to generate JSON dataset
  6. Run ./main.py ttl to convert semcor XML to TTL (texttaglib) format

Shell command for the above tasks

# Create workspace folder
mkdir ~/workspace
cd ~/workspace

# Clone pysemcor from Github
git clone https://github.com/letuananh/pysemcor

cd pysemcor
bash config.sh

# Generate semcor dataset
python3 main.py fix
python3 main.py json
python3 main.py ttl