开发者

Any Java library for address extraction from emails? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software l开发者_StackOverflow中文版ibraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for an Java open-source library which is able to extract address information from a (German) email (signature). The library should find

  • name
  • street
  • city, city code/postal code
  • email
  • tel/fax

address-parser.com is an commercial product, but a free (albeit simple) library would be great.

stackoverflow.com/questions/16413/parse-usable-street-address-city-state-zip-from-a-string is asking for something similar, but my problem is broader because the address information is hidden in a complete email. And there isn't a solution either...

Any ideas?


well you just use javamail to get the parts that compose the email until you find the one containing the signature (there might be more than one, for example one text/plain and another text/html inside a multipart/alternative, but the address will be the same in both), and then apply the solution given in the question you mention

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜