Catalog PyPI
PACKAGE EXPLORERView in registry

addr-detector

PyPI

Python address detector

addr_detector
Versions collected1
Direct dependencies0From release 0.2.1
Last observed20 Oct, 19:21 UTC

README

Version 0.2.1 documentation
Address Detector
==============================

How to detect if a user query might be an address and requires to launch a map answer.




Project Modules
------------
The  project implements 3 classifiers, using an a la scikit template.

The first classifier is a simple scorer classifier, based on the parsing result of the address parser libpostal (https://github.com/openvenues/libpostal)
According to how the parser manage to work, and which fields are parsed, we make a score and decide if an address or not.

The second classifier is based on the FastText classifier trained on address data. The fasttext makes  an embedding of the differents address it sees and therefore when a new address is submitted if  it's in  a close  spaceto what have been learned.
The classifier is pre-trained, and the Fasttext zip model is store within the package.

The  third classifier is a voting classifier combining the results of the two previous classifiers.


Project Dependencies
------------
####Installation of Postal:
Before you install `Postal` , make sure you have the following prerequisites:
```
sudo apt-get install curl autoconf automake libtool pkg-config
```

Then to install the C library:

```
git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure --datadir=[...some dir with a few GB of space...]
make
sudo make install

# On Linux it's probably a good idea to run
sudo ldconfig
```
#### Installation of FastText
In order to build `fastText`, use the following:

```
$ git clone https://github.com/facebookresearch/fastText.git
$ cd fastText
$ make
```



=======
History
=======

0.1.0 (2017-10-25)
------------------

* First release on PyPI.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.117 Nov 20170

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
rdoume/addr_detector

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:21 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f9aa4ecd6a37340322ba4f97e7a2ec0aa05efa65df55785c5344a6da7996fdf3