How can I extract address from raw text using NLTK in python?

前端 未结 3 690
梦如初夏
梦如初夏 2021-02-07 19:30

I have this text

\'\'\'Hi, Mr. Sam D. Richards lives here, 44 West 22nd Street, New York, NY 12345. Can you contact him now? If you ne

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-07 20:03

    Checkout libpostal, a library dedicated to address extraction

    It cannot extract address from raw text but may help in related tasks

提交回复
热议问题