From 438ab55974e0527ecfeef27da61f7fecd28095b0 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Tue, 16 Jun 2020 22:49:46 +0200 Subject: [PATCH] add Icelandish dictionary --- dict-dists-extractor/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/dict-dists-extractor/Makefile b/dict-dists-extractor/Makefile index 49184a9..f826be9 100644 --- a/dict-dists-extractor/Makefile +++ b/dict-dists-extractor/Makefile @@ -2,8 +2,8 @@ ROOT_DICT = ../public/dict -LANGS = bg br ca cy da de el en eo es et fi fr ga hr hy it nl no pl pt sv uk -# to add: ar cs he hu is lv ro ru sk sl +LANGS = bg br ca cy da de el en eo es et fi fr ga hr hy is it nl no pl pt sv uk +# to add: ar cs he hu lv ro ru sk sl # cs: bug # hu: too big #LANGS = af ar bg br ca cs cy da de el en eo es et eu fi fr ga he hr hu hy is it la lv ms nl no pl pt ro ru sk sl sv tr uk xk @@ -325,6 +325,15 @@ $(ROOT_DICT)/it.dict: it.low $(DEPEND) sort | \ uniq > $@ +$(ROOT_DICT)/is.dict: is.low $(DEPEND) + echo Building $@ from $< + cat $< | \ + grep -v '^.$$' | \ + grep -v "[.'-]" | \ + tr '[a-záæðéíóöúýþ]' '[A-ZÁÆÐÉÍÓÖÚÝÞ]' | \ + sort | \ + uniq > $@ + $(ROOT_DICT)/nl.dict: nl.low $(DEPEND) echo Building $@ from $< cat $< | \ @@ -457,6 +466,9 @@ check-hu:$(ROOT_DICT)/hu.dict check-hy:$(ROOT_DICT)/hy.dict $(call CHECKER,$<,ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖՈՒև,~) +check-is:$(ROOT_DICT)/is.dict + $(call CHECKER,$<,ABCDEFGHIJKLMNOPQRSTUVWXYZÁÆÐÉÍÓÖÚÝÞ,~) + check-no:$(ROOT_DICT)/no.dict $(call CHECKER,$<,ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ,~) -- 2.30.2