AnantLabs / link-parser

Automatically exported from code.google.com/p/link-parser
0 stars 0 forks source link

coordinate disjunctions #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Linas:

You should probably open a bug report on this, although I don't
know when I could look at it. Link parser does something quite
unusual (i.e. I'm not used to seeing): it parses it as if it were two
sentences:

You can stay
You can leave

and it doesn't really tell you what the connection was.

The "parsing as if it were two sentences" is by design,
its documented/discussed somewhere in the link-grammar
docs.

Relex enables "union linkage" so it can get both sentences
at once.  (!union at the command line)

However, it looks like the link parser doesn't generate a link
to the "and", "or". Since there's no link, relex is ignorant of
any relation.

Original issue reported on code.google.com by borislav...@gmail.com on 19 Apr 2008 at 2:36

GoogleCodeExporter commented 9 years ago
The original sentences causing the problem are:

"You can stay or leave."
"You can stay and leave."

Original comment by linasvep...@gmail.com on 19 Apr 2008 at 5:01

GoogleCodeExporter commented 9 years ago
This is being discussed on the link-grammar mailing list, w/ Filip Maric. 
Preliminary code to print the disjunction/conjunction tree has been added as 
"debug"
code to analyze-linkage.c. Also, the tree is now associated with the linkage 
(so that
it can be accessed whenever the linkage is still alive). A nice API is now 
needed.

Original comment by linasvep...@gmail.com on 15 Aug 2008 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by linasvep...@gmail.com on 15 Aug 2008 at 10:33

GoogleCodeExporter commented 9 years ago
Alternate approach is not being followed, with goal of removing fat disjuncts 
entirely. About 20 use cases have been done about 20 more remain.

Original comment by linasvep...@gmail.com on 23 Jun 2010 at 2:49

GoogleCodeExporter commented 9 years ago
The coordinating disjunction problem was fixed in Version 4.7.0 (12 September 
2010)

Conjunction support added to Relex in version 1.4.0 (21 February 2011)

The above two test sentences seem to work; I get the following output:

conj_or(stay, leave)
tense(stay, present)
tense(leave, present)
_subj(or, you)
tense(or, present_future)
HYP(or, T)
pronoun-FLAG(you, T)
gender(you, person)

Hmmm .. I still sport one bug: tense(or, present_future) is wrong.! as is the 
pos identification for 'or'

Original comment by linasvep...@gmail.com on 11 Apr 2011 at 12:02

GoogleCodeExporter commented 9 years ago
I opened issue 52 to track the tense-tagging bug.

The pos-tagging problem fixed in bzr

Original comment by linasvep...@gmail.com on 11 Apr 2011 at 3:43