1. In memory management, chunking refers to strategies for improving performance by aggregating related memory-allocation requests. 2. In HTTP message transmission, it refers to a facility that allows inconveniently large messages to be broken into conveniently-sized smaller "chunks." 3. In parallel computing, it refers to the amount of data to assign to each task.
Questions tagged [chunking]
369 questions
-1
votes
1 answer
Python NLTK and Regexp
I am trying to tokenize text, use the POS tagger and then chunk its output using a customized "pattern"(see below). These are my install import repositories and then the pos tagged output.
from nltk.chunk import *
from nltk.chunk.util import *
from…

OAK
- 2,994
- 9
- 36
- 49
-1
votes
1 answer
jquery array into organized (by original array index) chunks
Okay, so this is the idea.
1.I got an array with 12 numbers (a=[1,2,3,4,5,6,7,8,9,10,11,12]
2.I want to split it into 4 chunks so i did this...
a=[1,2,3,4,5,6,7,8,9,10,11,12];
var b = [];
while(a.length) {
b.push(a.splice(0,3));
}
This gave me…

Marco Ramirez Castro
- 316
- 2
- 5
- 23
-1
votes
2 answers
How to effeciently read chunk of bytes of a given range from a large encrypted file in java?
I have a large encrypted file(10GB+) in server. I need to transfer the decrypted file to the client in small chunks. When a client make a request for a chunk of bytes (say 18 to 45) I have to random access the file, read the specific bytes, decrypt…

Burhan Uddin
- 729
- 2
- 7
- 20
-1
votes
1 answer
Concurrent chunking not working in fineuploader
I have been struggling since last 4 days to get concurrent chunking in fine uploader. But it is not working.
It is dividing the images to parts but the files are not sending to back end file.
While uploading larger files it is showing the error as…

user3747205
- 7
- 1
-1
votes
1 answer
Java PrintWriter behavior as socket
I made a server in which the sending of the data itself is made like this:
PrintWriter writer = new PrintWriter(new OutputStreamWriter(clientSocket.getOutputStream(), "UTF-8"));
writer.write(json);
writer.close();
How can i know if the server has…

CodeMonkey
- 11,196
- 30
- 112
- 203
-2
votes
1 answer
How to read a big file(bigger than 1 billion) with Chunk
I have a dataset bigger than 1 billion rows and I would like to read it by 100k rows. First I have tried to read it with nrows as below:
df = pd.read_csv("filename.csv",nrows=100000,sep='|')
But it throws an UnicodeDecodeError as…

berkayln
- 935
- 1
- 8
- 14
-2
votes
1 answer
What determines how "at most size bytes are read and returned" with Python read()?
In the documentation for Python's input/output, it states under Reading and Writing Files:
https://docs.python.org/3.5/tutorial/inputoutput.html#methods-of-file-objects
"When size is omitted or negative, the entire contents of the file will be read…

ShanZhengYang
- 16,511
- 49
- 132
- 234
-3
votes
1 answer
java code to split text file into chunks based on chunk size
i need to split the given text file into equally sized chunks and store them into an array. The input is a set of many text files in same folder. Im using the following code for this:
int inc = 0;
File dir = new File("C:\\Folder");
File[] files…

Mano Prathibhan C
- 488
- 1
- 11
- 38
-5
votes
2 answers