From 23911ce6b0ef905ae3343c1a8fb47aa2cf1aed32 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Sun, 16 Aug 2009 18:51:27 +0530 Subject: Adding hyphenation web based examples and patterns --- hyphenation/web/patterns/pa.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hyphenation/web/patterns/pa.js (limited to 'hyphenation/web/patterns/pa.js') diff --git a/hyphenation/web/patterns/pa.js b/hyphenation/web/patterns/pa.js new file mode 100644 index 0000000..6c8161d --- /dev/null +++ b/hyphenation/web/patterns/pa.js @@ -0,0 +1,12 @@ +// For questions about the Panjabi hyphenation patterns +// ask Santhosh Thottingal (santhosh dot thottingal at gmail dot com) +Hyphenator.languages.pa = { + leftmin : 2, + rightmin : 2, + shortestPattern : 1, + longestPattern : 1, + specialChars : unescape('ਆਅਇਈਉਊਏਐਔਕਗਖਘਙਚਛਜਝਞਟਠਡਢਣਤਥਦਧਨਪਫਬਭਮਯਰਲਵਸ਼ਸਹਲ਼ਿੀਾੁੂੇਾੋੈੌ੍ਃ%u0A02%u200D'), + patterns : { + 2 : unescape('ਅ1ਆ1ਇ1ਈ1ਉ1ਊ1ਏ1ਐ1ਔ1ਿ1ਾ1ੀ1ੁ1ੂ1ੇ1ੋ1ੌ1੍2ਃ1%u0A0211ਕ1ਗ1ਖ1ਘ1ਙ1ਚ1ਛ1ਜ1ਝ1ਞ1ਟ1ਠ1ਡ1ਢ1ਣ1ਤ1ਥ1ਦ1ਧ1ਨ1ਪ1ਫ1ਬ1ਭ1ਮ1ਯ1ਰ1ਲ1ਵ1ਸ਼1ਸ1ਹ1ਲ਼') + } +}; -- cgit