All Projects → SweetIQ → Expostal

SweetIQ / Expostal

Licence: mit
Elixir binding for Libpostal - a library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to Expostal

python-censusbatchgeocoder
A simple Python wrapper for U.S. Census Geocoding Services API batch service
Stars: ✭ 40 (-50%)
Mutual labels:  geocoding, address
Node Postal
NodeJS bindings to libpostal for fast international address parsing/normalization
Stars: ✭ 165 (+106.25%)
Mutual labels:  address, binding
Dtp Stat
Карта ДТП
Stars: ✭ 141 (+76.25%)
Mutual labels:  parser, geocoding
addressr
Free Australian Address Validation, Search and Autocomplete
Stars: ✭ 46 (-42.5%)
Mutual labels:  geocoding, address
geocoding
地理编码技术,提供地址标准化和相似度计算。
Stars: ✭ 148 (+85%)
Mutual labels:  geocoding, address
Zh Address Parse
全网识别准确度最高的中国大陆收货地址智能解析
Stars: ✭ 328 (+310%)
Mutual labels:  parser, address
lieu
Dedupe/batch geocode addresses and venues around the world with libpostal
Stars: ✭ 73 (-8.75%)
Mutual labels:  geocoding, address
Pypostal
Python bindings to libpostal for fast international address parsing/normalization
Stars: ✭ 504 (+530%)
Mutual labels:  address, binding
Method log
Trace the history of an individual method in a git repository (experimental)
Stars: ✭ 73 (-8.75%)
Mutual labels:  parser
Mimekit
A .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.
Stars: ✭ 1,214 (+1417.5%)
Mutual labels:  parser
Gw2 Elite Insights Parser
Binary parser for the .evtc files that arcdps generates after a boss encounter. This will generate a .html file where the results can be easily reviewed.
Stars: ✭ 73 (-8.75%)
Mutual labels:  parser
Parser
Generate a JSON documentation for a SFC Vue component. Contribute: https://gitlab.com/vuedoc/parser#contribute
Stars: ✭ 74 (-7.5%)
Mutual labels:  parser
Marko
A markdown parser with high extensibility.
Stars: ✭ 77 (-3.75%)
Mutual labels:  parser
Xmlparser
A low-level, pull-based, zero-allocation XML 1.0 parser.
Stars: ✭ 73 (-8.75%)
Mutual labels:  parser
Videoparse
这个可能不再维护了,音乐可以参考KMusic
Stars: ✭ 79 (-1.25%)
Mutual labels:  parser
Proteus
Proteus : A JSON based LayoutInflater for Android
Stars: ✭ 1,179 (+1373.75%)
Mutual labels:  binding
Photon
an open source geocoder for openstreetmap data
Stars: ✭ 1,177 (+1371.25%)
Mutual labels:  geocoding
Rs Monkey Lang
Monkey Programming Language written in Rust.
Stars: ✭ 80 (+0%)
Mutual labels:  parser
Solidity Antlr4
Solidity grammar for ANTLR4
Stars: ✭ 79 (-1.25%)
Mutual labels:  parser
Cat
Plain C library for parsing AT commands for use in host devices.
Stars: ✭ 77 (-3.75%)
Mutual labels:  parser

Elixir expostal

Build Status Hex.pm license

Elixir binding for Libpostal - a library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.

Tutorial on how to write Elixir/Erlang NIF: http://cs.mcgill.ca/~mxia3/2017/06/18/tutorial-extending-elixir-with-c-using-NIF/

Installation

The package can be installed by adding expostal to your list of dependencies in mix.exs:

def deps do
  [{:expostal, "~> 0.2.0"}]
end

Dependencies

Depends on system-wide installation of libpostal.

Usage

Parsing an address:

iex> Expostal.parse_address("615 Rene Levesque Ouest, Montreal, QC, Canada")

%{city: "montreal", country: "canada", house_number: "615",
  road: "rene levesque ouest", state: "qc"}

Expanding an address:

iex> Expostal.expand_address("781 Franklin Ave Crown Hts Brooklyn NY")

["781 franklin avenue crown heights brooklyn new york",
  "781 franklin avenue crown heights brooklyn ny"]

Documentation

View the docs on https://hexdocs.pm/expostal, or generate the docs locally with mix docs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].