(text, delimiters)
return list(filter(None, re.split('|'.join(delimiters), text)))
Splits string into words.

    Args:
        text: string to extract words from.
        delimiters: list of strings used as delimiters for splitting text
            into words.

    Returns:
        List of words.
Splits string into words.
Splits string into words .
def _shingles_from_text(text, delimiters):
    """Splits string into words.

    Args:
        text: string to extract words from.
        delimiters: list of strings used as delimiters for splitting text
            into words.

    Returns:
        List of words.
    """
    # TODO: Remove stopwords using the NLTK python package.
    # TODO: Remove configured patterns from string.
    return list(filter(None, re.split('|'.join(delimiters), text)))
def _shingles_from_text ( text , delimiters ) : # TODO: Remove stopwords using the NLTK python package. # TODO: Remove configured patterns from string. return list ( filter ( None , re . split ( '|' . join ( delimiters ) , text ) ) )