Tool to split data into content determined chunks
Tool to split data into content determined chunks
[!WARNING] running CDC on text may yield semantically incorrect chunks
Using xiacode/FastCDC-c
CLI is a text-splitter alternative.
[!TIP] although primarily intended for text chunking, the algorithm can be used on arbitrary data too. pass the
-rswitch to process raw data
[!NOTE] by default, the
ORIGIN_CDCfunction is used. other functions are available via switches
-R:ROLLING_2Bytes
-n:NORMALIZED_CDC
-N:NORMALIZED_2Bytes
Usage: fastcdc -r -i in -o out -
split text into content determined chunks
-i path : document to parse
-o path : text output (default=stdout)
- : use stdin for input
-r : raw data (default=no)
-f size : minimum size (default=2048)
-t size : maximum size (default=32768)