feyninc/chonkie

Que: How to get the start and end line number details for a chunk?

Ouverte

#326 ouverte le 9 oct. 2025

 (2 commentaires) (0 réaction) (1 personne assignée)Python (343 forks)auto 404
enhancementhelp wantedquestion

Métriques du dépôt

Stars
 (4 594 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Question When creating code chunks with CodeChunker, how do I get the line numbers for the start and end position of a chunk?

Additional Context I see that the chunk has the information of start_index and end_index, but that does not correspond to the line numbers. Please let me know if there is an indirect way of getting the line numbers.

TIA

Guide contributeur