Live data from Hacker News

Watch a machine-learning system parse the grammatical structure of sentences

foxtype.com

11–20 of 32 posts

Re: Watch a machine-learning system parse the grammatical structure of sentences

#13

So FoxType is just Spacy[0]? I honestly thought this might be something different until I checked out the Spacy page and saw FoxType listed as a customer. Kind of a dick move simply repackaging other people's work and passing. It off as your own. (Yes, this is literally just the "displacy" demo.) Spacy is a pretty good system. It's fast, way faster thank NLTK and the Stanford stuff and it's pretty accurate. Also it's…

There's more to their product it seems than just the front end for sentence diagramming. While a shout out wouldn't hurt, I don't think it's really a dick move.

Re: Watch a machine-learning system parse the grammatical structure of sentences

#14
post #3

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…

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 structure of sentences

#15
post #13

So FoxType is just Spacy[0]? I honestly thought this might be something different until I checked out the Spacy page and saw FoxType listed as a customer. Kind of a dick move simply repackaging other people's work and passing. It off as your own. (Yes, this is literally just the "displacy" demo.) Spacy is a pretty good system. It's fast, way faster thank NLTK and the Stanford stuff and it's pretty accurate. Also it's…

There's more to their product it seems than just the front end for sentence diagramming. While a shout out wouldn't hurt, I don't think it's really a dick move.

There's also more to Spacy than just dependency parsing as well, but that's a big part of it.

I would certainly hope there's more to FoxLab, but I have literally seen this demo before.

I have also been around the block enough times to know that putting some ill fitting duct tape around a bunch of other libraries that do all the work to make a quick buck in a hot space is a very common trick as well.

Re: Watch a machine-learning system parse the grammatical structure of sentences

#17
post #9
post #5

Earlier quoted context omitted.

Same thoughts as mine. Seems like ML was just thrown in the title to get more hits.

It uses machine learning to parse the sentence, all modern lexical parsers are based on machine learning.

Aren't most of them rule based?

Re: Watch a machine-learning system parse the grammatical structure of sentences

#18
post #3

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…

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 structure of sentences

#19

It got "colorless green ideas sleep furiously," wrong.

I don't see how it got it wrong (and it would be surprising if it did given the sentence is not syntactically ambiguous). It does use a visual notation which, AFAIK, differs from the standard in linguistcs [0].

[0]: https://en.wikipedia.org/wiki/File:Syntax_tree_for_Colorless...

Re: Watch a machine-learning system parse the grammatical structure of sentences

#20
post #3

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…

My favorite is "Fruit flies like honey." which trips this parser up as well.
Post reply on HN