def mock_extract_keywords(
    text_chunk: str, max_keywords: Optional[int] = None, filter_stopwords: bool = True
) -> Set[str]:
    """
    Extract keywords (mock).

    Same as simple_extract_keywords but without filtering stopwords.

    """
    return simple_extract_keywords(
        text_chunk, max_keywords=max_keywords, filter_stopwords=False
    )

    Extract keywords (mock).

    Same as simple_extract_keywords but without filtering stopwords.

    
llama-index-core/tests/mock_utils/mock_utils.py