On Wed, Mar 28, 2007 at 07:30:36PM +0100, Alex Fenton wrote:
> Hi
> 
> I'm considering using Ferret in v2 of Weft QDA, a wxruby desktop 
> application for textual analysis in social science.
> 
> Ferret seems a very impressive package that meets and exceeds my 
> requirements, but I can't find how to retrieve specific details about 
> the results.
> 
> I'd like to be able to run fairly simple queries. I then need to look at 
> each term match, and get its document id and the character (not byte) 
> position at which it occurs in the source document.
> 
> My semi-illiterate reading of search.c suggests this is available, but 
> looking at the SearchHits returned by a SpanTermQuery, they don't seem 
> to contain the methods I'm looking for.

Without fully understanding what you want to achieve, I guess
TermVectors are what you're looking for. I'm not sure if they're working
on characters or bytes, though.

Jens


-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to