You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/HowToGrammar.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ These sentences are made up of some basic elements that can be combined into phr
47
47
* Bob flies to Paris from London. **Not OK**. "from London" would be a fourth element.
48
48
* Bob surfs. **Not OK**. No object phrase.
49
49
50
-
1. The subject and object phrases can have sub-phrases that modify the main subject or object e.g. Paris is a city that is located in France.
50
+
* The subject and object phrases can have sub-phrases that modify the main subject or object e.g. Paris is a city that is located in France.
51
51
* Subject phrase - "Paris"
52
52
* Verb phrase - "is"
53
53
* Object phrase - "a city"
@@ -58,41 +58,41 @@ These sentences are made up of some basic elements that can be combined into phr
58
58
59
59
Sub-phrases which consist of a verb phrase and an object phrase are connected to the phrase they modify by "that".
60
60
61
-
5. (For developers) HOWLER can round-trip the sentences (English to ontology back to English). The resulting English is often a more precise
61
+
* (For developers) HOWLER can round-trip the sentences (English to ontology back to English). The resulting English is often a more precise
62
62
paraphrase of the original sentence which, if presented back to the user, can help confirm that the original sentence has been interpreted
63
63
as intended. See below for examples of when HOWLER might paraphrase or modify input sentences.
64
64
65
65
### Concepts that OWL doesn't support and how HOWLER handles them
66
66
67
-
1. OWL does not distinguish between past, present and future. HOWLER can recognize these different tenses but will force it to be present tense, e.g.
67
+
* OWL does not distinguish between past, present and future. HOWLER can recognize these different tenses but will force it to be present tense, e.g.
68
68
69
69
* Bob is a pilot.
70
70
* Bob was a pilot.
71
71
* Bob will be a pilot.
72
72
73
73
are all interpreted as "Bob is a pilot."
74
74
75
-
2. OWL does not have the concept of possibility, necessity or opinion. HOWLER will mostly ignore these if seen
75
+
* OWL does not have the concept of possibility, necessity or opinion. HOWLER will mostly ignore these if seen
76
76
77
77
* Bob could be a pilot.
78
78
* Bob should be a pilot.
79
79
* Bob might be a pilot.
80
80
81
81
are all interpreted as "Bob is a pilot."
82
82
83
-
3. OWL does not have an equivalent for ambiguous quantities like "some", "many", "most". HOWLER will recognize them but translate those as "at least 1" e.g.
83
+
* OWL does not have an equivalent for ambiguous quantities like "some", "many", "most". HOWLER will recognize them but translate those as "at least 1" e.g.
84
84
* Bob owns many dogs. => Bob owns at least 1 dog.
85
-
86
-
These ambiguous quantities can only occur in the object phrase.If they occur in the subject phrase, they will be translated as "every" e.g.
85
+
86
+
These ambiguous quantities can only occur in the object phrase.If they occur in the subject phrase, they will be translated as "every" e.g.
87
87
* Some pilots own a plane. => Every pilot own a plane.
88
88
89
-
4. OWL primarily deals with countable things e.g. a car, 3 trucks, more than 3 houses. It doesn't have any concept of "mass nouns",
89
+
* OWL primarily deals with countable things e.g. a car, 3 trucks, more than 3 houses. It doesn't have any concept of "mass nouns",
90
90
things which don't occur as individual pieces. e.g. water, money, software.
91
91
HOWLER interprets all nouns as countable nouns thus
92
92
* Bob drinks water => Bob drinks **a** water.
93
93
94
94
This should be understood to mean "Bob drinks **a quantity of** water."
95
95
96
-
5. OWL interprets every concept (word) as a separate and distinct entity e.g. "shoe maker" is not the same as "shoe-maker". If you wish to use a multi-word phrase but want it interpreted as a single thing or concept, hyphenate the words into a single phrase "shoe-maker". Similarly, since HOWLER and OWL have no built-in vocabulary, it will not know that "**United Nations**" is a single entity (an organization) but will interpret it as some nations that are united. Hyphenating phrases like these e.g. "**United-Nations**" will allow HOWLER to recognize that it is intended to be a single thing.
96
+
* OWL interprets every concept (word) as a separate and distinct entity e.g. "shoe maker" is not the same as "shoe-maker". If you wish to use a multi-word phrase but want it interpreted as a single thing or concept, hyphenate the words into a single phrase "shoe-maker". Similarly, since HOWLER and OWL have no built-in vocabulary, it will not know that "**United Nations**" is a single entity (an organization) but will interpret it as some nations that are united. Hyphenating phrases like these e.g. "**United-Nations**" will allow HOWLER to recognize that it is intended to be a single thing.
0 commit comments