Skip to main content

Take Blip Scanner

Project description


Take Blip Scanner - Finite State Machine implentation for Text Scanner

Getting Started

  • Use suggested conda env inside 'conda_env' folder

    • Create: conda env create --file conda_env\take_scanner.yml
    • Update: conda env update --file conda_env\take_scanner.yml
  • Run 'python -m build' in terminal to create a local distribution

    • Will create 'dist' folder with lattest version of TakeBlipScanner
  • Install it

    • pip install dist\take-blip-scanner-X.Y.Z.tar.gz
  • run benchmark with 'python benchmark\ benchmark\benchmark.txt 10 0'

    • 'benchmark\benchmark.txt' is the bench file
    • '10' - is the number of runs to generate statistics
    • '0' - is the benchtype: 0 - full bench, 1 - just the Scanner Lexycal, 2 - just the SentenceTokenizer
  • if outputs looks liks bellow, everyting is ok

    START: Benchmark

    Lexycal_2 >> With 3 runs, takes 1.295s * 0.147; Median: 1.212

    Lexycal_3 >> With 3 runs, takes 1.224s * 0.029; Median: 1.235

    SentenceTokenizer >> With 3 runs, takes 1.811s * 0.010; Median: 1.812


    END: Benchmark

Build and Test

  • BUILD - run 'python -m build'
  • TEST - Two steps:
    • install local package ´pip install dist\take-blip-scanner-X.Y.Z.tar.gz´
    • run 'pytest'


TODO: Explain how other users and developers can contribute to make your code better.

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

take-blip-scanner-0.0.14.tar.gz (9.3 kB view hashes)

Uploaded source

Built Distribution

take_blip_scanner-0.0.14-py3-none-any.whl (12.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page