4 ms·
The difference between this graph and propositional logic is only that the predicates joining concepts are arbitrary instead of logic operators. In that sense,
by kajecounterhack 11y ago
The difference between this graph and propositional logic is only that the predicates joining concepts are arbitrary instead of logic operators. In that sense, this is like Google Knowledge Graph / Freebase.
https://en.wikipedia.org/wiki/Propositional_calculus#Solvers https://en.wikipedia.org/wiki/Propositional_calculus#Solvers
Solving a set of propositional logic statements is NP-Complete. I'd argue "reading comprehension" is actually knowing the state of the world after a piece of text, which requires solving how these predicates interact. For example, if the paragraph is
Bobby picked up the toy. Then he put down the toy.
This "semantic memory" does not "comprehend" where the toy is, and this is a relatively simple example. I think the title "basic reading comprehension" is thus inaccurate. Perhaps a better title is "A simple knowledge graph" or "A simple semantic memory"
- markjspivey 11y agothere is a linguistic research called "usage based" and also "emergent grammar" that i find interesting regarding subjects like this: 1. meaning is usage. 2. structure emerges from usage. meaning we don't use grammar to produce language, it is an emergent property (irreducible) of "pre-linguistic pragmatics" ...
- youngprogrammer 11y ago> Bobby picked up the toy. Then he put down the toy. When we read this sentence, our brains automatically augment additional information based on the verb. However, in this example, my program will fail to answer because my program does not augment any additional information but it can be extended to. This can be implemented in our program by created a new property for each object called "location". If a verb is location based, we can set the location of the object based on what the verb describes. For example, "the toy"'s location could be "Bobby's hands" after the first sentence based on the verb phrase "pick up". So the program will understand where the toy is and be able to understand queries related to "where". As you can imagine, implementing this would be very tedious since there are too many cases for all the verbs. My program may not be able to do advanced reading comprehension (reading between lines and augmenting information) but I argue that it can do simple reading comprehension, in that it can understand the relationship between objects. There is still a long way to go before my program is capable of more sophisticated reading comprehension, but in theory, I think my approach seems possible.
- aamar 11y agoClassic example: The iron ball fell on the glass table, and it shattered. The glass ball fell on the iron table, and it shattered. Human readers will pick the correct antecedent for "it" in each case, so it's not ambiguous. But correct interpretation depends on knowing something about how likely glass and iron are to shatter. I love these kinds of examples, but I don't think they ought to significantly deter the kind of work shown here; it depends on the application, but basic interpretation could be very useful even if it can't handle every case.
- mrec 11y agoThese are called Winograd Schemas; you can read more about them and see more examples at https://www.cs.nyu.edu/davise/papers/WS.html https://www.cs.nyu.edu/davise/papers/WS.html
- oh_sigh 11y agoFor those curious, this process is called "anaphora resolution", which is the process of understanding what a reference(usually a pronoun) actually refers to.
- reptation 11y agoWhile this is a interesting point, grammarians will bristle at such an imprecise use of 'it', which should unambiguously refer to one antecedent.
- jameshart 11y agoWho are these 'grammarians', and why should anyone care what makes them bristle? They evidently have a complete lack of appreciation for the semantic content of sentences and can only see syntax. What a very poor view of language that would be. Professional writers, editors, and teachers of language would be perfectly fine with those sentences, because they understand language as being made up of syntax AND semantics.
- deleted 11y ago[deleted]