{"library":"nostril-detector","title":"Nostril","description":"Nostril (Nonsense String Evaluator) is a Python 3 module that infers whether a given word or text string is likely nonsense or meaningful text. It is primarily used to distinguish program identifiers from natural language. Current version 1.2.2, released 2023-12-31. Release cadence is low, with no recent updates.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install nostril-detector"],"cli":null},"imports":["from nostril import detect_nonsense","from nostril import Nostril"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from nostril import detect_nonsense\n\n# Test a meaningful string\ntest_string = 'hello world'\nresult = detect_nonsense(test_string)\nprint(f'{test_string!r}: nonsense={result}')\n\n# Test a nonsense string (e.g., program identifier)\ntest_string2 = 'xzyqwk'\nresult2 = detect_nonsense(test_string2)\nprint(f'{test_string2!r}: nonsense={result2}')\n","lang":"python","description":"Basic usage: call detect_nonsense(string) which returns True if the string is likely nonsense, False otherwise.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}