Phyme:python作词的押韵字典

时间:2024-06-13 16:21:45
【文件属性】:

文件名称:Phyme:python作词的押韵字典

文件大小:2.18MB

文件格式:ZIP

更新时间:2024-06-13 16:21:45

Python

百里香 Phyme是用于歌曲创作的Python押韵字典。 发音来自。 在可以找到有关押韵作曲的一些背景信息。 要安装Phyme,请使用pip install phyme 默认情况下,Phyme押韵基于最后一个重读音节或最后一个重读非重读音节的词。 传递num_sylls=x关键字arg将发现带有更多音节的押韵。 韵律支持6种韵律: from Phyme import Phyme ph = Phyme() # find perfect rhymes. DOG -> COG ph.get_perfect_rhymes(word, num_sylls=None) # find rhymes with the same vowels and consonants of the same type (fricative, plosive, etc) and voicing (voiced


【文件预览】:
Phyme-master
----MANIFEST.in(25B)
----cmudict()
--------cmudict-0.7b.phones.txt(382B)
--------cmudict-0.7b.symbols.txt(281B)
--------cmudict-0.7b.txt(3.54MB)
--------00README_FIRST.txt(2KB)
----Phyme()
--------rhymeUtils.py(5KB)
--------util.py(126B)
--------RhymeTrieNode.py(4KB)
--------songStats.py(1KB)
--------__init__.py(44B)
--------Phyme.py(8KB)
--------data()
--------IOUtil.py(1KB)
----upload_script.sh(247B)
----make_files.py(3KB)
----LICENSE(1KB)
----test()
--------songStats_test.py(877B)
--------Phyme_test.py(2KB)
--------RhymeTrie_test.py(758B)
--------rhymeUtils_test.py(2KB)
----setup.py(621B)
----README.md(2KB)
----.gitignore(1KB)

网友评论