<commit_before>from akara.services import service_dispatcher

@service_dispatcher("http://purl.org/spam", "eggs")
def vikings():
    """Sing the Viking song

    GET: [word=string] returns the song for that word
    POST: returns some other text
    """

@vikings.simple_method("GET", "text/plain")
def vikings_get(word):
    word = word[0]
    yield "%s, %s, %s, %s\n" % (word, word, word, word)
    yield "%s, %s, %s, %s\n" % (word, word, word, word)
    yield "%s-itty %s!\n" % (word, word)
<commit_msg>Using the correct name this time!<commit_after>from akara.services import method_dispatcher

@method_dispatcher("http://purl.org/spam", "vikings")
def vikings():
    """Sing the Viking song

    GET: [word=string] returns the song for that word
    POST: returns some other text
    """

@vikings.simple_method("GET", "text/plain")
def vikings_get(word):
    word = word[0]
    yield "%s, %s, %s, %s\n" % (word, word, word, word)
    yield "%s, %s, %s, %s\n" % (word, word, word, word)
    yield "%s-itty %s!\n" % (word, word)

{'fraction_non_alphanumeric': 0.17521781219748306, 'fraction_numerical': 0.001936108422071636, 'mean_word_length': 3.787037037037037, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5195594', 'n_tokens_mistral': 387, 'n_tokens_neox': 380, 'n_words': 113}