Knwl.js – A JavaScript NLP
loadfive.com
Knwl.js – A JavaScript NLP
1–10 of 38 posts
Re: Knwl.js – A JavaScript NLP
#2Parses 13/4/2012 as:
year: 2012
month: 13
day: 4
Re: Knwl.js – A JavaScript NLP
#3This is going to look like "oh typical HN shooting things down", but: Parses 13/4/2012 as: year: 2012 month: 13 day: 4
Re: Knwl.js – A JavaScript NLP
#4Something like: "Hi Frank,
I've looked up the OIDs in the Cisco manual. Let's meet for lunch at burger king tomorrow at noon.
S" yields only "Cisco" - as a place. Well.
I know parsing natural language is hard. So keep up the good work and keep on tweaking :-)
Re: Knwl.js – A JavaScript NLP
#5This is going to look like "oh typical HN shooting things down", but: Parses 13/4/2012 as: year: 2012 month: 13 day: 4
People really need to start using yyyy/mm/dd :-)
Re: Knwl.js – A JavaScript NLP
#6This is going to look like "oh typical HN shooting things down", but: Parses 13/4/2012 as: year: 2012 month: 13 day: 4
Even if you do language and locale-sniffing using n-grams you still have a certainty problem.
In the UK we traditionally use DD/MM/YY format, although since "9/11" the papers have started slipping into MM/DD format, and younger people have followed suit somewhat.
In the UK it's therefore completely crazy to rely on NLP to interpret "6/7/12" which might mean 7th June or 6th July. If you're going to capture it you need to ask the user, so you need both.
Re: Knwl.js – A JavaScript NLP
#7Re: Knwl.js – A JavaScript NLP
#8This is going to look like "oh typical HN shooting things down", but: Parses 13/4/2012 as: year: 2012 month: 13 day: 4
Not at all, it's a valid bug that's indicitaive of a deeper problem, presenting uncertain and locale-specific conclusions as being certain. Even if you do language and locale-sniffing using n-grams you still have a certainty problem. In the UK we traditionally use DD/MM/YY format, although since "9/11" the papers have started slipping into MM/DD format, and younger people have followed suit somewhat. In the UK it's t…
I've even have border control ask me about the expiration date of my passport since they couldn't figure out if it was day-month or month-day.
I couldn't tell them either, because it wasn't written explicitly. Later I realised I could deduce it from my birthdate.
Re: Knwl.js – A JavaScript NLP
#9Can someone explain to me how that demo matches "Chicago"? From the source provided, I don't see how that is possible.
knwl.english.prepositionalPhrases = [ ["about"], ["below"], ["in", "spite", "of"], ["regarding"], ["above"], ["beneath"], ["instead", "of"], ["since"], ["according", "to"], ["beside"], ["into"], ["through"], ["across"], ["between"], ["like"], ["throughout"], ["after"], ["beyond"], ["near"], ["to"], ["against"], ["but"], ["of"], ["toward"], ["along"], ["by"], ["off"], ["under"], ["amid"], ["concerning"], ["on"], ["underneath"], ["among"], ["down"], ["on", "account", "of"], ["until"], ["around"], ["during"], ["onto"], ["up"], ["at"], ["except"], ["out"], ["upon"], ["atop"], ["for"], ["out", "of"], ["with"], ["because", "of"], ["from"], ["outside"], ["within"], ["before"], ["in"], ["over"], ["without"], ["behind"], ["inside"], ["past"], ["away", "from"] ];
Re: Knwl.js – A JavaScript NLP
#10Can someone explain to me how that demo matches "Chicago"? From the source provided, I don't see how that is possible.