pub fn extract_chunks(text: &str) -> ChunkExtractionExpand description
Extract chunks from text using shallow parsing
This function:
- Splits text into sentences
- Tags each word with its POS (noun, verb, adjective, etc.)
- Returns chunks that can be used for:
- Entity extraction (all nouns, not just YAKE top-N)
- Co-occurrence edge creation (words in same sentence)
Unlike YAKE, this doesn’t rank by frequency - ALL content words are extracted.