classify static method

Future<ChunkType> classify(
  1. String text
)

Classify a text chunk by type (e.g., definition, list, code).

Uses rule-based pattern matching to determine the likely content type.

Implementation

static Future<chunker.ChunkType> classify(String text) async =>
    chunker.classifyChunk(text: text);