Nostril: A nonsense string evaluator written in Python
Michael Hucka · The Journal of Open Source Software · 2018
Nostril (Nonsense String Evaluator) is a Python 3 module that can infer whether a given word or text string is likely to be nonsense or meaningful text.A "meaningful" string of characters is one constructed from real or real-looking English words or fragments of real words (even if the words are runtogetherlikethis).The main use case for Nostril is to decide whether short strings returned by source code mining methods are likely to be program identifiers (of classes, functions, variables, etc.), or random or other non-identifier strings.