Open silentrob opened 9 years ago
This would definitely be interesting, but what could be the usage? Generate a set of world facts based on a set of data? Like generating some sort of ConceptNet?
Could be https://github.com/silentrob/sfacts
@tommj I'm not sure what you are implying. There was never any question about where the facts would live, but rather how they should be generated in the first place.
@silentrob Misunderstood mariusursache here, and am just now learning more about facts. If you have a sec, what would be the main question: which is the best algorithm, the best (js) parser, or how to process and check the facts for inclusion afterwards?
So I think those are all valid questions. If it is an algorithm, it would most likely be baked into SuperScript, but another way to do it is to have a series of templates (triggers) that manually check common patterns and create the facts (this could all be in the pre block) and would be easy to opt out should you not want to do that. But if there was a better bulletproof way to do this I would be all for it.
It would be nice to have facts automatically generated. This could be a template to start, but would be nice if we could automatically parse english to SVO.
http://www.quora.com/Whats-the-best-algorithm-for-decomposing-an-English-phrase-into-its-parts-subject-verb-object-etc
http://stackoverflow.com/questions/8063334/extract-triplet-subject-predicate-and-object-sentence