Friday, April 1, 2016

CF & the need to parse street addresses equals CF & Java & Python

This is a POC / WIP. I have been looking for a CF or Java solution to parse addresses.
What I have found so far that works best is a Python library.

The good thing is I came across a blog post by Mark Mandel RUNNING PYTHON ON COLDFUSION there is Jthon that allows you to run Python from Java & we all know you can run Java from CF.

The Python code I want to run is here

There is a nice web based example of it here

QUESTIONS:

  • Is there a PURE CF solution?
  • Is there a better Java solution?
  • Will this CF/Java/Python thing run like a slug?
  • Is there anything I missed?

5 comments:

James Moberg said...

I posted two (2) Java solutions to your similar question posted on StackOverflow. (Feel free to discuss further there as I don't think you've responded to anyone yet.)
http://stackoverflow.com/questions/36341929/looking-for-coldfusion-or-java-street-address-parser/

I've asked for an eval version of the Java version available here:
http://www.address-parser.net/product-java.php

It looks like it has more options that the Python library. They have a web-based demo too:
http://www.address-parser.net/try.php
http://www.address-parser.net/try.php?withdata=1&address=123+Main+St.+Suite+100+Chicago%2C+IL&country=US&format=HTML&standardize=on

Rich said...

Thanks James! I did not get notice from Stack Overflow. :(

Rich said...

I tested out JGeocode, it does not work as good as https://github.com/datamade/usaddress example: https://parserator.datamade.us/usaddress It is python, I can either call it from Jython or write it as a service.

Thanks for the help!

James Moberg said...

Other java & COM solutions I've found are cost prohibitive. The companies don't post any licensing rates and require to know what you are using it for so they can potentially charge you more. I'm also interested in the Python usaddress solution. Please let me know what you find. (I'm using Windows 64 bit and have had a difficult time following the generic instructions to get it up and running.)

SiliconIT Hub said...

At Silicon IT Hub, we have team of professional website developers that looks after your web appearance and functionalities. We have developers that are well versed with Cold Fusion Development and we help you in designing a website that is fully functional and highly speedy. We can help you with cost-effective and highly secured website applications at our desk.