mirror of
https://github.com/apache/lucene.git
synced 2025-02-20 17:07:09 +00:00
remove now-unnecessary snowball mojibake hack (#13231)
This commit is contained in:
parent
11712a3364
commit
3553769463
@ -66,14 +66,6 @@ for file in ${WWWSRCDIR}/algorithms/*/stop.txt; do
|
||||
|
|
||||
| NOTE: To use this file with StopFilterFactory, you must specify format="snowball"
|
||||
EOF
|
||||
case "$language" in
|
||||
danish)
|
||||
# clear up some slight mojibake on the website. TODO: fix this file!
|
||||
cat $file | sed 's/Ã¥/å/g' | sed 's/æ/æ/g' >> ${WWWDSTDIR}/${language}_stop.txt
|
||||
;;
|
||||
*)
|
||||
# try to confirm its really UTF-8
|
||||
iconv -f UTF-8 -t UTF-8 $file >> ${WWWDSTDIR}/${language}_stop.txt
|
||||
;;
|
||||
esac
|
||||
# try to confirm its really UTF-8
|
||||
iconv -f UTF-8 -t UTF-8 $file >> ${WWWDSTDIR}/${language}_stop.txt
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user