jiesutd / LatticeLSTM

Chinese NER using Lattice LSTM. Code for ACL 2018 paper.
1.79k stars 457 forks source link

how to decode line by line ? #104

Closed talisaMing closed 4 years ago

talisaMing commented 4 years ago

I already have a trained model. And I know how to use the model to decode a file. But I want to use the model to decode online text to get entities. that is , decode a line and get some entities at a time. How to change code to achieve this ?

Thank u very much.

talisaMing commented 4 years ago

I got it . Thank u all the same. 😃