Skip to content

jmzhao/pbos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  • Clone compact_reconstruction from https://github.com/losyer/compact_reconstruction/tree/a55627c99a7b17d556cc96275a4f41b6b93f8782 into the folder compact_reconstruction/.

    git submodule update --init
  • Install dependencies

    pip install -r requirements.txt

Usage

  • To reproduce the word similarity results:

    python ws_exp_pbos.py
    python ws_exp_sasaki.py

    The results will be available at results/ws/{target_vector_name}_{model_type}/result.txt

  • To reproduce the multilingual word similarity results:

    python ws_multilingual_exp_pbos.py
    python ws_multilingual_exp_sasaki.py

    The results will be available at results/ws_multi/{lang}_{model_type}/result.txt

  • To reproduce the POS tagging results:

    python pos_exp.py
    python pos_exp_sasaki.py

    The results will be available in the results/pos folder.

    You can print out all the results with python pos_gather_results.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages