prospector/processing/nlp.py
def extract_products(text: str) -> List[str]:
    """
    Extract product names from advisory text
    """
    # TODO implement this properly
    regex = r"([A-Z]+[a-z\b]+)"
    result = list(set(re.findall(regex, text)))
    return [p for p in result if len(p) > 2]

    Extract product names from advisory text
    
Extract product names from advisory text
Extract product names from advisory text
def extract_products(text: str) -> List[str]:
    regex = r"([A-Z]+[a-z\b]+)"
    result = list(set(re.findall(regex, text)))
    return [p for p in result if len(p) > 2]
def extract_products ( text : str ) -> List [ str ] : regex = r"([A-Z]+[a-z\b]+)" result = list ( set ( re . findall ( regex , text ) ) ) return [ p for p in result if len ( p ) > 2 ]
Extract product names from advisory text
Extract product names from advisory text
"""
    Extract product names from advisory text
    """ # TODO implement this properly
text
str