Skip to main content

Some fast-ish algorithms for batch text search in moderate-sized collections, intended for data cleanup.

Project description

Installation

With pip

pip install fasttextsearch

For developers

pip install numpy

git clone https://github.com/danpovey/text_search
cd text_search

mkdir build
cd build
cmake ..
make -j
make test

# set PYTHONPATH so that you can use "import textsearch"

export PYTHONPATH=$PWD/../textsearch/python:$PWD/lib:$PYTHONPATH

Now you can use

python3 -c "import textsearch; print(textsearch.__file__)"

Caution: We did not use either python3 setup.py install or pip install. We only set the environment variable PYTHONPATH.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fasttextsearch-0.12.tar.gz (58.8 kB view hashes)

Uploaded Source

Built Distributions

fasttextsearch-0.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fasttextsearch-0.12-cp311-cp311-macosx_10_9_x86_64.whl (103.2 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

fasttextsearch-0.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

fasttextsearch-0.12-cp310-cp310-macosx_10_9_x86_64.whl (103.2 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

fasttextsearch-0.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131.8 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fasttextsearch-0.12-cp39-cp39-macosx_10_9_x86_64.whl (103.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

fasttextsearch-0.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

fasttextsearch-0.12-cp38-cp38-macosx_10_9_x86_64.whl (103.2 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

fasttextsearch-0.12-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

fasttextsearch-0.12-cp37-cp37m-macosx_10_9_x86_64.whl (102.7 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page