{
"info": {
"author": "Antoine Amarilli",
"author_email": "a3nm@a3nm.net",
"bugtrack_url": null,
"classifiers": [
"Programming Language :: Python :: 3"
],
"description": "frhyme -- a toolkit to guess the last phonemes of a French word\nRepository URL: https://gitlab.com/a3nm/frhyme\nPython package name: frhyme\n\n== 0. Author and license ==\n\nfrhyme is copyright (C) 2011-2019 by Antoine Amarilli\n\nfrhyme is free software, distributed under an MIT license: see the\nfile LICENSE for details of the licensing terms that apply to frhyme.\n\nMany thanks to Julien Romero who maintains the PyPI package for\nfrhyme.\n\nThe file \"frhyme.json\" in the directory \"frhyme\" is a derivative work of\nthe French lexical database Lexique , version\n3.83, by Boris New and Christophe\nPallier . Hence, this file is under the same\nlicense as Lexique, namely, the license CC BY SA 4.0 (according to the\nfile README-Lexique.txt in the downloadable archive of Lexique). The\nlicense in LICENSE does *not* apply to this file \"frhyme/frhyme.json\".\n\n== 1. Features ==\n\nfrhyme is a tool to guess what the last phonemes of a French word are.\nIt is trained on a list of words with associated pronunciation, and will\ninfer a few likely possibilities for unseen words using known words with\nthe longest common prefix, using a trie for internal representation.\n\n== 2. Installation ==\n\nYou need a working Python3 environment to run frhyme.\n\nYou can install frhyme directly with pip by doing:\n\n pip3 install frhyme\n\nYou can also manually clone the project repository and use frhyme\ndirectly from there.\n\n== 3. Usage ==\n\nYou can either run\n\n frhyme.py [NBEST]\n\ngiving one word per line in stdin and getting the NBEST top\npronunciations on stdout (default is 5), or you can import frhyme in a\nPython program and call frhyme.lookup(word, NBEST) which returns the\nNBEST top pronunciations (default is 5).\n\nThe pronunciations returned are annotated with a confidence score (the\nnumber of occurrences in the training data). They should be sensible up\nto the longest prefix of the input word that occurs in the training\ndata, but they may be prefixed by garbage.\n\nThe pronunciations are given in a variant of X-SAMPA which ensures that\neach phoneme is mapped to exactly one ASCII character: the substitutions\nare \"A~\" => \"#\", \"O~\" => \"$\", \"E~\" => \")\", \"9~\" => \"(\".\n\n== 4. Training ==\n\nThis section explains how the file \"frhyme.json\" can be prepared. You do\nnot need to do this to use frhyme, but it can be useful if you want to\ncreate a pronunciation database from a different source.\n\nThe provided \"fryhme.json\" file was trained on a custom variant of the\ndatabase Lexique , with some additions. You can\nregenerate it as follows:\n\n git clone 'https://a3nm.net/git/lexique'\n cd scripts\n ./make.sh 4 <(cut -f 1,2 ../lexique/lexique_my_format | uniq) additions > ../frhyme/frhyme.json\n\nThe value \"4\" indicates the number of trailing phonemes to keep, and can\nbe changed. Beware, this process can take up several hundred megabytes\nof RAM. The resulting file should be accurate on the French words of\nLexique.\n\n\n\n",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://gitlab.com/a3nm/frhyme",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "frhyme",
"package_url": "https://pypi.org/project/frhyme/",
"platform": "",
"project_url": "https://pypi.org/project/frhyme/",
"project_urls": {
"Homepage": "https://gitlab.com/a3nm/frhyme"
},
"release_url": "https://pypi.org/project/frhyme/0.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Guess the last phonemes of a French word",
"version": "0.3"
},
"last_serial": 5692238,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "2642e1c539c2e631e1c1254fe17ac8c7",
"sha256": "919c9e17dfc0c26b0466103e8106b890b872da4deb92aae71611b8d9bd9e70f9"
},
"downloads": -1,
"filename": "frhyme-0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2642e1c539c2e631e1c1254fe17ac8c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 309517,
"upload_time": "2019-08-15T16:03:35",
"url": "https://files.pythonhosted.org/packages/38/a8/220aa60d9abfd5abc6f3e09da8bb8fabf363521cd75f1dc31ed048e3c7b6/frhyme-0.1-py3-none-any.whl"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "c6e3aaf7fa0728d2b474e568921aba35",
"sha256": "7e462351b25a9bf2fc0b3ce7fc7390a2676a45282dfd93a317c50cfe5b74bd4f"
},
"downloads": -1,
"filename": "frhyme-0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c6e3aaf7fa0728d2b474e568921aba35",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 309562,
"upload_time": "2019-08-15T16:31:57",
"url": "https://files.pythonhosted.org/packages/5b/89/d5029b214c619ec71591b3b12d23ee02da1d8f0e263aa9a9f2f527d2dcf8/frhyme-0.2-py3-none-any.whl"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "21ad56c6ac29315cabf11ecf4ec062aa",
"sha256": "a11571938fb743af25541269121dda78a0f0a2a521b9589e6e4926fe97c5c128"
},
"downloads": -1,
"filename": "frhyme-0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "21ad56c6ac29315cabf11ecf4ec062aa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 308929,
"upload_time": "2019-08-17T16:52:13",
"url": "https://files.pythonhosted.org/packages/a5/ff/85a73b2672fe8d40b870c92aa0908419c03025b27c4b30ee44eaf4218fdd/frhyme-0.3-py3-none-any.whl"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "21ad56c6ac29315cabf11ecf4ec062aa",
"sha256": "a11571938fb743af25541269121dda78a0f0a2a521b9589e6e4926fe97c5c128"
},
"downloads": -1,
"filename": "frhyme-0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "21ad56c6ac29315cabf11ecf4ec062aa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 308929,
"upload_time": "2019-08-17T16:52:13",
"url": "https://files.pythonhosted.org/packages/a5/ff/85a73b2672fe8d40b870c92aa0908419c03025b27c4b30ee44eaf4218fdd/frhyme-0.3-py3-none-any.whl"
}
]
}