PKLibPostalNet 1.0.6
dotnet add package PKLibPostalNet --version 1.0.6
NuGet\Install-Package PKLibPostalNet -Version 1.0.6
<PackageReference Include="PKLibPostalNet" Version="1.0.6" />
paket add PKLibPostalNet --version 1.0.6
#r "nuget: PKLibPostalNet, 1.0.6"
// Install PKLibPostalNet as a Cake Addin #addin nuget:?package=PKLibPostalNet&version=1.0.6 // Install PKLibPostalNet as a Cake Tool #tool nuget:?package=PKLibPostalNet&version=1.0.6
PKLibPostalNet
Purpose
This is a personal nuget package for LibPostalNet, including data files and support for both windows and linux.
If you want to build your own, you will need to download the data files from:
https://github.com/openvenues/libpostal/releases/download/v1.0.0/parser.tar.gz 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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.CSharp (>= 4.7.0)
- System.Data.DataSetExtensions (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
This is a personal package, if it is of use to you, all the better.
It provides the LibPostalNet bindings packaged into nuget with data files.
Data files are downloaded from:
https://github.com/openvenues/libpostal/releases/download/v1.0.0/parser.tar.gz