clab / lstm-parser

Transition-based dependency parser based on stack LSTMs
Apache License 2.0
204 stars 63 forks source link

Using lemma of a word in lstm-parse.cc file #28

Closed sb-b closed 6 years ago

sb-b commented 6 years ago

Hi,

Is there a way to reach lemma of words in the treebank (maybe by extracting them from conll files) inside lstm-parse.cc? Is lemma information kept somewhere in the code?

Thanks, Betul

miguelballesteros commented 6 years ago

There is not. But you can modify the code to do so and use them similarly as postags are used. Thanks!