Beispiel #1
0
def select_plural_adj(adj, subject):
    """Select the proper version of an adjective."""

    # FIXME is this correct? or is it count-based?

    return Filters.select_plural_adj(adj, subject)
Beispiel #2
0
def select_plural_verb(verb, subject):
    """select the proper plural verb."""

    # FIXME is this a duplicate of select_pluralize???

    return Filters.select_plural_verb(verb, subject)
Beispiel #3
0
def select_conjunction(wordlist):
    """Join a list with commas and such."""

    return Filters.select_conjunction(wordlist)
Beispiel #4
0
def select_pluralize(verb, count):
    """Select the proper verb for a count."""

    return Filters.select_pluralize(verb, count)
Beispiel #5
0
def select_article(noun):
    """Select the proper article for a noun."""

    return Filters.select_article(noun)
Beispiel #6
0
def select_uppercase(word):
    """Switch the word to uppercase"""

    return Filters.select_uppercase(word)