Skip to content

Commit

Permalink
Merge branch 'meronym-holonym-update' of https://github.com/gconnect/…
Browse files Browse the repository at this point in the history
…gwadoc into gconnect-meronym-holonym-update
  • Loading branch information
goodmami committed Oct 4, 2020
2 parents d66c482 + 66b2f11 commit 4845293
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ venv.bak/

# mypy
.mypy_cache/

.idea/
8 changes: 4 additions & 4 deletions gwadoc/doc_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,9 @@

relations.meronym.proj.ili = "i69575"
relations.meronym.proj.pwn = "meronym"
relations.meronym.proj.querywn = "enta"
relations.meronym.proj.querywn = "mero"
relations.meronym.proj.eurown = "has_meronym"
relations.meronym.proj.plwordnet = "meronym"
relations.meronym.proj.plwordnet = "meronimia"
relations.meronym.proj.pointer = "%"


Expand All @@ -645,9 +645,9 @@
relations.holonym.fa.reverse = "meronym"

relations.holonym.proj.ili = "i69567"
relations.holonym.proj.querywn = "enta"
relations.holonym.proj.querywn = "holo"
relations.holonym.proj.eurown = "has_holonym"
relations.holonym.proj.plwordnet = "holonym"
relations.holonym.proj.plwordnet = "holonimia"
relations.holonym.proj.pointer = "#"


Expand Down
38 changes: 34 additions & 4 deletions gwadoc/doc_en.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,11 +819,28 @@
a word that names a part of a larger whole
"""
relations.meronym.dfn.en = """
A relation between two concepts where concept Y makes up a part of
concept X.
A relation between two concepts where concept A makes up a part of
concept B.
"""
relations.meronym.ex.en = "hand/finger"
relations.meronym.exe.en = """
* `wheel <ILIURL/61096>`_ has meronym `automobile <ILIURL/31373>`_
* `crown <ILIURL/52548>`_ has meronym `hat <ILIURL/54674>`_
* `person <ILIURL/35562>`_ has meronym `people <ILIURL/79059>`_
"""
relations.meronym.test.en="""
Meronymy-relation between nouns (EWN test 21)
=== = ======================================================
yes a *A/an A makes up a part of A/an B*
. . *A/an Y has A/an Xs*
. . *A is a meronym of "B" if As are parts of B(s)*
no b the converse of the (a) relations.
=== = ======================================================
Conditions:
- A and B are concrete nouns and are interpreted generically.
"""
relations.meronym.com.en = """
This is an unspecified relation that covers all the
Expand All @@ -839,11 +856,24 @@
a word that names the whole of which a given word is a part
"""
relations.holonym.dfn.en = """
A relation between two concepts where concept X makes up a
part of concept Y.
A relation between two concepts where concept A makes up a
part of concept B.
"""
relations.holonym.ex.en = "finger/hand"
relations.holonym.exe.en = """
* `face <ILIURL/87210>`_ has holonym `eye <ILIURL/64868>`_
* `body <ILIURL/64381>`_ has holonym `leg <ILIURL/66137>`_
* `kib <ILIURL/108305>`_ has holonym `byte <ILIURL/108298>`_
"""
relations.holonym.test.en = """
Holonymy-relation between nouns
=== = ======================================================
yes a *A is a holonym of B if Bs are parts of As*
. . *A is a holonym of B if Bs are members of As*
no b the converse of any of the (a) sentences.
=== = ======================================================
"""
relations.holonym.com.en = """
This is an unspecified relation that covers all the
Expand Down
1 change: 1 addition & 0 deletions templates/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
{%- macro to_top() -%}
<a class="toplink" href="#">back to top</a>
{%- endmacro %}

0 comments on commit 4845293

Please sign in to comment.