{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/12"},{"label":"Information Analysis","url":"https://skillfed.io/packages/category/scientific-engineering-information-analysis/2"},{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/2"}],"enrichment":{"capability":"Read-only access to DAWG (directed acyclic word graph) files created by the dawgdic C++ library or DAWG Python package, without requiring compiled extensions.","skillfed_tags":["data-structures","nlp-tools","pure-python"],"use_cases":["Load and query large word lists or dictionaries built as DAWGs without C extension dependencies.","Perform prefix-based searches on linguistic or dictionary data stored in DAWG format.","Run DAWG lookups under PyPy for better performance than CPython without recompiling.","Integrate DAWG-based data structures into pure-Python applications or libraries.","Check membership and iterate over keys in pre-built DAWG files for NLP or spell-checking tasks."],"what_it_does":"DAWG2-Python is a pure-Python reader for DAWG (directed acyclic word graph) files, a space-efficient data structure for storing and querying large sets of strings with common prefixes. It provides read-only access to DAWGs built by the dawgdic C++ library or the DAWG Python extension, without requiring compiled dependencies. The package aims for API compatibility with the original DAWG module where feasible, making it a drop-in replacement for loading and querying pre-built DAWGs.\n\nThe main use case is accessing DAWG data structures in pure Python environments\u2014particularly under PyPy, where it performs well\u2014or when you want to avoid the compilation overhead of C extensions. It supports prefix-based lookups, key iteration, and membership testing. The package is read-only by design; DAWGs must be created externally using the DAWG or dawgdic libraries.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a specific problem well: reading DAWG files in pure Python. Install it if you have pre-built DAWG data and want to query it without compiled extensions or C dependencies. Not suitable if you need to create DAWGs or require the fastest possible CPython performance."},"id":"dawg2-python","links":{"html":"https://skillfed.io/packages/dawg2-python","md":"https://skillfed.io/packages/dawg2-python.md","pypi":"https://pypi.org/project/dawg2-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-02-17","license_spdx":null,"license_treatment":"permissive","name":"DAWG2-Python","python_support":"supports_current","summary":"Pure-python reader for DAWGs (DAFSAs) created by dawgdic C++ library or DAWG Python extension."},"popularity":{"monthly_downloads":400636,"position":6937,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
