1

I am trying to process a text file of 1M lines. Each string is one line, and I need to obtain location information from each string. The easiest way I thought of doing so was using Stanford's NER tagger in PYTHON.

However, the tagger is performing extremely slow, like 2 seconds per line. By this speed it will take 20 days to complete my file. Also its somewhat inaccurate, missing obvious locations like "nyc".

Anyone know how I can speed things up a little and make it more accurate?

Thanks

0 Answers0