semvec/pypi-packages huggingface dataset:
text2numde 1.0
This library converts German numbers written as text to integer and float values.
Requires Python: >=3.6

# text2numde

This python package converts numbers written as text into float or integer values.

It can furthermore:
- Validate a text to see if it represents a numbers
- Replace numbers in sentences without modifying the sentence around the numbers.

## Example usage

```python
>>> from text2numde import text2num, is_number, sentence2num
>>> text2numde('Eins')
1

>>> text2num('Einhundertunddrei')
103

>>> text2numd'Vierzehnkommaachtneundrei')
14.893

>>> is_number('Einhundertunddrei')
True

>>> is_number('Zehnzehnhundert')
False

>>> sentence2num('Ich habe zwei Hunde und vierzig VÃ¶gel.')
Ich habe 2 Hunde und 40 VÃ¶gel.

```
text2numde-padmalcom 1.0
This library converts German numbers written as text to integer and float values.
Requires Python: >=3.6

# text2numde

This python package converts numbers written as text into float or integer values.

It can furthermore:
- Validate a text to see if it represents a numbers
- Replace numbers in sentences without modifying the sentence around the numbers.

## Example usage

```python
>>> from text2numde import text2num, is_number, sentence2num
>>> text2numde('Eins')
1

>>> text2num('Einhundertunddrei')
103

>>> text2numd'Vierzehnkommaachtneundrei')
14.893

>>> is_number('Einhundertunddrei')
True

>>> is_number('Zehnzehnhundert')
False

>>> sentence2num('Ich habe zwei Hunde und vierzig VÃ¶gel.')
Ich habe 2 Hunde und 40 VÃ¶gel.

```