One option is to follow the same pattern as the parse-* plugins.
Within ParserFactory's getParse() method, there is a conditional
statement that chooses which parse implementation to use based on the
contentType or suffix of the resource fetched.

You could do the same in NutchAnalyzer factory, except you pass in the
language code as determined by the LanguageIdentifier.  You'd have to
create a new extension point, and I think you'd have to create a
plugin for each language analyzer you implement.  Each plugin would be
assigned a languageCode attribute, i.e. your FrenchAnalyzer plugin
would have a languageCode of "fr".

On 6/14/05, J�r�me Charron <[EMAIL PROTECTED]> wrote:
> > There was a interesting sentence what is necessary to became a
> > commiter on the old home page.
> 
> Excuse me Stefan, but what do you mean?
> 
> > Anyway no problem,
> > best thing you can do is to read code and the old sourceforge mail
> > archive.
> > An article can be found here:
> > http://www.media-style.com/index.jsp?folderPK=422&action=&;
> 
> Ok, thanks Stefan. I will read all that attentively.
> But could you please answer to these quick and simple questions:
> * Is there a way to specifiy an ordering of plugins calls (it is needed in
> order to perform analyzis after language identification) ?
> Jerome
> 
> --
> http://motrech.free.fr/
> http://frutch.free.fr/
> 
>


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to