Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2991

text2num v1.1.0 released

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!feeder3.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!fu-berlin.de!uni-berlin.de!not-for-mail
From Romuald Texier-Marcadé <r.texiermarcade@allo-media.fr>
Newsgroups comp.lang.python.announce
Subject text2num v1.1.0 released
Date Mon, 15 Oct 2018 11:18:37 +0200
Organization Allo-Media
Lines 34
Approved python-announce-list@python.org
Message-ID <mailman.202.1539682703.2799.python-announce-list@python.org> (permalink)
References <a78764a205b36beae96e2a6508babcc130000cd5.camel@allo-media.fr>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de vNu+R2ZDcOQ4cZ3r+luKTwV9LEIHESdhmUVLRhq77gyg==
Return-Path <r.texiermarcade@allo-media.fr>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'url- ip:137/8': 0.03; '-----------': 0.04; 'expressions': 0.05; 'subject:released': 0.05; 'received:209.85.221': 0.07; 'url- ip:137.116.78.48/32': 0.07; 'url-ip:137.116.78/24': 0.07; 'url- ip:137.116/16': 0.07; 'license.': 0.09; 'robust': 0.09; 'library': 0.11; 'python': 0.15; 'integers': 0.16; 'ordinal': 0.16; 'url:project': 0.16; '1.0': 0.17; 'parser': 0.20; 'skip:` 10': 0.20; '----------': 0.24; 'converting': 0.25; 'helper': 0.25; 'parse': 0.25; 'parsing': 0.25; 'stream': 0.25; 'header:User- Agent:1': 0.26; 'announce': 0.26; 'convert': 0.26; "we're": 0.27; 'url-ip:151.101.0.223/32': 0.27; 'url-ip:151.101.128.223/32': 0.27; 'url-ip:151.101.192.223/32': 0.27; 'url- ip:151.101.64.223/32': 0.27; 'exception': 0.27; 'url- ip:151.101.192/24': 0.28; 'url-ip:151.101.0/24': 0.29; 'url- ip:151.101.128/24': 0.29; 'url-ip:151.101.64/24': 0.29; 'written': 0.29; 'url-ip:46/8': 0.30; 'url-ip:192.30/16': 0.31; 'url:io': 0.31; 'quite': 0.31; 'received:google.com': 0.32; 'parameter': 0.33; 'sequences': 0.33; 'url:readthedocs': 0.33; '8bit%:13': 0.35; 'consistent': 0.35; 'url-ip:151.101/16': 0.35; 'url- ip:151/8': 0.35; 'received:209.85': 0.36; 'version': 0.37; 'to:addr:python-announce-list': 0.38; 'url-ip:192.30.253.112/32': 0.38; 'url-ip:192.30.253.113/32': 0.38; 'url-ip:192.30.253/24': 0.38; 'url:github': 0.38; 'received:209': 0.38; 'header:Mime- Version:1': 0.39; 'french': 0.40; 'url:org': 0.40; 'their': 0.60; 'more': 0.61; 'numbers,': 0.62; 'words.': 0.62; 'different': 0.64; 'within': 0.65; 'glad': 0.65; 'skip:n 10': 0.65; 'card': 0.66; 'received:176': 0.70; 'swiss': 0.75; 'improved': 0.79; 'cent': 0.84; 'source:': 0.84; 'url:fr': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=allo-media.fr; s=google; h=message-id:subject:from:to:date:organization:user-agent :mime-version; bh=dUhwJ8zRuN9tc9gQiBISzIbl6dwhnzjMMyJR9Ep0hfM=; b=X4KSUuKqXXDvbEonyKt05haj7voL2rwGlfH+cMkQbaILC0fExdt13JpnyuYFBsIz7H AJIMVnmNpql0eFgr6rKCBEy1ozSitaKmXcjKTLPNHnWLzUZnc0++4VWU2CV29V9vxcu+ ngwd0KsiFMKbD5aacxM8RjLJvq6u5k88GQqM8=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:organization :user-agent:mime-version; bh=dUhwJ8zRuN9tc9gQiBISzIbl6dwhnzjMMyJR9Ep0hfM=; b=gA964W8504FHZaBlSWp9BNK+WvHQBaDjkxxR7t2wJKvZQpZevH9E6SclJd4SrI1IeZ zuB7w1xY5VYxm/S/6TqAYug7Ts1Odc4LexdSwx3AJeQWaXC29wX6K7SSeHWsGwtznur6 DB8Qw3W5ZbS2e0laz/j0rZ5+KQENbXn0y7gv8qO1ZuBG9mJrp/VF/Kkk49485tHknnQf Wr/m67Al/EwDthDwGabmeCI+hkTxxdO+i2RNrCGKeWIpI8Bvd6gNv25ERykxzj8kegdt V/lx6sn/Wg7Ce8gFeJdmD+I3xeNsH5wKhC6G+JDOa9T5IhnV5GBKfZZuD67ewLy0rJBI po0Q==
X-Gm-Message-State ABuFfojesM4cWYlJ5cvljXzUfuA1+zn4HEytozkLYnUMOhmKGN2Whxhi AnBQQ46vnP3PrXBYIvxWXN3R5tRilZs=
X-Google-Smtp-Source ACcGV604HOFCTjGZYy5kT2VDlj3AgOj/FhwPorCrGrj3UCmtWN7LSBQXXAMmephtnd0QqcdhSkmRig==
X-Received by 2002:adf:dcc7:: with SMTP id x7-v6mr13523592wrm.21.1539595119501; Mon, 15 Oct 2018 02:18:39 -0700 (PDT)
User-Agent Evolution 3.30.1
X-Mailman-Approved-At Tue, 16 Oct 2018 05:38:21 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.29
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.29
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <a78764a205b36beae96e2a6508babcc130000cd5.camel@allo-media.fr>
Xref csiph.com comp.lang.python.announce:2991

Show key headers only | View raw


What's new
----------

- Support for swiss form *huitante*;
- support for expressions in the form *dix-sept cent quatre-vingt-neuf* 
that are often used for dates;
- improved documentation for the ``look_ahead`` helper function;
- more consistent exception when invalid value is passed as parameter
to `text2num` (fixes #7).

What's this
-----------

text2num: Parse and convert numbers written in French

We're glad to announce the release of version 1.0 of text2num,
the first Python library for parsing and converting numbers written
in French into their digit representation.

The parser is quite robust and is able to segment and convert number
expressions within a stream of words. It recognizes different flavor of
French, and parses ordinal numbers as well as decimals, integers and
formal
number sequences (phone numbers, card numbers…).

The library is distributed under the MIT license.

Pypi: https://pypi.org/project/text2num/
Source: https://github.com/allo-media/text2num
Doc: http://text2num.readthedocs.io/

Romuald Texier-Marcadé
http://www.allo-media.fr

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

text2num v1.1.0 released Romuald Texier-Marcadé <r.texiermarcade@allo-media.fr> - 2018-10-15 11:18 +0200

csiph-web