semvec/pypi-packages huggingface dataset:
tooth-python 0.1.5
Generating text.
Requires Python: >=3.8
Keywords: generate, tooth

# tooth-python
[![PyPI Downloads](https://static.pepy.tech/personalized-badge/tooth-python?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/tooth-python)
`tooth-python` is a very basic library that allows you to generate text with basic functions.

## License

These codes are licensed under CC0.

[![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png "CC0")](http://creativecommons.org/publicdomain/zero/1.0/deed.ja)

# How to use
```python
from tooth import Tooth # Importing `Tooth` class

tooth = Tooth()

tooth.generate("Hello") # Returns 'Toothハ'
```

# Customize vocabulary
```python
tooth = Tooth(vocab=[
    "a", "b", "c"
])
```
food-inventory-x24148385 0.0.1
A small package to check low inventory
Requires Python: >=3.9

# inventory-utils-x24148385

A Python library for **unit-aware low stock detection**.

## Purpose
Detects low inventory based on **unit-specific thresholds**:
- 5kg → acceptable
- 5g → critical

## Features
- Configurable thresholds per unit
textunitlib 0.0.1
TextUnitLib: A Python library for extracting diverse text units from textual data
Requires Python: >=3.9
Keywords: feature-engineering, feature-extraction, stylometry, text-features, text-units

# TextUnitLib (TUL)
A Python library that allows easy extraction of a variety of text units within texts

# Description
TextUnitLib (TUL) enables effortless extraction of a variety of text units from texts, 
which can for example be used to extend existing Natural Language Processing (NLP) [applications](#Applications). In addition to common text units such as words, parts of speech (POS) or named entities, more specific text units such as function words, stop words, contractions, numerals (e.g., pronounced numbers), quotations, emojis and many more can be extracted. These can be used to carry out in-depth analyses of given texts and thus gain valuable insights (e.g., stylometric analyses). In addition, TUL can be used to simplify the pre-processing and cleaning of texts, the construction of feature vectors or many (corpus) linguistic tasks such as the creation of word/vocabulary lists, cloze texts and readability formulas. TUL can be used either standalone or as a building block for larger NLP applications. 

<a name="Applications"></a>
# Applications
TUL's feature extraction abilities allow a wide range of applications, including:

- Text analytic / corpus linguistics purposes (e.g., calculating text statistics, readability measures, authorship analysis, etc.) 
- Feature vector construction for many NLP tasks (in particular text classification)
- Accessing linguistic features for visualization purposes (e.g., word clouds, plots)
- Pre-processing / cleaning of text files within text datasets (e.g., anonymizing named entities, removing stopwords, dates, URLs, etc.)
- General framework PDF document annotations (e.g., highlighting words by their POS-tags)  

# Features
- Besides common text units (e.g., tokens, letters, numbers or POS-tags) TUL also covers many [less popular](#TextUnit_Categories) text units
- Provides functions to extract generic linguistic features (e.g., n-gram-based features, text units that occur x times, maximum substrings occuring within a list of text units, etc.)
- Multilingual (TUL currently supports two languages, more languages will follow)
- Automatic NLP pipeline creation (installation and loading of the spaCy models on demand)
- No API dependency: besides the spaCy models and obligatory Python libraries TUL can be used completely offline
- Extensively documented source code with many examples integrated into the docstrings

<a name="TextUnit_Categories"></a>
# Categories of text units
- Numerals: Integers, floats, decimals (0 to 9), digits, numerals, spelling out numbers
- Function word sub-categories: Conjunctions, auxiliary verbs, determiners, prepositions, pronouns, quantifiers 
- N-Grams: Character n-grams, word n-grams, token n-grams, POS-tag n-grams, etc.
- Emojis: As visual pictograms or as shortcodes
- Hapax/dis/tris legomenon text units 
- Quotations