Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[java-nlp-user] No coreference output from stanford-corenlp-2011-05-16

John Bauer horatio at gmail.com
Mon May 23 17:44:29 PDT 2011


Bah, I thought I integrated both parts of the change that fixed that.
I seem to have missed the part that fixes the offset.

For now, just add 1 to both the sentence and the token offsets...

John

On Mon, May 23, 2011 at 5:38 PM, Alexander Yeh <asy at mitre.org> wrote:
> Thank you.
>
> It now produces some coreference output:
>
>  <coreference>
>      <link>
>        <source sentence="1" token="4"/>
>        <destination sentence="1" token="0"/>
>      </link>
>    </coreference>
>
> which links "located" with token 0 (the root?) in
> "Stanford University is located in California."
>
> which unfortunately is not the result shown in the web-page,
> and is pretty strange for a coreference link:
> linking a verb to an non-existent token.
>
> Attached is the
> run commands:             run.txt
> input file:               sample-input-frm-Stanford-instructions.txt
> output file:              sample-input-frm-Stanford-instructions.txt.xml
> style sheet to view the output file: CoreNLP-to-HTML.xsl
>                                        (many people already have)
>
> Thanks again
> -Alex
>
> John Bauer wrote:
>>
>> Thanks for pointing this out.  It should be fixed now.... let us know
>> if there is still a problem,
>>
>> John
>>
>> On Fri, May 20, 2011 at 2:44 AM, Alexander Yeh<asy at mitre.org>  wrote:
>>>
>>> Hello,
>>>
>>> I have been running stanford-corenlp-2011-05-16.
>>> For the most part, it seems to run,
>>> but I cannot seem to get any coreference resolution links.
>>>
>>> For example, on the web-page
>>> http://nlp.stanford.edu/software/corenlp.shtml
>>> is the example
>>>
>>> "Stanford University is located in California. It is a great university."
>>>
>>> which according to the web-page, should yield the coreference link
>>> between "It" and "university" in the 2nd sentence:
>>>
>>> <coreference>
>>>  <link>
>>>  <source sentence="2" token="5"/>
>>>  <destination sentence="2" token="1"/>
>>>  </link>
>>> </coreference>
>>>
>>> When I run this example, I get no coreference links.
>>>
>>> Attached is the
>>> run commands:             run.txt
>>> input file:               sample-input-frm-Stanford-instructions.txt
>>> output file:              sample-input-frm-Stanford-instructions.txt.xml
>>> style sheet to view the output file: CoreNLP-to-HTML.xsl
>>>                                        (many people already have)
>>>
>>> Thank you
>>> -Alex Yeh
>>>
>>> _______________________________________________
>>> java-nlp-user mailing list
>>> java-nlp-user at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/java-nlp-user
>>>
>>>
>
>



More information about the java-nlp-user mailing list