Different settings and the online parser.

3 views
Skip to first unread message

JRowe

unread,
Mar 13, 2010, 2:10:02 PM3/13/10
to link-grammar
"Thieves rob bank" on http://www.link.cs.cmu.edu/link/submit-sentence-4.html

The online parser there correctly processes the sentence, but the most
recent release doesn't parse it at all, at least by default.

What settings I would use to get a parse on (almost) any sentence,
even if it's technically a wrong result? I can't find any
documentation that indicates what I need to do to get to that point.
Thanks!

JRowe

unread,
Mar 14, 2010, 4:59:45 PM3/14/10
to link-grammar
http://www.abisource.com/projects/link-grammar/dict/introduction.html

This documents the various settings that can be manipulated in order
to obtain more robust parses. "Thieves rob bank." can be parsed by
setting the min null link and max null link to 1. This results in an
incorrect parse, where "bank" is determined to be a verb as opposed to
a noun. by substituting "financialBank" for bank, the parse is
correct, as financialBank is presumed to be a noun.

Linas Vepstas

unread,
Mar 15, 2010, 12:15:05 PM3/15/10
to link-g...@googlegroups.com
On 13 March 2010 13:10, JRowe <jro...@gmail.com> wrote:
> "Thieves rob bank" on http://www.link.cs.cmu.edu/link/submit-sentence-4.html
>
> The online parser there correctly processes the sentence, but the most
> recent release doesn't parse it at all, at least by default.

? What output do you get? I get output from version 4.6.5 that is
identical to the online parser.

> What settings I would use to get a parse on (almost) any sentence,
> even if it's technically a wrong result? I can't find any
> documentation that indicates what I need to do to get to that point.

There are no such settings.

--linas

Linas Vepstas

unread,
Mar 15, 2010, 12:25:01 PM3/15/10
to link-g...@googlegroups.com
On 14 March 2010 14:59, JRowe <jro...@gmail.com> wrote:
> http://www.abisource.com/projects/link-grammar/dict/introduction.html
>
> This documents the various settings that can be manipulated in order
> to obtain more robust parses. "Thieves rob bank." can be parsed by
> setting the min null link and max null link to 1. This results in an
> incorrect parse, where "bank" is determined to be a verb as opposed to
> a noun.

The default setting is min-null-link zero and max null link infinite.

> by substituting "financialBank" for bank, the parse is
> correct, as financialBank is presumed to be a noun.

Since "financialBank" is not an english language word (certainly
not one that link-grammar knows of), it applies word-guessing rules
to guess that it is a mass noun, which does not require a determiner.
e.g. "thieves rob water" "thieves rob sunlight". However, "bank" is
a count noun, and requires a determiner, which is why "thieves rob bank"
finds no parses.

It would be nice to have a flag which states "if sentences is possibly
a newspaper headline, then determiners are optional", that would fix
the parsing for you. The trick has always been how to implement this
correctly.

--linas

> --
> You received this message because you are subscribed to the Google Groups "link-grammar" group.
> To post to this group, send email to link-g...@googlegroups.com.
> To unsubscribe from this group, send email to link-grammar...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/link-grammar?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages