Skip to content

Commit f7d817a

Browse files
committed
Changed X/Y to A/B as agreed to in #39
1 parent 327eded commit f7d817a

File tree

1 file changed

+85
-85
lines changed

1 file changed

+85
-85
lines changed

gwadoc/doc_en.py

+85-85
Original file line numberDiff line numberDiff line change
@@ -63,33 +63,33 @@
6363

6464

6565
### Relation: Hypernym
66-
### XY, X is a hypernym of Y
66+
### AB, A is a hypernym of B
6767

6868
relations.hypernym.name.en = 'Hypernym'
69-
relations.hypernym.df.en = 'a word that is more general than a given word'
69+
relations.hypernym.df.en = 'a concept that is more general than a given concept'
7070
relations.hypernym.dfn.en = """
71-
A hypernym of something is its superordinate term:
72-
if X is a hypernym of Y, then all Y are X.
71+
A hypernym of something is its supertype:
72+
if A is a hypernym of B, then all B are A.
7373
"""
7474
relations.hypernym.ex.en = "*animal* is a hypernym of *dog*"
7575
relations.hypernym.exe.en = """
76-
* *meat* ``hypernym`` *beef*
77-
* *edible fruit* ``hypernym`` *pear*
78-
* *wordbook* ``hypernym`` *dictionary*
76+
* *meat* is a ``hypernym`` of *beef*
77+
* *edible fruit* is a ``hypernym`` of *pear*
78+
* *wordbook* is a ``hypernym`` of *dictionary*
7979
"""
8080
relations.hypernym.test.en = """
8181
Hyperonymy/hyponymy between verb synsets ([EWN]_ test 11, p23)
8282
8383
=== = ===================================
84-
yes a *to X is to Y + AdvP/AdjP/NP/PP*
85-
no b *to Y is to X + AdvP/AdjP/NP/PP*
84+
yes a *to A is to B + AdvP/AdjP/NP/PP*
85+
no b *to B is to A + AdvP/AdjP/NP/PP*
8686
=== = ===================================
8787
8888
Conditions:
89-
- X is a verb in the infinitive form
90-
- Y is a verb in the infinitive form
89+
- A is a verb in the infinitive form
90+
- B is a verb in the infinitive form
9191
- there is at least one specifying modifier (AdvP, NP or PP) that
92-
applies to the Y-phrase
92+
applies to the B-phrase
9393
9494
.. [EWN] Piek Vossen (ed.) (1999) `Euro Wordnet General Documentation <https://globalwordnet.github.io/gwadoc/pdf/EWN_general.pdf>`_ University of Amsterdam
9595
@@ -103,13 +103,13 @@
103103

104104

105105
### Relation: hyponym
106-
### XY, X is a hyponym of Y
106+
### AB, A is a hyponym of B
107107

108108
relations.hyponym.name.en = "Hyponym"
109-
relations.hyponym.df.en = "a word that is more specific than a given word"
109+
relations.hyponym.df.en = "a concept that is more specific than a given concept"
110110
relations.hyponym.dfn.en = """
111-
A relation between two concepts where concept B is a type of
112-
concept A."""
111+
A hyponym of something is its subtype:
112+
if A is a hyponym of B, then all A are B."""
113113
relations.hyponym.ex.en = "`dog <ILIURL/46360>`_ is a hyponym of `animal <ILIURL/35563>`_"
114114
relations.hyponym.exe.en = """
115115
* `beef <ILIURL/48244>`_ is a hyponym of `meat <ILIURL/77100>`_
@@ -122,28 +122,28 @@
122122
- Hyponymy-relation between nouns (EWN test 9)
123123
124124
=== = ==========================================
125-
yes a *A/an X is a/an Y with certain properties*
126-
. . *It is a X and therefore also a Y*
127-
. . *If it is a X then it must be a Y*
125+
yes a *A/an A is a/an B with certain properties*
126+
. . *It is a A and therefore also a B*
127+
. . *If it is a A then it must be a B*
128128
no b the converse of any of the (a) sentences.
129129
=== = ==========================================
130130
131131
Conditions:
132-
- both X and Y are singular nouns or plural nouns.
132+
- both A and B are singular nouns or plural nouns.
133133
134134
Test:
135135
- Hyperonymy/hyponymy between verb synsets (EWN test 11)
136136
137137
=== = ===================================
138-
yes a *to X is to Y + AdvP/AdjP/NP/PP*
139-
no b *to Y is to X + AdvP/AdjP/NP/PP*
138+
yes a *to A is to B + AdvP/AdjP/NP/PP*
139+
no b *to B is to A + AdvP/AdjP/NP/PP*
140140
=== = ===================================
141141
142142
Conditions:
143-
- X is a verb in the infinitive form
144-
- Y is a verb in the infinitive form
143+
- A is a verb in the infinitive form
144+
- B is a verb in the infinitive form
145145
- there is at least one specifying AdvP, NP or PP that applies to the
146-
Y-phrase.
146+
B-phrase.
147147
148148
"""
149149
relations.hyponym.com.en = """
@@ -250,7 +250,7 @@
250250
=========== = ======================================================================
251251
yes a (A/an) A is the one/that who/which does the B, typically intentionally
252252
Conditions: . - A is a noun
253-
. . - Y is a verb in the gerundive form
253+
. . - B is a verb in the gerundive form
254254
Example: a A teacher is the one who does the teaching intentionally
255255
Effect: . {\ teacher}\ (A) AGENT {\ to teach}\ (B)
256256
. . {\ to teach}\ (B) INVOLVED AGENT {\ teacher}\ (A)
@@ -348,7 +348,7 @@
348348
Instrument Involvement (EWN test 31)
349349
350350
============ = =========================================================================
351-
yes a (A/an) A is either i) the instrument that or ii) what is used to Y (with)
351+
yes a (A/an) A is either i) the instrument that or ii) what is used to B (with)
352352
Conditions: . - A is a noun
353353
. . - B is a verb in the infinitive form
354354
Example (1): . An hammer is the instrument that is used to hammer
@@ -444,7 +444,7 @@
444444
Target-Direction Involvement (EWN test 35)
445445
446446
=========== = ===============================================================================
447-
yes a (a/an/the) A is the place to which Ying happens / one Bs
447+
yes a (a/an/the) A is the place to which Bing happens / one Bs
448448
Conditions: . - A is a noun
449449
. . - B is a verb
450450
Example: a The ground is the place to which one collapses/falls heavily
@@ -539,7 +539,7 @@
539539
=========== = ======================================================================
540540
yes a (A/an) A is the one/that who/which does the B, typically intentionally
541541
Conditions: . - A is a noun
542-
. . - Y is a verb in the gerundive form
542+
. . - B is a verb in the gerundive form
543543
Example: a A teacher is the one who does the teaching intentionally
544544
Effect: . {\ teacher}\ (A) AGENT {\ to teach}\ (B)
545545
. . {\ to teach}\ (B) INVOLVED AGENT {\ teacher}\ (A)
@@ -636,7 +636,7 @@
636636
Instrument Involvement (EWN test 31)
637637
638638
============ = =========================================================================
639-
yes a (A/an) A is either i) the instrument that or ii) what is used to Y (with)
639+
yes a (A/an) A is either i) the instrument that or ii) what is used to B (with)
640640
Conditions: . - A is a noun
641641
. . - B is a verb in the infinitive form
642642
Example (1): . An hammer is the instrument that is used to hammer
@@ -732,7 +732,7 @@
732732
Target-Direction Involvement (EWN test 35)
733733
734734
=========== = ===============================================================================
735-
yes a (a/an/the) A is the place to which Ying happens / one Bs
735+
yes a (a/an/the) A is the place to which Bing happens / one Bs
736736
Conditions: . - A is a noun
737737
. . - B is a verb
738738
Example: a The ground is the place to which one collapses/falls heavily
@@ -1341,7 +1341,7 @@
13411341
13421342
=== = ======================================================
13431343
yes a *A/an A makes up a part of A/an B*
1344-
. . *A/an Y has A/an Xs*
1344+
. . *A/an B has A/an As*
13451345
. . *A is a meronym of "B" if As are parts of B(s)*
13461346
13471347
no b the converse of the (a) relations.
@@ -1587,7 +1587,7 @@
15871587
A relation between two concepts where concept B is made of concept
15881588
A. Meronym and Holonym Substance is a paired relation that denotes a
15891589
higher bound between part and whole. Separating/removing the substance
1590-
part, will change the whole — Concept-A is made of Concept-Y; and
1590+
part, will change the whole — Concept-A is made of Concept-B; and
15911591
Concept-B is a substance of Concept-A”.
15921592
"""
15931593
relations.holo_substance.ex.en = "`wood <ILIURL/116549>`_ has substance-holonym `stick <ILIURL/59571>`_"
@@ -2035,8 +2035,8 @@
20352035
place limits on (extent or amount or access)
20362036
"""
20372037
relations.restricts.dfn.en = """
2038-
A relation between an adjectival concept X (quantifier/determiner) and
2039-
a nominal (pronominal) concept Y.
2038+
A relation between an adjectival concept A (quantifier/determiner) and
2039+
a nominal (pronominal) concept B.
20402040
"""
20412041
relations.restricts.ex.en = ""
20422042
relations.restricts.exe.en = """
@@ -2055,8 +2055,8 @@
20552055
relations.restricted_by.name.en = "Restricted By"
20562056
relations.restricted_by.df.en = ""
20572057
relations.restricted_by.dfn.en = """
2058-
A relation between nominal (pronominal) concept Y and an
2059-
adjectival concept X (quantifier/determiner).
2058+
A relation between nominal (pronominal) concept B and an
2059+
adjectival concept A (quantifier/determiner).
20602060
"""
20612061
relations.restricted_by.ex.en = ""
20622062
relations.restricted_by.exe.en = """
@@ -2134,8 +2134,8 @@
21342134
"""
21352135
relations.also.dfn.en = """
21362136
‘See Also’ is a self-reciprocal link (the two directions of this
2137-
relation share the same meaning) — Concept-X relates to Concept-Y, and
2138-
Concept-Y relates to Concept-X.
2137+
relation share the same meaning) — Concept-A relates to Concept-B, and
2138+
Concept-B relates to Concept-A.
21392139
21402140
It denotes a relation of related meaning with another concept (going
21412141
beyond synonymy and similarity).
@@ -2244,7 +2244,7 @@
22442244
Conditions:
22452245
- A is a verb in the third person singular form
22462246
- B is an adjective
2247-
- A and Y are (XPOS) co-hyponyms
2247+
- A and B are (XPOS) co-hyponyms
22482248
22492249
"""
22502250

@@ -2418,55 +2418,55 @@
24182418

24192419
### New short definitions based on http://globalwordnet.github.io/schemas/
24202420

2421-
#relations.agent.df.en = "X is typically the agent of the action expressed by Y"
2421+
#relations.agent.df.en = "A is typically the agent of the action expressed by B"
24222422
relations.antonym.df.en = "An opposite and inherently incompatible word"
2423-
relations.be_in_state.df.en = "X is qualified by Y"
2424-
#relations.co_agent_instrument.df.en = "Y is the instrument used by X in a certain action"
2425-
#relations.co_agent_patient.df.en = "Y is the patient undergoing an action carried out by X"
2426-
#relations.co_agent_result.df.en = "Y is the result of an action carried out by X"
2427-
#relations.co_instrument_agent.df.en = "X is the instrument used by Y for a certain action"
2428-
#relations.co_instrument_patient.df.en = "Y undergoes an action for which the instrument expressed by X is used"
2429-
#relations.co_instrument_result.df.en = "Y is the result of an action carried out by the instrument expressed by X"
2430-
#relations.co_patient_agent.df.en = "Y undergoes an action carried out by X"
2431-
#relations.co_patient_instrument.df.en = "X undergoes an action for which the instrument expressed by X is used"
2432-
#relations.co_result_agent.df.en = "X is the result of an action carried out by Y"
2433-
#relations.co_result_instrument.df.en = "X is the result of an action for which the instrument expressed by Y is used"
2423+
relations.be_in_state.df.en = "A is qualified by B"
2424+
#relations.co_agent_instrument.df.en = "B is the instrument used by A in a certain action"
2425+
#relations.co_agent_patient.df.en = "B is the patient undergoing an action carried out by A"
2426+
#relations.co_agent_result.df.en = "B is the result of an action carried out by A"
2427+
#relations.co_instrument_agent.df.en = "A is the instrument used by B for a certain action"
2428+
#relations.co_instrument_patient.df.en = "B undergoes an action for which the instrument expressed by A is used"
2429+
#relations.co_instrument_result.df.en = "B is the result of an action carried out by the instrument expressed by A"
2430+
#relations.co_patient_agent.df.en = "B undergoes an action carried out by A"
2431+
#relations.co_patient_instrument.df.en = "A undergoes an action for which the instrument expressed by A is used"
2432+
#relations.co_result_agent.df.en = "A is the result of an action carried out by B"
2433+
#relations.co_result_instrument.df.en = "A is the result of an action for which the instrument expressed by B is used"
24342434
#relations.co_role.df.en = "One concept undergoes an action in which the other concept is involved (bidirectional)"
2435-
#relations.direction.df.en = "X is typically the direction or location of the action or event expressed by Y"
2436-
relations.eq_synonym.df.en = "X and Y are equivalent concepts but their nature requires that they remain separate (e.g. Exemplifies)"
2437-
relations.holo_location.df.en = "Y is a place located in X"
2438-
relations.holo_portion.df.en = "Y is an amount/piece/portion of X"
2439-
relations.holonym.df.en = "X makes up a part of Y"
2440-
relations.in_manner.df.en = "Y qualifies the manner in which an action or event expressed by X takes place"
2441-
#relations.instrument.df.en = "X is the instrument necessary for the action or event expressed by Y"
2442-
#relations.involved_agent.df.en = "Y is typically the agent of the action expressed by X"
2443-
#relations.involved_direction.df.en = "Y is typically the direction or location of the action or event expressed by X"
2444-
#relations.involved_instrument.df.en = "Y is typically the instrument necessary for the action or event expressed by X"
2445-
#relations.involved_location.df.en = "Y is typically the location where the action or event expressed by X takes place"
2446-
#relations.involved_patient.df.en = "Y is typically the patient un-dergoing an action or event expressed by X"
2447-
#relations.involved_result.df.en = "Y comes into existence as a result of X"
2448-
#relations.involved_source_direction.df.en = "Y is the place from where the action or event expressed by X begins/starts/happens"
2449-
#relations.involved_target_direction.df.en = "Y is the place where the action or event expressed by X leads to"
2450-
#relations.involved.df.en = "Y is typically involved in the action or event expressed by X"
2451-
relations.is_caused_by.df.en = "X comes about because of Y"
2435+
#relations.direction.df.en = "A is typically the direction or location of the action or event expressed by B"
2436+
relations.eq_synonym.df.en = "A and B are equivalent concepts but their nature requires that they remain separate (e.g. Exemplifies)"
2437+
relations.holo_location.df.en = "B is a place located in A"
2438+
relations.holo_portion.df.en = "B is an amount/piece/portion of A"
2439+
relations.holonym.df.en = "A makes up a part of B"
2440+
relations.in_manner.df.en = "B qualifies the manner in which an action or event expressed by A takes place"
2441+
#relations.instrument.df.en = "A is the instrument necessary for the action or event expressed by B"
2442+
#relations.involved_agent.df.en = "B is typically the agent of the action expressed by A"
2443+
#relations.involved_direction.df.en = "B is typically the direction or location of the action or event expressed by A"
2444+
#relations.involved_instrument.df.en = "B is typically the instrument necessary for the action or event expressed by A"
2445+
#relations.involved_location.df.en = "B is typically the location where the action or event expressed by A takes place"
2446+
#relations.involved_patient.df.en = "B is typically the patient un-dergoing an action or event expressed by A"
2447+
#relations.involved_result.df.en = "B comes into existence as a result of A"
2448+
#relations.involved_source_direction.df.en = "B is the place from where the action or event expressed by A begins/starts/happens"
2449+
#relations.involved_target_direction.df.en = "B is the place where the action or event expressed by A leads to"
2450+
#relations.involved.df.en = "B is typically involved in the action or event expressed by A"
2451+
relations.is_caused_by.df.en = "A comes about because of B"
24522452
relations.is_entailed_by.df.en = "Opposite of entails"
2453-
relations.is_subevent_of.df.en = "X takes place during or as part of Y, and whenever X takes place, Y takes place"
2454-
#relations.location.df.en = "X is the location where the action or event expressed by Y takes place"
2455-
relations.manner_of.df.en = "X qualifies the manner in which an action or event expressed by Y takes place"
2456-
relations.mero_location.df.en = "X is a place located in Y"
2457-
relations.mero_portion.df.en = "X is an amount/piece/portion of Y"
2458-
relations.meronym.df.en = "Y makes up a part of X"
2453+
relations.is_subevent_of.df.en = "A takes place during or as part of B, and whenever A takes place, B takes place"
2454+
#relations.location.df.en = "A is the location where the action or event expressed by B takes place"
2455+
relations.manner_of.df.en = "A qualifies the manner in which an action or event expressed by B takes place"
2456+
relations.mero_location.df.en = "A is a place located in B"
2457+
relations.mero_portion.df.en = "A is an amount/piece/portion of B"
2458+
relations.meronym.df.en = "B makes up a part of A"
24592459
relations.other.df.en = "Any relation not otherwise specified"
2460-
#relations.patient.df.en = "X is the patient undergoing an action or event expressed by Y"
2461-
#rels.pertainym.df.en = "X is of or pertaining to Y"
2462-
relations.restricted_by.df.en = "A relation between nominal (pronominal) Y and an adjectival X (quantifier/determiner)"
2463-
relations.restricts.df.en = "A relation between an adjectival X (quantifier/determiner) and a nominal (pronominal) Y"
2464-
#relations.result.df.en = "X comes into existence as a result of Y"
2465-
#relations.role.df.en = "X is typically involved in the action or event expressed by Y"
2466-
#relations.source_direction.df.en = "X is the place from where the event expressed by Y begins"
2467-
relations.state_of.df.en = "Y is qualified by X"
2468-
relations.subevent.df.en = "Y takes place during or as part of X, and whenever Y takes place, X takes place"
2469-
#relations.target_direction.df.en = "X is the place to which the action or event expressed by Y leads"
2460+
#relations.patient.df.en = "A is the patient undergoing an action or event expressed by B"
2461+
#rels.pertainym.df.en = "A is of or pertaining to B"
2462+
relations.restricted_by.df.en = "A relation between nominal (pronominal) B and an adjectival A (quantifier/determiner)"
2463+
relations.restricts.df.en = "A relation between an adjectival A (quantifier/determiner) and a nominal (pronominal) B"
2464+
#relations.result.df.en = "A comes into existence as a result of B"
2465+
#relations.role.df.en = "A is typically involved in the action or event expressed by B"
2466+
#relations.source_direction.df.en = "A is the place from where the event expressed by B begins"
2467+
relations.state_of.df.en = "B is qualified by A"
2468+
relations.subevent.df.en = "B takes place during or as part of A, and whenever B takes place, A takes place"
2469+
#relations.target_direction.df.en = "A is the place to which the action or event expressed by B leads"
24702470

24712471
### Relation Simple Aspect IP
24722472

0 commit comments

Comments
 (0)