Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1001 Bytes

README.md

File metadata and controls

51 lines (31 loc) · 1001 Bytes

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