Skip to content

Commit

Permalink
Add wordnet mammal train file for Poincare notebook (#1781)
Browse files Browse the repository at this point in the history
* Adds wordnet mammal train file

* Adds link to data file in notebook
  • Loading branch information
jayantj authored and menshikh-iv committed Dec 25, 2017
1 parent 2684ea6 commit a76915c
Show file tree
Hide file tree
Showing 2 changed files with 7,727 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/notebooks/Poincare Evaluation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@
"outputs": [],
"source": [
"# Prepare the WordNet data\n",
"# Can also be downloaded directly from -\n",
"# https://github.com/jayantj/gensim/raw/wordnet_data/docs/notebooks/poincare/data/wordnet_noun_hypernyms.tsv\n",
"\n",
"wordnet_file = os.path.join(data_directory, 'wordnet_noun_hypernyms.tsv')\n",
"if not os.path.exists(wordnet_file):\n",
" ! python {parent_directory}/{cpp_repo_name}/scripts/create_wordnet_noun_hierarchy.py {wordnet_file}"
Expand Down
Loading

0 comments on commit a76915c

Please sign in to comment.