跳到内容
🛠️ToolsShed

Rhyme Finder

使用内置词典查找与任何英文单词押韵的单词。

浏览押韵族

关于此工具

Rhyme Finder 帮助你找到与所输入单词押韵的英语单词,依托一部内置词典,涵盖数百个常见的词族。无论是词曲作者、诗人、说唱歌手、贺卡撰写者还是学生,都能借助它在不打断创作思路的情况下找到恰到好处的押韵词。

使用方法很简单:输入一个单词,浏览随即出现的押韵结果列表,再从中挑选适合自己句子的词。它非常适合创作歌词、润色诗歌、构思朗朗上口的标语,或帮助孩子在阅读和玩味语言时学习声音规律。

请注意,该工具专注于常见的英语押韵词族,并按照你输入的拼写精确匹配单词,因此使用通常的拼写方式能获得最佳结果。一切都在浏览器中运行,搜索快速且私密,无需注册。

常见问题

代码实现

# Simple rhyme finder using CMU Pronouncing Dictionary
# pip install pronouncing
import pronouncing

def find_rhymes(word: str) -> list[str]:
    """Find all words that rhyme with the given word."""
    rhymes = pronouncing.rhymes(word)
    return sorted(set(rhymes))

# Example usage
word = "light"
rhyming_words = find_rhymes(word)
print(f"Words that rhyme with '{word}':")
for w in rhyming_words[:20]:
    print(f"  {w}")

# Get phonetic representation
phones = pronouncing.phones_for_word(word)
print(f"\nPhonetic: {phones}")

# Find words with same ending sound
def find_by_suffix(phones_list: list[str], suffix: str) -> list[str]:
    """Find words with a specific phonetic ending."""
    results = []
    for phones in phones_list:
        stress = pronouncing.stresses(phones)
        if stress.endswith(suffix):
            results.append(phones)
    return results

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.