News for hackers. Stuff that matters.
Re:Watch a machine-learning system parse the grammatical str... by Vivtek on Tuesday May 31, 2016 @09:04PM (#11811441)
Seems to fall for a lot of easy traps. Garden path sentences ("The old man the boats" or "The horse raced past the barn fell") are parsed wrong, and it parses the two sentences/phrases "When he did that I laughed" and "When he said that I laughed" identically - by interpreting "that" as a preposition in both cases, which it isn't.

It's cool that it parses on the fly. But unless it parses correctly I don't see how it actually serves a purpose other than just looking cool.

Re:Watch a machine-learning system parse the grammatical str... by schoen on Tuesday May 31, 2016 @10:16PM (#11811692)
I tried

> I heard you like phrase structure, so I put a phrase in your phrase so you can parse a phrase while you parse a phrase.

It misinterpreted "like" as 'in the manner of; akin to' ("I heard you as though [I were hearing] phrase structure"?), so I tried

> I heard you enjoy phrase structure, so I put a phrase in your phrase so you can parse a phrase while you parse a phrase.

That got parsed correctly.

Edit: well, it says "enjoy" is a base form rather than 3rd person singular, which is wrong in this context; it's an inflected form, like "I heard she enjoys phrase structure".

Re:Watch a machine-learning system parse the grammatical str... by DonaldFisk on Wednesday June 01, 2016 @04:55AM (#11812967)
These require a system which either backtracks or recognizes it's made a mistake and corrects it. I know how to do that with a rule-based parser.

It also fails on "British left waffles on Falklands." While there are two syntactic parsers for that, one of them borders on the absurd and should be rejected. The problem is that to parse some sentences requires understanding of the words and phrases it reads, which in turn requires common sense.

Re:Watch a machine-learning system parse the grammatical str... by Vivtek on Wednesday June 01, 2016 @09:54AM (#11814329)
Well, that is just choosing the semantically correct parse from multiple syntactically correct parses. This parser isn't even finding syntactically correct parses.
Re:Watch a machine-learning system parse the grammatical str... by hodgesrm on Tuesday May 31, 2016 @09:34PM (#11811559)
It is clearly not up to reading P G Wodehouse. The following sentence is parsed as having two subject nouns.

Jeeves, dark forces are drawing us to Totleigh.

One does not even dare to try Marx Brothers quotes.

Re:Watch a machine-learning system parse the grammatical str... by loser777 on Tuesday May 31, 2016 @10:41PM (#11811766)
My favorite is "Fruit flies like honey." which trips this parser up as well.
Re:Watch a machine-learning system parse the grammatical str... by dimdimdim on Tuesday May 31, 2016 @11:29PM (#11811885)
Type in "Fruit Flies like honey"
Re:Watch a machine-learning system parse the grammatical str... by DonaldFisk on Wednesday June 01, 2016 @05:09AM (#11813023)
So, to get correct output, you need to give it incorrect input? You don't capitalize names of animal or plant species in English.
Re:Watch a machine-learning system parse the grammatical str... by jftuga on Tuesday May 31, 2016 @09:15PM (#11811490)
The dogs bark at the tree bark.