[Zope-dev] Stop words/vocabulary

Arno Gross arno.gross@consotec.de
Fri, 9 Feb 2001 07:35:04 -0100


Hello Dieter,
I have now a german stop word list and would like to
apply it for my current ZCatalog 'NewsCatalog'. But how? 
Or should I copy my list to the source (no good idea)?
Thanks.

On Thu, 08 Feb 2001, Dieter Maurer wrote:
> Arno Gross writes:
>  > Can I apply stop words in a ZCatalog?
> You can:
> 
>   ZCatalog's "Lexicon"'s (--> SearchSupport.Lexicon.Lexicon)
>   have a method "set_stop_syn" to provide a mapping
>   for synonyms and stop word.
> 
>   I think, the source documentation is wrong:
> 
>     It says, the mapping would map words to a list of synonyms.
>     When I looked at the code in "SearchSupport/Splitter.c",
>     I had the impression that a map from a word
>     to a single replacement is expected.
>     A "None" replacement signifies a stop word,
>     other replacements can be used for stemming
>     or synomyms.
> 
>  > Are there stop words for german available?
>  > If not I would try to compose a stop word list for german
>  > and publish it.
> Good!
> 
> 
> 
> Dieter
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )