{"id":45558,"library":"nlup","title":"NLUP","description":"NLUP (Natural Language Understanding and Processing) is a Python library providing core utilities for natural language processing tasks, including tokenization, tagging, and feature extraction. Version 0.8 is the latest release, maintained by the CSLU NLP group at OHSU. Releases are infrequent, with no recent updates.","status":"active","version":"0.8","language":"python","source_language":"en","source_url":"http://github.com/cslu-nlp/nlup/","tags":["nlp","nlup","natural language","tokenizer","tagger","features"],"install":[{"cmd":"pip install nlup","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"nlup","correct":"import nlup"},{"note":"Tokenizer is in a submodule; direct import may fail.","wrong":"from nlup import Tokenizer","symbol":"Tokenizer","correct":"from nlup.tokenizer import Tokenizer"},{"note":"Tagger is in a submodule; direct import may fail.","wrong":"from nlup import Tagger","symbol":"Tagger","correct":"from nlup.tagger import Tagger"},{"note":"FeatureExtractor is in a submodule.","wrong":"from nlup import FeatureExtractor","symbol":"FeatureExtractor","correct":"from nlup.features import FeatureExtractor"}],"quickstart":{"code":"import nlup\ntext = \"Hello world\"\ntokens = nlup.tokenizer.tokenize(text)\nprint(tokens)","lang":"python","description":"Basic tokenization example using nlup."},"warnings":[{"fix":"Use tokenize instead of tokenize_text.","message":"API changes between versions: e.g., tokenizer function renamed from tokenize_text to tokenize in v0.8.","severity":"breaking","affected_versions":"<0.8"},{"fix":"Import submodules directly (e.g., from nlup.tokenizer import tokenize).","message":"Many submodules must be imported explicitly; top-level module exposes limited functionality.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure Python 3 environment.","message":"Use of Python 2 is no longer supported; some old examples may not work in Python 3.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.8':27 'core':13 'cslu':35 'extract':25 'featur':24,53 'group':37 'includ':20 'infrequ':42 'languag':4,17,50 'latest':30 'librari':11 'maintain':32 'natur':3,16,49 'nlp':36,47 'nlup':1,2,48 'ohsu':39 'process':7,18 'provid':12 'python':10 'recent':45 'releas':31,40 'tag':22 'tagger':52 'task':19 'token':21,51 'understand':5 'updat':46 'util':14 'version':26","created_at":"2026-06-07T12:55:36.508804+00:00","updated_at":"2026-06-07T12:55:36.508804+00:00","problems":[{"fix":"Use: from nlup.tokenizer import Tokenizer","cause":"Tokenizers are in a submodule, not top-level.","error":"ImportError: cannot import name 'Tokenizer'"},{"fix":"Use: from nlup.tokenizer import tokenize","cause":"Tokenize function is in nlup.tokenizer submodule.","error":"AttributeError: module 'nlup' has no attribute 'tokenize'"},{"fix":"Run: pip install nlup","cause":"nlup is not installed.","error":"ModuleNotFoundError: No module named 'nlup'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/cslu-nlp/nlup/","github":"http://github.com/cslu-nlp/nlup/","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}