GithubHelp home page GithubHelp logo

pklibpostalnet-nodata's Introduction

PKLibPostalNet

Purpose

This is a personal nuget package for LibPostalNet, without data files It supports both windows and linux.

You will need to download the data files from:

https://github.com/rkramer1964/PKLibPostalNetData/releases/download/1.0.0/libpostal.zip and decompress them into c:\libpostal

Windows users should be able to use 7-zip for this.

Users of this package WILL need to reset the libpostal data directory at runtime. See the LibPostalNet console demonstration program for how to do this. (snippet below)

                libpostal.LibpostalSetupDatadir(dataPath);
                libpostal.LibpostalSetupParserDatadir(dataPath);
                libpostal.LibpostalSetupLanguageClassifierDatadir(dataPath);

How it was built

Windows

See the LibPostal project to set up the environment. Then for the library build:

git clone https://github.com/openvenues/libpostal
cd libpostal
cp -rf windows/* ./
./bootstrap.sh
./configure --datadir=/c --disable-sse2
make -j4
make install

There were issues reported with SSE, so I disabled it.

Linux

See the LibPostal project to set up the environment. Then for the library build:

git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure --datadir=`pwd`/libpostal_data --disable-sse2
make -j4
make install

This has my personal build folder on my workstation in the datadir - you WILL need to set the data dir at runtime There were issues reported with SSE, so I disabled it.

pklibpostalnet-nodata's People

Contributors

rkramer1964 avatar

Stargazers

Leftyx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.