Expostal v0.1.1 Expostal.Parser View Source

Address parsing module for Openvenue’s Libpostal, which does parses addresses.

Link to this section Summary

Functions

Parse given address into a map of address components

Link to this section Functions

Link to this function parse_address(address) View Source
parse_address(address :: String.t) :: String.t

Parse given address into a map of address components

Examples

iex> Expostal.Parser.parse_address("615 Rene Levesque Ouest, Montreal, QC, Canada")
%{city: "montreal", country: "canada", house_number: "615",
  road: "rene levesque ouest", state: "qc"}