Lines Matching defs:chunks
85 public function addPageChunks($chunks)
87 foreach ($chunks as $chunk) {
124 $chunks = [];
126 $chunks[] = new Chunk(
135 return $chunks;
157 $chunks = [];
159 $chunks[] = new Chunk(
169 return $chunks;
179 $query = "SELECT cluster || ' ' || lang, COUNT(*) || ' chunks' as cnt
187 'chunks' => $items,
227 * Create new clusters based on random chunks
245 * Create new clusters based on random chunks for the given Language
267 // get a random selection of chunks
278 // get the number of all chunks, to calculate the number of clusters
318 * Assign the nearest cluster for all chunks that don't have one
324 if ($this->logger) $this->logger->info('Assigning clusters to chunks...');