Skip to main content

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


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

File hashes

Hashes for mail_tracking_number_voice_recognition_post_processing-0.0.0.1.tar.gz
Algorithm Hash digest
SHA256 d534322286f16d551c258aeb51e5a4650341ef0d857550cc4844b66acb8f0f60
MD5 4420d14acdb8103f9e8707076318a784
BLAKE2b-256 20fcf1336d87ce0669662d4a96ad280436ddb34efa824225bd255ec76cfa667b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page