Library contains functionality for converting given CTC-trained Neural Networks output into tracking number (Russian Post or International mail) format
Project description
This package allows you to convert CTC-trained Neural Networks output into mail tracking number in International mail or Russian Post format
Format example for International mail: RO260964943RU
Format example for Russian Post: 1421171600738
Class TrackingNumberRecognizer
has method convert(matrix: np.array) -> list
, which takes 2d matrix and returns list of possible tracking numbers in decreasing order of probability
Matrix first dimension corresponds to the time moment. Second dimension corresponds to a letter, last index has to correspond to blank (see CTC). Russian letters supported only.
Value is the probability of pronunciation letter at the moment.
Format (International mail or Russian Post) is set in TrackingNumberRecognizer
constructor.
You can also set the letters order, the probability of your model making mistake, and the prior probabilities for letters in case of International mail format
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mail_tracking_number_voice_recognition_post_processing-0.0.0.1.tar.gz
.
File metadata
- Download URL: mail_tracking_number_voice_recognition_post_processing-0.0.0.1.tar.gz
- Upload date:
- Size: 134.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.1.post20191125 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d534322286f16d551c258aeb51e5a4650341ef0d857550cc4844b66acb8f0f60 |
|
MD5 | 4420d14acdb8103f9e8707076318a784 |
|
BLAKE2b-256 | 20fcf1336d87ce0669662d4a96ad280436ddb34efa824225bd255ec76cfa667b |