224 points · by ppoutonnet · 10y ago · 49 comments
Works pretty well on places, though.
[1] http://chicago.cbslocal.com/2011/02/02/dangerous-blizzards-w...
[2] http://en.wikipedia.org/wiki/Blue
[3] http://en.wikipedia.org/wiki/Brown_Bears_football
[4] http://en.wikipedia.org/wiki/Orange_Line_(Washington_Metro)
You picked a really interesting, and really hard, sentence to use to test us with. It has a couple of interesting phenomena: a reduced conjunction ("Line" goes with each color to make a name, like "Blue Line" even though "Blue" and "Line" are far apart), and high ambiguity ("Green" could be the color, the environmental movement, the political party, one of several people, or lots of other things (https://en.wikipedia.org/wiki/Green_(disambiguation) ).
These are hard! So hard, in fact, that I'm reasonably sure that there's no system in existence that would get these ones right. (I hope I'm wrong, actually, I'd love to see approaches that can solve problems like this generally.)
Our systems are state-of-the-art, or in some cases better than any other published system. But language is really hard, and even the world's best systems are way worse than any human at understanding language. That's what makes working on this stuff so much fun and so challenging. It feels so easy for us as humans, but we just haven't figured out how to model all this so that the computers can do as well.
(I'm going to steal this sentence to use internally as a great "NLP is hard" example, thanks!)
It says 'train line' right in that sentence. Where is the ambiguity?
even if it missed that why didn't any of the 'cta' , 'chicago' , 'train', 'run' or 'line' nudge it in the right direction. It seems to have identified 'cta' entity correctly but completely ignored that context for the next words in the sentence.
That's the thing -- in your (wetware) mind it says "train line." But the sentence itself it just says "line", which can mean a whole much of things.
It's the curse of NLP, really. All the easy things are hard. (And the hard things are nigh impossible.)
> Google, headquartered in Mountain View, unveiled the new Android phone at the Consumer Electronic Show. Sundar Pichai said in his keynote that users love their new Android phones.
Results in:
Google - Organization, salience: 0.27
Mountain View - Location, salience: 0.10
Sundar Pichai - Person, salience: 0.07
CES - Event, salience: 0.07
Android - Consumer Good: 0.07
So "Android" which is a central piece in the announcement ranks lower than "Mountain View", which is mostly irrelevant.
My answer: It's mostly search/listing apps. The biggest merit of tagging/parsing for now is that you can search the sentences who might possibly refer to some specific subway line. Toward this goal, you don't need an exact interpretation of each phrase. What you'd need is a high-level function that asks if "sentence X".refers_to("Blue Line") and the API should be designed for this kind of goals in mind.
I think the current premise that you can/should get a exact parse/tagging for a given text is kinda misleading, because an interpretation of natural language is fundamentally vague. IMO, we should go after the performance of these high-level tasks (e.g. searching or translation) rather than microscopic accuracy. It sucks that we wouldn't be able to parse the text once for all and cache the canonical representation for future use, and we'd always have to run the matching API or some sort. But I think it's kinda the nature of NLP.
It seemed to run better when I ran it through analyzeEntities: http://pastebin.com/raw/AfXvKAzw
Is there a product / service / library out there that could help align a known-good transcript with the original audio (creating the timings) if the Cloud Speech API doesn't plan to return timings?
[0] https://www.microsoft.com/cognitive-services/en-us/linguisti...
https://www.microsoft.com/cognitive-services/en-us/text-anal...
Our initial aim is to index the whole Wikipedia and have pre-generated NLG for all pages as additional info for better searches.
Right now we are using Lucene & Syntaxnet but I haven't found a good library for hierarchical clustering of text
Check us out at www.shoten.xyz
I guess for data that is generated on site it's a net negative, but I'd guess almost all data has to go across the internet at some point and google is probably not the worst warehouse on that highway.
Maybe some kind of "meta" comment section is the solution so we can have discussions about or derived from the content in one section and the folks that want to bash the company/person/font/colors/title/grammar/credentials/etc. can use the other.
They include a deprecation policy.