Example sentence: The captain greeted the passengers and the flight attendants.
Version 4.7.4 constituent tree: (S (NP The captain) (VP greeted (NP the passengers and the flight attendants)) .)
Version 4.1b constituent tree: (S (NP The captain) (VP greeted (NP (NP the passengers) and (NP the flight attendants))) .)
Our system requires the additional noun phrases that are included in the 4.1b constituent tree. Is there an option, or other config parameter, that will cause the new version to generate a constituent tree like version 4.1b?
TIA,
Bob
--
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.
Sigh. This is a bug, introduced at the time that "fat links" were deprecated.
In other words, I completely forgot about constituent trees when removing
the fat links, and clearly, this will require more fixing.
The last version in the 4.6.x series should work fine for you; the move to
avoid fat links doesn't happen till 4.7.0 (let me know if its still
broken in 4.6.x)
While I'd like to promise a quick fix, I'm afraid I can't; most likely it will
be several months before I can get a chance to do something about this.
Sorry.
--linas.
p.s. what is your application? It's nice to know who cares about this stuff ...
For link-grammar, I think you'd want to say: "the probability of a
parse = product of the probabilities of the links". The ranking database
just stores log-2 of the probabilities, and log of product = sum of logs.
BTW, are you using the database on a big-endian machine (i.e.
a non-intel box, e.g. powerpc or sparc? that might explain why
it won't work for you ... I've run out of ideas as to the source of
the problem.)
> Any idea about it's implementation?
The constituent tree is obtained by applying some fairly simple rules
after the link-parse is done. Source code in constituents.c
--linas