[Koha-patches] [PATCH] Add new words to consider as "non word", and ignore NSE/NSB chars

Nahuel ANGELINETTI nahuel at biblibre.com
Fri Dec 19 13:03:22 CET 2008


A typo was in this patch, i'll resend it.

Le Fri, 19 Dec 2008 12:56:21 +0100,
Nahuel ANGELINETTI <nahuel.angelinetti at biblibre.com> a écrit :

> ---
>  etc/zebradb/etc/word-phrase-utf.chr |   31
> +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0
> deletions(-)
> 
> diff --git a/etc/zebradb/etc/word-phrase-utf.chr
> b/etc/zebradb/etc/word-phrase-utf.chr index a6fc582..62d6d32 100644
> --- a/etc/zebradb/etc/word-phrase-utf.chr
> +++ b/etc/zebradb/etc/word-phrase-utf.chr
> @@ -248,3 +248,34 @@ map Ḵ			k
>  # Y  
>  map ý			y
>  map Ý			y
> +
> +# mapping blank string
> +map (^impr)         @
> +map (^impr\.)       @
> +map (^Impr)         @
> +map (^Impr\.)       @
> +map (^IMPR)         @
> +map (^IMPR\.)       @
> +map (^DL)           @
> +map (^DL\.)         @
> +map (^Dl)           @
> +map (^Dl\.)         @
> +map (^dl)           @
> +map (^dl\.)         @
> +map (^cop)          @
> +map (^cop\.)        @
> +map (^Cop)          @
> +map (^Cop\.)        @
> +map (^COP)          @
> +map (^COP\.)        @
> +map (^c)            @
> +map (^c\.)          @
> +map (^C)            @
> +map (^C\.)          @
> +map (^\[sd\])       @
> +map (^\[s\.d\.\])   @
> +map (^\[Sd\])       @
> +map (^\[S\.d\.\])   @
> +map (^\[SD\])       @
> +map (^\[S\.D\.\])   @
> +map (\x88.*\x89))   @
> \ No newline at end of file



More information about the Koha-patches mailing list