コード例 #1
0
def sentence_rhyme_score(sentence_1,sentence_2):
    """using yat choi's modules, returns the rhyming score for the last words of 2 sentences"""
    return RhymeMaker.get_rhyme_score(sentence_1.split()[-1],sentence_2.split()[-1])
コード例 #2
0
def sentence_rhyme_score(sentence_1, sentence_2):
    """returns how well the last word of the sentence rhymes"""
    return RhymeMaker.get_rhyme_score(sentence_1.split()[-1], sentence_2.split()[-1])
コード例 #3
0
def sentence_rhyme_score(sentence_1, sentence_2):
    """returns how well the last word of the sentence rhymes"""
    return RhymeMaker.get_rhyme_score(sentence_1.split()[-1],
                                      sentence_2.split()[-1])
コード例 #4
0
def sentence_rhyme_score(sentence_1, sentence_2):
    """using yat choi's modules, returns the rhyming score for the last words of 2 sentences"""
    return RhymeMaker.get_rhyme_score(sentence_1.split()[-1],
                                      sentence_2.split()[-1])