search for: excerpt_len

Displaying 1 result from an estimated 1 matches for "excerpt_len".

2007 Jul 30
0
Ferret crashing ruby while highlighting
...fset; if (e_start > e_end) { running_score = 0.0; e_end = e_start; } while (e_end < mv->size && (matches[e_end].end_offset <= start_offset + excerpt_len)) { running_score += matches[e_end].score; e_end++; } pq_push(excerpt_pq, excerpt_new(e_start, e_end - 1, running_score)); /* - 0.1 so that earlier matches take priority */...