ChunchuanLv / AMR_AS_GRAPH_PREDICTION

53 stars 16 forks source link

Error in AMRProcessors.py file #2

Open rafaelanchieta opened 5 years ago

rafaelanchieta commented 5 years ago

Hi Chun.

I'm trying run the parser but I'm getting an error in AMRProcessors.py file in line 157

snt = output['sentences'][0]["tokens"] TypeError: string indices must be integers

zjxs1997 commented 5 years ago

I met the error "edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl" and don't know how to solve it.....

ChunchuanLv commented 5 years ago

Maybe it's corenlp version issue?

Chunchuan

On Fri, 22 Mar 2019, 02:25 xu sheng, notifications@github.com wrote:

I met the error "edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl" and don't know how to solve it.....

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChunchuanLv/AMR_AS_GRAPH_PREDICTION/issues/2#issuecomment-475471560, or mute the thread https://github.com/notifications/unsubscribe-auth/ADs1bdgeZElqDSmEuWD9YQ9ddYczVugkks5vZD8PgaJpZM4WW1yl .

zjxs1997 commented 5 years ago

It seemed that my issue was about the java version. I added "--add-module java.se.ee" and it was solved

rafaelanchieta commented 5 years ago

Thanks.