r"""
    Heuristically changes a word to its plural form if `num` is not 1

    Args:
        wordtext (str): word in singular form
        num (int): a length of an associated list if applicable (default = 2)
        plural_suffix (str): heurstic plural form (default = 's')

    Returns:
        str: pluralized form. Can handle some genitive cases

    CommandLine:
        python -m utool.util_str pluralize

    Example:
        >>> # ENABLE_DOCTEST
        >>> from utool.util_str import *  # NOQA
        >>> wordtext = 'foo'
        >>> result = pluralize(wordtext)
        >>> print(result)
        foos

def pluralize(wordtext, num=2, plural_suffix='s'):
    r"""
    Heuristically changes a word to its plural form if `num` is not 1

    Args:
        wordtext (str): word in singular form
        num (int): a length of an associated list if applicable (default = 2)
        plural_suffix (str): heurstic plural form (default = 's')

    Returns:
        str: pluralized form. Can handle some genitive cases

    CommandLine:
        python -m utool.util_str pluralize

    Example:
        >>> # ENABLE_DOCTEST
        >>> from utool.util_str import *  # NOQA
        >>> wordtext = 'foo'
        >>> result = pluralize(wordtext)
        >>> print(result)
        foos
    """
    if num == 1:
        return wordtext
    else:
        if wordtext.endswith('\'s'):
            return wordtext[:-2] + 's\''
        else:
            return wordtext + plural_suffix
    return (wordtext + plural_suffix) if num != 1 else wordtext