Skip to Content.
Sympa Menu

illinois-ml-nlp-users - Re: [Illinois-ml-nlp-users] Two Issues about Lemmatizer and SRL in Curator 1.1.2

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

Re: [Illinois-ml-nlp-users] Two Issues about Lemmatizer and SRL in Curator 1.1.2


Chronological Thread 
  • From: "Sammons, Mark" <mssammon AT illinois.edu>
  • To: Leslie Huyan <lhuyan AT gmail.com>
  • Cc: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: Re: [Illinois-ml-nlp-users] Two Issues about Lemmatizer and SRL in Curator 1.1.2
  • Date: Tue, 9 Sep 2014 17:17:42 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

OK, finally figured out the lemmatizer bug.  Please change the entry in the curator config file configs/annotators-example.xml from:

<annotator>
  <type>multilabeler</type>
  <field>lemma</field>
  <host>localhost:12345</host>
  <requirement>sentences</requirement>
  <requirement>tokens</requirement>
  <requirement>pos</requirement>
</annotator>

to:

<annotator>
  <type>labeler</type>
  <field>lemma</field>
  <host>localhost:12345</host>
  <requirement>sentences</requirement>
  <requirement>tokens</requirement>
  <requirement>pos</requirement>
</annotator>

-- I will update the distribution with this fix as well

Please let me know if this works for you.

Thanks,

Mark




From: illinois-ml-nlp-users-bounces AT cs.uiuc.edu [illinois-ml-nlp-users-bounces AT cs.uiuc.edu] on behalf of Sammons, Mark [mssammon AT illinois.edu]
Sent: Sunday, September 07, 2014 2:05 PM
To: Leslie Huyan
Cc: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: Re: [Illinois-ml-nlp-users] Two Issues about Lemmatizer and SRL in Curator 1.1.2

Hi, Leslie.

You are right: there are two problems.  The fixable one is a missing dependency.  The much more troublesome one is currently a mystery to me: I can reproduce it with the current release, but our own installation works fine. I'm trying to track it down, but it's from somewhere in the guts of the Thrift libraries, and there's no helpful indication as to what is causing it...  this may take a while.

Thanks for finding the problem.

Mark


From: Leslie Huyan [lhuyan AT gmail.com]
Sent: Sunday, September 07, 2014 11:19 AM
To: Sammons, Mark
Cc: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: Re: [Illinois-ml-nlp-users] Two Issues about Lemmatizer and SRL in Curator 1.1.2

Hi Mark,

just tried it but it doesn't seem to work (after restarting both lemma server and curator main server):
ServiceUnavailableException(reason:lemma unavailable:org.apache.thrift.transport.TTransportException)

For  not seeing a demo code for lemmatizer, I used the same method to call, i.e.,
record = client.provide("lemma", text, false);
record.getLabelViews().get("lemma").getLabels();

Is it right?


Leslie




On Sun, Sep 7, 2014 at 11:37 PM, Sammons, Mark <mssammon AT illinois.edu> wrote:
Hi, Leslie.

1. I changed the config in the latest release: this component should have only the field name "lemma".  You can directly edit the entry in annotators-example.xml:

<annotator>
  <type>multilabeler</type>
  <field>lemma</field>
  <host>localhost:12345</host>
  <requirement>sentences</requirement>
  <requirement>tokens</requirement>
  <requirement>pos</requirement>
</annotator>


2. At present, SRL has some NER features in its models, so this is a genuine dependency.

Regards,

Mark 



From: illinois-ml-nlp-users-bounces AT cs.uiuc.edu [illinois-ml-nlp-users-bounces AT cs.uiuc.edu] on behalf of Leslie Huyan [lhuyan AT gmail.com]
Sent: Sunday, September 07, 2014 10:25 AM
To: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: [Illinois-ml-nlp-users] Two Issues about Lemmatizer and SRL in Curator 1.1.2

Hi Mark,

1) Lemmatizer can't work, neither for lemma_wn or lemma_porter, although the server can be started up. I had to change to use Stanford Lemmatizer for an urgent need.

2) The SRL can't work without NER view, which sounds a bit weird to me. Probably a bug?

Regards,
Leslie




--
Leslie Huyan
Vice President, Internet Technology
Schmap Inc.
Email: leslie.huyan AT schmap.com
Mobile(China): 15652779079
MSN: lhuyan AT gmail.com
www.schmap.com



Archive powered by MHonArc 2.6.16.

Top of Page