Strigi Analyzers
Jos van den Oever
jvdoever at gmail.com
Wed Mar 21 07:19:21 GMT 2007
2007/3/20, George Goldberg <grundleborg at googlemail.com>:
> I'm doing a bit of work on strigi analyzers and just wanted to check
> up on a few things. Firstly the new StreamLineAnalyzer type - is it
> functioning yet, or is it just the api thats been made for it? Also,
> I'm working on porting the KFile plugins for diffs and cpp files to
> StreamLineAnalyzers, but I don't know whether they should be
> implemented as part of strigi or as plugins. Finally, I'm thinking of
> writing PHP and Perl script file analyzers in a similar vein to the
> Cpp file one. Would this be worthwhile. Any answers much appreciated.
It would be worthwile to have those. As a general rule, analyzers are
small and if they have not any extra dependencies compared to Strigi,
it would be nice to have them in Strigi itself.
You can implement StreamLineAnalyzers already, but they wont work yet.
StreamEventAnalyzer should already work and StreamSaxAnalyzers will
almost work. I hope to finish the StreamLineAnalyzer implementation
tonight. The "paper work" of adding the new analyzer to the pipeline
is done, now the actual logic for handling and emitting lines has to
be done.
Funny implementation detail: StreamLineAnalyzers are handled by a
StreamEventAnalyzer (LineEventAnalyzer) which is handled by a
ThroughStreamAnalyzer (EventThroughAnalyzer). None of these is
exported though.
Cheers,
Jos
More information about the kde-core-devel
mailing list