/** * Document Chunker - ドキュメント分割 * * @requirement REQ-RAG-003 * @design DES-KATASHIRO-003-RAG §3.3 */ import type { Chunk, ChunkingConfig, Document } from '../types.js'; /** * ドキュメントをチャンクに分割するクラス */ export declare class DocumentChunker { private config; constructor(config?: ChunkingConfig); /** * ドキュメントをチャンクに分割 */ chunk(document: Document): Chunk[]; /** * 複数ドキュメントをチャンクに分割 */ chunkBatch(documents: Document[]): Chunk[]; /** * 固定サイズでチャンク分割 */ private chunkByFixed; /** * 文単位でチャンク分割 */ private chunkBySentence; /** * 段落単位でチャンク分割 */ private chunkByParagraph; /** * 文に分割 */ private splitBySentence; /** * オーバーラップテキストを取得 */ private getOverlapText; /** * チャンクを作成 */ private createChunk; } //# sourceMappingURL=DocumentChunker.d.ts.map