1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
From: Robert Luberda <robert@debian.org>
Date: Tue, 22 Mar 2011 15:26:53 +0100
Subject: UTF8 characters
Add declatations of UTF-8 characters into polish.aff. This should make it
possible to check Polish UTF-8 documents with a `ispell -T utf8' command.
---
polish.aff | 67 ++++++++++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 52 insertions(+), 15 deletions(-)
diff --git a/polish.aff b/polish.aff
index 6485efa..28c3104 100644
--- a/polish.aff
+++ b/polish.aff
@@ -122,27 +122,64 @@ allaffixes on
nroffchars ().\\*
texchars ()\[]{}<\>\\$*.%
-defstringtype "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT"
+defstringtype "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT" ".txt"
boundarychars "-"
boundarychars "'"
boundarychars "."
wordchars [a-z] [A-Z]
-wordchars
-wordchars
-wordchars
-wordchars
-wordchars
-wordchars
-wordchars
-wordchars
-wordchars
+stringchar
+stringchar
+stringchar
+stringchar
+stringchar
+stringchar
+stringchar
+stringchar
+stringchar
# uywane w sowach zapoyczonych
-wordchars # citron
-wordchars # cru lub expos
-wordchars # malstrm
-wordchars # koda
-wordchars # msli
+stringchar # citron
+stringchar # cru lub expos
+stringchar # malstrm
+stringchar # koda
+stringchar # msli
+
+
+#
+# UTF-8
+#
+altstringtype "utf8" "TeX" ".txt"
+
+
+altstringchar \xC4\x85
+altstringchar \xC4\x84
+altstringchar \xC4\x87
+altstringchar \xC4\x86
+altstringchar \xC4\x99
+altstringchar \xC4\x98
+altstringchar \xC5\x82
+altstringchar \xC5\x81
+altstringchar \xC5\x84
+altstringchar \xC5\x83
+altstringchar \xC3\xB3
+altstringchar \xC3\x93
+altstringchar \xC5\x9B
+altstringchar \xC5\x9A
+altstringchar \xC5\xBA
+altstringchar \xC5\xB9
+altstringchar \xC5\xBC
+altstringchar \xC5\xBB
+# zapoyczone
+altstringchar \xC5\xA1
+altstringchar \xC5\xA0
+altstringchar \xC3\xA9
+altstringchar \xC3\x89
+altstringchar \xC3\xAB
+altstringchar \xC3\x8B
+altstringchar \xC3\xB6
+altstringchar \xC3\x96
+altstringchar \xC3\xBC
+altstringchar \xC3\x9C
#
#zestaw flag b d e f g h i j k l m n o p q r s t u v w x y z
|