alanlit
%% Simple statements -- root is an announcement word whose subject and object tell the story.
%% 'IBM announced a new computer today'
announce(Who, About, What) ==>
s+root(['announc', 'releas', 'introduc','launch', 'unveil', 'reveal', agre']),
#Dep1,
subject(Who),
Dep1 >> object(About, What).
%% 'IBM has announced a partnership ...' is caught by the above. But 'IBM has entered into a partnership ...' needs
%% a little more work
announce(Who, About, announcement) ==>
s+root(['enter']),
#Obj,
subject(Who),
Obj >> prep_pobj_chain(PPC),
{PPC = [Prep|About]}.Amusingly a year or so ago I took the Stanford Dependency parser and fed its output tree into a Prolog system to try to pull out the semantics. It was used to analyze business news (getting at the who's, what's and why's).
The easiest approach was to wrap a very simple DSL around Prolog (which, BTW, Prolog is great at). Then in the DSL (which still retained logical variables and backtracking) you could write things like:
%% Simple statements -- root is an announcement word whose subject and object tell the story. %% 'IBM announced a new computer today' announce(Who, About, What) ==> s+root(['announc', 'releas', 'introduc','launch', 'unveil', 'reveal', 'agre']), #Dep1, subject(Who), Dep1 >> object(About, What).
%% 'IBM has announced a partnership ...' is caught by the above. But 'IBM has entered into a partnership ...' needs %% a little more work announce(Who, About, announcement) ==> s+root(['enter']), #Obj, subject(Who), Obj >> prep_pobj_chain(PPC), {PPC = [Prep|About]}.
I think a Prolog-based query planner as a front end to Sparql on Wikidata could be quite interesting.
Alanl
Cannot recommend Penrose highly enough ... a truly brilliant mathematical physicist who is not afraid to call out Emperor's new clothes as it were (which of course is an indirect reference to another of his books about AI and consciousness). "Road to Reality" also gets my vote as "here's the utility belt you need to really get a handle on modern physics".
Good stuff.
That AK popularized this stuff - sure.
* Software isn't eating the world. Software is the world. * Software has very little to do with the next 'disrupting X'. That is just VC twaddle trying to pull one over on the rest of us. Do not mistake floozy business models for solid value add.
If you want to 'hack life' then solve really hard problems (or play really hard music - your choice). Do not fixate on 20 year olds and their next big thing. Finding and solving big problems will juice your Amygdala, and said juicing will ensure a happy life hack above and beyond 'the average Joe'. Though quite why that is such an important goal is beyond me (do you really want to be the "last man standing"?).