Metadata-Version: 2.1
Name: text2numde
Version: 1.0
Summary: This library converts German numbers written as text to integer and float values.
Home-page: https://github.com/padmalcom/text2numde
Author: Jonas Freiknecht
Author-email: j.freiknecht@googlemail.com
License: UNKNOWN
Description: # 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.
        
        ```
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
