mirror of
				https://github.com/Unstructured-IO/unstructured.git
				synced 2025-10-31 10:03:07 +00:00 
			
		
		
		
	 70cf141036
			
		
	
	
		70cf141036
		
			
		
	
	
	
	
		
			
			Chunking options for things like chunk-size are largely independent of chunking strategy. Further, validating the args and applying defaults based on call arguments is sophisticated to make its use easy for the caller. These details distract from what the chunker is actually doing and would need to be repeated for every chunking strategy if left where they are. Extract these settings and the rules governing chunking behavior based on options into its own immutable object that can be passed to any component that is subject to optional behavior (pretty much all of them).
		
			
				
	
	
		
			0 lines
		
	
	
		
			0 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			0 lines
		
	
	
		
			0 B
		
	
	
	
		
			Python
		
	
	
	
	
	
	The file is empty.