News for hackers. Stuff that matters.
Re:A cool way to use natural language in JavaScript by stephenr on Saturday May 14, 2016 @02:16PM (#11697366)
Does the same thing work if the name is lowercase?

Stanford nlp won't recognise "I want to go to sydney" with a location because it expects proper nouns to be capitalised for places (and other similar named entities I believe). I tried to make their case less models work but a lack of time and patience resulted in a more specific fix for what we needed.

Re:A cool way to use natural language in JavaScript by atomwaffel on Saturday May 14, 2016 @06:05PM (#11698263)

  > nlp.text('i want to go to sydney.').places()[0].city
  'Sydney'

  > nlp.text('tony hawk did a kickflip.').people()[0].text
  'tony'
So in the first case, it clearly does recognise that Sydney is a city independent of capitalisation. In the second case, it does recognise the first name but not the last, instead tagging "hawk" as a noun. The same happens with "john smith", however "john thomas" is recognised as a full name.
Re:A cool way to use natural language in JavaScript by mpjme on Sunday May 15, 2016 @06:28AM (#11700306)
To be fair, I think that my grandmother, not familiar with gaming/skating celebs, would tag it the same way.