Open dufia opened 7 years ago
I agree that the dictionary system is a bit wacky in SS. I wonder if there's an easy way to replace it with a custom one?
I cotton blood sport
matches
I like football
does not...
🙃
For anyone curious, because I didn't know how to do it the other day, you can add in your own facts/concepts and it will replace the ones coming from wordnet:
mkdir concepts && echo "concept: ~sport ( football rugby snooker tennis )" > concepts/concepts.top
parse --facts concepts/concepts.top
I do wonder whether it'd be good to have superscript provide default overrides for the stranger of the wordnet concepts. Within the tests for sfacts, there is a concept file which seems to be a modified version of the one from ChatScript (correct me if I'm wrong) - https://github.com/superscriptjs/sfacts/blob/master/test/data/concepts.top
It is a little odd what's coming out of wordnet as I thought it was meant to be the de-facto dictionary system, so maybe one to think about?
I am just trying out the SuperScript and it is looking excellent so far.
I am following the docs and I found a little error here https://github.com/superscriptjs/superscript/wiki/Triggers#wordnet-expansion
This example won't work. I thought something went wrong with the WordNet but it is working correctly. It just doesn't have hockey or baseball in its database.
From data.json
It seems a little weird that you have stuff like
professional golf
but notfootball
for example. I mean there isprofessional football
but no one talks like that. Right?