ottokart / punctuator2

A bidirectional recurrent neural network model with attention mechanism for restoring missing punctuation in unsegmented text
http://bark.phon.ioc.ee/punctuator
MIT License
659 stars 195 forks source link

Where is we.pcl? #29

Open akbapu14 opened 6 years ago

studiawan commented 6 years ago

Do you mean pre-trained model? As described in README, the pre-trained model can be downloaded here: https://drive.google.com/drive/folders/0B7BsN5f2F1fZQnFsbzJ3TWxxMms?usp=sharing

robinsax commented 6 years ago

As far as I can tell, we.pcl is the embedded word model which is only nessesary for training the precompiled models which are available at the URL above.

shaik753 commented 4 years ago

Hi

i am using the models in the above link I am new this filed of work and hvaing difficulty to figure out how to use the pretrained model for adding punctuations to the text I have

when I am trying to run the punctuator.py with the abbove pretrianed model I am getting error as : Output file path argument missing Could you please sugguest ?

Thanks

ottokart commented 4 years ago

Hi

I think you are missing the last parameter (this example assumes that input.txt and downloaded Demo-Europarl-EN.pcl are in the punctuator2 directory): cat input.txt | python punctuator.py Demo-Europarl-EN.pcl output.txt

shaik753 commented 4 years ago

Thank you :)