{"id":24615,"library":"spacy-lookups-data","title":"spaCy Lookups Data","description":"Additional lookup tables, lemmatization data, and other language resources for spaCy. Version 1.0.5 is the latest stable release. The package provides supplementary data that spaCy loads on demand; it is updated infrequently but follows spaCy's major releases.","status":"maintenance","version":"1.0.5","language":"python","source_language":"en","source_url":"https://github.com/explosion/spacy-lookups-data","tags":["spacy","nlp","lookups","data"],"install":[{"cmd":"pip install spacy-lookups-data","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Run-time dependency, spacy-lookups-data is loaded via spacy's lookup tables mechanism.","package":"spacy","optional":false}],"imports":[{"note":"Data tables are accessed through spaCy's Lookups class, not imported directly from spacy-lookups-data.","wrong":null,"symbol":"Lookups","correct":"from spacy.lookups import Lookups"}],"quickstart":{"code":"import spacy\nfrom spacy.lookups import Lookups\n\n# Load a small model that uses lookups\nnlp = spacy.load('en_core_web_sm')\n\n# Access lookups table (if available for the model)\n# The package provides data automatically; no explicit import needed.\n# Check if a table is present:\nlookups = nlp.vocab.lookups\nprint(lookups.get_table('lemma_rules')[:2])  # example, may be empty\n","lang":"python","description":"Verify that lookups data is available in a spaCy model. The package itself is not imported directly; its data is used transparently by spaCy."},"warnings":[{"fix":"Ensure spaCy version is >=3.0 and <4.0 when using spacy-lookups-data 1.x.","message":"spaCy v3+ changed the way lookup tables are loaded. spacy-lookups-data 1.0.x is compatible with spaCy v3 only. Older versions (0.x) are for spaCy v2. Do not mix versions.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Do not import spacy_lookups_data; just pip install it.","message":"The package does not need to be imported in your code. Installing it is sufficient — spaCy will discover it automatically. Trying to import it directly (import spacy_lookups_data) will raise ModuleNotFoundError.","severity":"gotcha","affected_versions":"all"},{"fix":"Check spaCy release notes for alternative data sources.","message":"spacy-lookups-data is in maintenance mode. Future spaCy versions may reduce reliance on external lookup packages. Consider using spaCy's built-in data or bundled models instead.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Remove the import statement. Just install the package and let spaCy use it automatically.","cause":"Trying to import the package directly. spacy-lookups-data is a data package and should not be imported.","error":"ModuleNotFoundError: No module named 'spacy_lookups_data'"},{"fix":"Run 'pip install spacy-lookups-data' and ensure your spaCy version is 3.x.","cause":"spacy-lookups-data is not installed or the version is incompatible with the spaCy model.","error":"ValueError: [E955] Can't find table(s) 'lemma_rules' for language 'en'."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}