{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"}],"enrichment":{"capability":"Blingfire provides fast tokenization and text processing using finite state machines, supporting multiple algorithms (pattern-based, WordPiece, SentencePiece Unigram LM, BPE) with prebuilt models for BERT, XLNET, GPT-2, and other NLP frameworks.","skillfed_tags":["tokenization","nlp","performance-critical"],"use_cases":["Tokenizing text for BERT, XLNET, or GPT-2 models in inference pipelines where latency matters","Sentence segmentation and word tokenization in high-throughput NLP applications","Multilingual text processing using prebuilt models trained on 80+ languages","Custom tokenization workflows by loading your own finite state machine models","Replacing slower tokenizers (SpaCy, Hugging Face) when speed is critical"],"what_it_does":"Blingfire is a Python wrapper around Microsoft's finite state machine\u2013based NLP library, designed for high-performance text tokenization and linguistic operations. It provides a unified interface across multiple tokenization algorithms (pattern-based, WordPiece, SentencePiece variants, and BPE) and ships with prebuilt models for popular frameworks like BERT, XLNET, GPT-2, and XLM-RoBERTa, as well as multilingual models for 80+ languages.\n\nThe library is optimized for low-latency inference and requires no runtime dependencies beyond Python itself. Models are loaded on demand from binary files, and the package includes default models for sentence breaking and word tokenization that work without additional configuration. It's particularly useful when you need fast, production-grade tokenization that outperforms pure-Python alternatives.","worth_installing":"Yes, if you need fast tokenization for NLP inference. The package is stable, has no dependencies, and offers significant speed advantages over pure-Python alternatives. However, be aware it is dormant (last release September 2021) and may not receive updates for new Python versions or model formats. Suitable for production use where the existing models and algorithms meet your needs."},"id":"blingfire","links":{"html":"https://skillfed.io/packages/blingfire","md":"https://skillfed.io/packages/blingfire.md","pypi":"https://pypi.org/project/blingfire/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-09-24","license_spdx":null,"license_treatment":"permissive","name":"blingfire","python_support":"unspecified","summary":"Python wrapper of lightning fast Finite State Machine based NLP library."},"popularity":{"monthly_downloads":879860,"position":4823,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.8"}
