Skip to main content

Finglish-to-Persian converter.

Project description

This library provides a Finglish-to-Persian convertor.

>>> from finglish import f2p
>>> f2p('man va to')
[('آسمان آبی', 1.0), ('عثمان آبی', 0.32267613972764947), ('آسمان ابی', 0.2849966510381782), ('عثمان ابی', 0.09196161919230733), ('اسمان آبی', 0.008288928359976317), ('اسمان ابی', 0.002362316823288629), ('آسمان عبی', 0.0006697923643670462), ('عثمان عبی', 0.0002161260145530137), ('اسمان عبی', 5.5518609242976e-06)]

(Your browser might be showing some garbled text due to the presence of Persian text. Try this in Python shell.)

The return value is a list of possibilities, each with a confidence value in the [0.0, 1.0] range.

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

finglish-1.0.1.tar.gz (2.3 MB view hashes)

Uploaded Source

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