Skip to content

A tool for recognition of spatial expressions containing trajector, spatial indicator and landmark.

Notifications You must be signed in to change notification settings

CLARIN-PL/PolDeepSpatial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors

Installation

Requirements

  • CUDA 10.0
  • python 3.6
sudo apt-get install python3-pip python3-dev python-virtualenv
sudo pip install -U pip
virtualenv -p python3.6 venv
source venv/bin/activate
pip install -U pip
pip install -r requirements.txt
wget 'https://nextcloud.clarin-pl.eu/index.php/s/luubhnS0AvjmtQc/download?path=%2F&files=kgr10.plain.skipgram.dim300.neg10.bin' -O resources/kgr10.plain.skipgram.dim300.neg10.bin

Train

python poldeepspatial/core/train.py

Run

python poldeepspatial/core/interactive.py

Sample output

Enter (trajector indicator landmark): leki na stoliku
label-spatial: ['leki', 'na', 'stoliku']

Enter (trajector indicator landmark): lek na chorobę
label-other: ['lek', 'na', 'chorobę']

About

A tool for recognition of spatial expressions containing trajector, spatial indicator and landmark.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages