diff --git a/src/dep/snowball/MANIFEST b/src/dep/snowball/MANIFEST new file mode 100644 index 0000000000..93f65728af --- /dev/null +++ b/src/dep/snowball/MANIFEST @@ -0,0 +1,100 @@ +README +src_c/stem_ISO_8859_1_basque.c +src_c/stem_ISO_8859_1_basque.h +src_c/stem_ISO_8859_1_catalan.c +src_c/stem_ISO_8859_1_catalan.h +src_c/stem_ISO_8859_1_danish.c +src_c/stem_ISO_8859_1_danish.h +src_c/stem_ISO_8859_1_dutch.c +src_c/stem_ISO_8859_1_dutch.h +src_c/stem_ISO_8859_1_english.c +src_c/stem_ISO_8859_1_english.h +src_c/stem_ISO_8859_1_finnish.c +src_c/stem_ISO_8859_1_finnish.h +src_c/stem_ISO_8859_1_french.c +src_c/stem_ISO_8859_1_french.h +src_c/stem_ISO_8859_1_german.c +src_c/stem_ISO_8859_1_german.h +src_c/stem_ISO_8859_1_indonesian.c +src_c/stem_ISO_8859_1_indonesian.h +src_c/stem_ISO_8859_1_irish.c +src_c/stem_ISO_8859_1_irish.h +src_c/stem_ISO_8859_1_italian.c +src_c/stem_ISO_8859_1_italian.h +src_c/stem_ISO_8859_1_norwegian.c +src_c/stem_ISO_8859_1_norwegian.h +src_c/stem_ISO_8859_1_porter.c +src_c/stem_ISO_8859_1_porter.h +src_c/stem_ISO_8859_1_portuguese.c +src_c/stem_ISO_8859_1_portuguese.h +src_c/stem_ISO_8859_1_spanish.c +src_c/stem_ISO_8859_1_spanish.h +src_c/stem_ISO_8859_1_swedish.c +src_c/stem_ISO_8859_1_swedish.h +src_c/stem_ISO_8859_2_hungarian.c +src_c/stem_ISO_8859_2_hungarian.h +src_c/stem_ISO_8859_2_romanian.c +src_c/stem_ISO_8859_2_romanian.h +src_c/stem_KOI8_R_russian.c +src_c/stem_KOI8_R_russian.h +src_c/stem_UTF_8_arabic.c +src_c/stem_UTF_8_arabic.h +src_c/stem_UTF_8_basque.c +src_c/stem_UTF_8_basque.h +src_c/stem_UTF_8_catalan.c +src_c/stem_UTF_8_catalan.h +src_c/stem_UTF_8_danish.c +src_c/stem_UTF_8_danish.h +src_c/stem_UTF_8_dutch.c +src_c/stem_UTF_8_dutch.h +src_c/stem_UTF_8_english.c +src_c/stem_UTF_8_english.h +src_c/stem_UTF_8_finnish.c +src_c/stem_UTF_8_finnish.h +src_c/stem_UTF_8_french.c +src_c/stem_UTF_8_french.h +src_c/stem_UTF_8_german.c +src_c/stem_UTF_8_german.h +src_c/stem_UTF_8_greek.c +src_c/stem_UTF_8_greek.h +src_c/stem_UTF_8_hindi.c +src_c/stem_UTF_8_hindi.h +src_c/stem_UTF_8_hungarian.c +src_c/stem_UTF_8_hungarian.h +src_c/stem_UTF_8_indonesian.c +src_c/stem_UTF_8_indonesian.h +src_c/stem_UTF_8_irish.c +src_c/stem_UTF_8_irish.h +src_c/stem_UTF_8_italian.c +src_c/stem_UTF_8_italian.h +src_c/stem_UTF_8_lithuanian.c +src_c/stem_UTF_8_lithuanian.h +src_c/stem_UTF_8_nepali.c +src_c/stem_UTF_8_nepali.h +src_c/stem_UTF_8_norwegian.c +src_c/stem_UTF_8_norwegian.h +src_c/stem_UTF_8_porter.c +src_c/stem_UTF_8_porter.h +src_c/stem_UTF_8_portuguese.c +src_c/stem_UTF_8_portuguese.h +src_c/stem_UTF_8_romanian.c +src_c/stem_UTF_8_romanian.h +src_c/stem_UTF_8_russian.c +src_c/stem_UTF_8_russian.h +src_c/stem_UTF_8_spanish.c +src_c/stem_UTF_8_spanish.h +src_c/stem_UTF_8_swedish.c +src_c/stem_UTF_8_swedish.h +src_c/stem_UTF_8_tamil.c +src_c/stem_UTF_8_tamil.h +src_c/stem_UTF_8_turkish.c +src_c/stem_UTF_8_turkish.h +runtime/api.c +runtime/api.h +runtime/header.h +runtime/utilities.c +libstemmer/libstemmer.c +libstemmer/libstemmer_utf8.c +libstemmer/modules.h +libstemmer/modules_utf8.h +include/libstemmer.h diff --git a/src/dep/snowball/Makefile b/src/dep/snowball/Makefile index a35ed22022..59dce1e86a 100644 --- a/src/dep/snowball/Makefile +++ b/src/dep/snowball/Makefile @@ -1,9 +1,10 @@ include mkinc.mak -CFLAGS+=-Iinclude +CFLAGS=-O2 +CPPFLAGS=-Iinclude all: libstemmer.o stemwords libstemmer.o: $(snowball_sources:.c=.o) $(AR) -cru $@ $^ stemwords: examples/stemwords.o libstemmer.o - $(CC) -o $@ $^ + $(CC) $(CFLAGS) -o $@ $^ clean: - rm -f stemwords *.o src_c/*.o runtime/*.o libstemmer/*.o + rm -f stemwords *.o src_c/*.o examples/*.o runtime/*.o libstemmer/*.o diff --git a/src/dep/snowball/NEWS b/src/dep/snowball/NEWS new file mode 100644 index 0000000000..2b69b5db61 --- /dev/null +++ b/src/dep/snowball/NEWS @@ -0,0 +1,407 @@ +Snowball 2.0.0 (2019-10-02) +=========================== + +C/C++ +----- + +* Fully handle 4-byte UTF-8 sequences. Previously `hop` and `next` handled + sequences of any length, but commands which look at the character value only + handled sequences up to length 3. Fixes #89. + +* Fix handling of a 3-byte UTF-8 sequence in a grouping in `backwardmode`. + +Java +---- + +* TestApp.java: + + - Always use UTF-8 for I/O. Patch from David Corbett (#80). + + - Allow reading input from stdin. + + - Remove rather pointless "stem n times" feature. + + - Only lower case ASCII to match stemwords.c. + + - Stem empty lines too to match stemwords.c. + +Code Quality Improvements +------------------------- + +* Fix various warnings from newer compilers. + +* Improve use of `const`. + +* Share common functions between compiler backends rather than having multiple + copies of the same code. + +* Assorted code clean-up. + +* Initialise line_labelled member of struct generator to 0. Previously we were + invoking undefined behaviour, though in practice it'll be zero initialised on + most platforms. + +New Code Generators +------------------- + +* Add Python generator (#24). Originally written by Yoshiki Shibukawa, with + additional updates by Dmitry Shachnev. + +* Add Javascript generator. Based on JSX generator (#26) written by Yoshiki + Shibukawa. + +* Add Rust generator from Jakob Demler (#51). + +* Add Go generator from Marty Schoch (#57). + +* Add C# generator. Based on patch from Cesar Souza (#16, #17). + +* Add Pascal generator. Based on Delphi backend from stemming.zip file on old + website (#75). + +New Language Features +--------------------- + +* Add `len` and `lenof` to measure Unicode length. These are similar to `size` + and `sizeof` (respectively), but `size` and `sizeof` return the length in + bytes under `-utf8`, whereas these new commands give the same result whether + using `-utf8`, `-widechars` or neither (but under `-utf8` they are O(n) in + the length of the string). For compatibility with existing code which might + use these as variable or function names, they stop being treated as tokens if + declared to be a variable or function. + +* New `{U+1234}` stringdef notation for Unicode codepoints. + +* More versatile integer tests. Now you can compare any two arithmetic + expressions with a relational operator in parentheses after the `$`, so for + example `$(len > 3)` can now be used when previously a temporary variable was + required: `$tmp = len $tmp > 3` + +Code generation improvements +---------------------------- + +* General: + + + Avoid unnecessarily saving and restoring of the cursor for more commands - + `atlimit`, `do`, `set` and `unset` all leave the cursor alone or always + restore its value, and for C `booltest` (which other languages already + handled). + + + Special case handling for `setlimit tomark AE`. All uses of setlimit in + the current stemmers we ship follow this pattern, and by special-casing we + can avoid having to save and restore the cursor (#74). + + + Merge duplicate actions in the same `among`. This reduces the size of the + switch/if-chain in the generated code which dispatch the among for many of + the stemmers. + + + Generate simpler code for `among`. We always check for a zero return value + when we call the among, so there's no point also checking for that in the + switch/if-chain. We can also avoid the switch/if-chain entirely when + there's only one possible outcome (besides the zero return). + + + Optimise code generated for `do `. This speeds up "make + check_python" by about 2%, and should speed up other interpreted languages + too (#110). + + + Generate more and better comments referencing snowball source. + + + Add homepage URL and compiler version as comments in generated files. + +* C/C++: + + + Fix `size` and `sizeof` to not report one too high (reported by Assem + Chelli in #32). + + + If signal `f` from a function call would lead to return from the current + function then handle this and bailing out on an error together with a + simple `if (ret <= 0) return ret;` + + + Inline testing for a single character literals. + + + Avoiding generating `|| 0` in corner case - this can result in a compiler + warning when building the generated code. + + + Implement `insert_v()` in terms of `insert_s()`. + + + Add conditional `extern "C"` so `runtime/api.h` can be included from C++ + code. Closes #90, reported by vvarma. + +* Java: + + + Fix functions in `among` to work in Java. We seem to need to make the + methods called from among `public` instead of `private`, and to call them + on `this` instead of the `methodObject` (which is cleaner anyway). No + revision in version control seems to generate working code for this case, + but Richard says it definitely used to work - possibly older JVMs failed to + correctly enforce the access controls when methods were invoked by + reflection. + + + Code after handling `f` by returning from the current function is + unreachable too. + + + Previously we incorrectly decided that code after an `or` was + unreachable in certain cases. None of the current stemmers in the + distribution triggered this, but Martin Porter's snowball version + of the Schinke Latin stemmer does. Fixes #58, reported by Alexander + Myltsev. + + + The reachability logic was failing to consider reachability from + the final command in an `or`. Fixes #82, reported by David Corbett. + + + Fix `maxint` and `minint`. Patch from David Corbett in #31. + + + Fix `$` on strings. The previous generated code was just wrong. This + doesn't affect any of the included algorithms, but for example breaks + Martin Porter's snowball implementation of Schinke's Latin Stemmer. + Issue noted by Jakob Demler while working on the Rust backend in #51, + and reported in the Schinke's Latin Stemmer by Alexander Myltsev + in #58. + + + Make SnowballProgram objects serializable. Patch from Oleg Smirnov in #43. + + + Eliminate range-check implementation for groupings. This was removed from + the C generator 10 years earlier, isn't used for any of the existing + algorithms, and it doesn't seem likely it would be - the grouping would + have to consist entirely of a contiguous block of Unicode code-points. + + + Simplify code generated for `repeat` and `atleast`. + + + Eliminate unused return values and variables from runtime functions. + + + Only import the `among` and `SnowballProgram` classes if they're actually + used. + + + Only generate `copy_from()` method if it's used. + + + Merge runtime functions `eq_s` and `eq_v` functions. + + + Java arrays know their own length so stop storing it separately. + + + Escape char 127 (DEL) in generated Java code. It's unlikely that this + character would actually be used in a real stemmer, so this was more of a + theoretical bug. + + + Drop unused import of InvocationTargetException from SnowballStemmer. + Reported by GerritDeMeulder in #72. + + + Fix lint check issues in generated Java code. The stemmer classes are only + referenced in the example app via reflection, so add + @SuppressWarnings("unused") for them. The stemmer classes override + equals() and hashCode() methods from the standard java Object class, so + mark these with @Override. Both suggested by GerritDeMeulder in #72. + + + Declare Java variables at point of use in generated code. Putting all + declarations at the top of the function was adding unnecessary complexity + to the Java generator code for no benefit. + + + Improve formatting of generated code. + +New stemming algorithms +----------------------- + +* Add Tamil stemmer from Damodharan Rajalingam (#2, #3). + +* Add Arabic stemmer from Assem Chelli (#32, #50). + +* Add Irish stemmer Jim O'Regan (#48). + +* Add Nepali stemmer from Arthur Zakirov (#70). + +* Add Indonesian stemmer from Olly Betts (#71). + +* Add Hindi stemmer from Olly Betts (#73). Thanks to David Corbett for review. + +* Add Lithuanian stemmer from Dainius Jocas (#22, #76). + +* Add Greek stemmer from Oleg Smirnov (#44). + +* Add Catalan and Basque stemmers from Israel Olalla (#104). + +Behavioural changes to existing algorithms +------------------------------------------ + +* Portuguese: + + + Replace incorrect Spanish suffixes by Portuguese suffixes (#1). + +* French: + + + The MSDOS CP850 version of the French algorithm was missing changes present + in the ISO8859-1 and Unicode versions. There's now a single version of + each algorithm which was based on the Unicode version. + + + Recognize French suffixes even when they begin with diaereses. Patch from + David Corbett in #78. + +* Russian: + + + We now normalise 'ё' to 'е' before stemming. The documentation has long + said "we assume ['ё'] is mapped into ['е']" but it's more convenient for + the stemmer to actually perform this normalisation. This change has no + effect if the caller is already normalising as we recommend. It's a change + in behaviour they aren't, but 'ё' occurs rarely (there are currently no + instances in our test vocabulary) and this improves behaviour when it does + occur. Patch from Eugene Mirotin (#65, #68). + +* Finish: + + + Adjust the Finnish algorithm not to mangle numbers. This change also + means it tends to leave foreign words along. Fixes #66. + +* Danish: + + + Adjust Danish algorithm not to mangle alphanumeric codes. In particular + alphanumeric codes ending in a double digit (e.g. 0x0e00, hal9000, + space1999) are no longer mangled. See #81. + +Optimisations to existing algorithms +------------------------------------ + +* Turkish: + + + Simplify uses of `test` in stemmer code. + + + Check for 'ad' or 'soyad' more efficiently, and without needing the + strlen variable. This speeds up "make check_utf8_turkish" by 11% + on x86 Linux. + +* Kraaij-Pohlmann: + + + Eliminate variable x `$p1 <= cursor` is simpler and a little more efficient + than `setmark x $x >= p1`. + +Code clarity improvements to existing algorithms +------------------------------------------------ + +* Turkish: + + + Use , for cedilla to match the conventions used in other stemmers. + +* Kraaij-Pohlmann: + + + Avoid cryptic `[among ( (])` ... `)` construct - instead use the same + `[substring] among (` ... `)` construct we do in other stemmers. + +Compiler +-------- + +* Support conventional --help and --version options. + +* Warn if -r or -ep used with backend other than C/C++. + +* Warn if encoding command line options are specified when generating code in a + language with a fixed encoding. + +* The default classname is now set based on the output filename, so `-n` is now + often no longer needed. Fixes #64. + +* Avoid potential one byte buffer over-read when parsing snowball code. + +* Avoid comparing with uninitialised array element during compilation. + +* Improve `-syntax` output for `setlimit L for C`. + +* Optimise away double negation so generators don't have to worry about + generating `--` (decrement operator in many languages). Fixes #52, reported + by David Corbett. + +* Improved compiler error and warning messages: + + - We now report FILE:LINE: before each diagnostic message. + + - Improve warnings for unused declarations/definitions. + + - Warn for variables which are used, but either never initialised + or never read. + + - Flag non-ASCII literal strings. This is an error for wide Unicode, but + only a warning for single-byte and UTF-8 which work so long as the source + encoding matches the encoding used in the generated stemmer code. + + - Improve error recovery after an undeclared `define`. We now sniff the + token after the identifier and if it is `as` we parse as a routine, + otherwise we parse as a grouping. Previously we always just assumed it was + a routine, which gave a confusing second error if it was a grouping. + + - Improve error recovery after an unexpected token in `among`. Previously + we acted as if the unexpected token closed the `among` (this probably + wasn't intended but just a missing `break;` in a switch statement). Now we + issue an error and try the next token. + +* Report error instead of silently truncating character values (e.g. `hex 123` + previously silently became byte 0x23 which is `#` rather than a + g-with-cedilla). + +* Enlarge the initial input buffer size to 8192 bytes and double each time we + hit the end. Snowball programs are typically a few KB in size (with the + current largest we ship being the Greek stemmer at 27KB) so the previous + approach of starting with a 10 byte input buffer and increasing its size by + 50% plus 40 bytes each time it filled was inefficient, needing up to 15 + reallocations to load greek.sbl. + +* Identify variables only used by one `routine`/`external`. This information + isn't yet used, but such variables which are also always written to before + being read can be emitted as local variables in most target languages. + +* We now allow multiple source files on command line, and allow them to be + after (or even interspersed) with options to better match modern Unix + conventions. Support for multiple source files allows specifying a single + byte character set mapping via a source file of `stringdef`. + +* Avoid infinite recursion in compiler when optimising a recursive snowball + function. Recursive functions aren't typical in snowball programs, but + the compiler shouldn't crash for any input, especially not a valid one. + We now simply limit on how deep the compiler will recurse and make the + pessimistic assumption in the unlikely event we hit this limit. + +Build system: + +* `make clean` in C libstemmer_c distribution now removes `examples/*.o`. + (#59) + +* Fix all the places which previously had to have a list of stemmers to work + dynamically or be generated, so now only modules.txt needs updating to add + a new stemmer. + +* Add check_java make target which runs tests for java. + +* Support gzipped test data (the uncompressed arabic test data is too big for + github). + +* GNUmakefile: Drop useless `-eprefix` and `-r` options from snowball + invocations for Java - these are only meaningful when generating C code. + +* Pass CFLAGS when linking which matches convention (e.g. automake does it) and + facilitates use of tools such as ASan. Fixes #84, reported by Thomas + Pointhuber. + +* Add CI builds with -std=c90 to check compiler and generated code are C90 + (#54) + +libstemmer stuff: + +* Split out CPPFLAGS from CFLAGS and use CFLAGS when linking stemwords. + +* Add -O2 to CFLAGS. + +* Make generated tables of encodings and modules const. + +* Fix clang static analyzer memory leak warning (in practice this code path + can never actually be taken). Patch from Patrick O. Perry (#56) + +documentation + +* Added copyright and licensing details (#10). + +* Document that libstemmer supports ISO_8859_2 encoding. Currently hungarian + and romanian are available in ISO_8859_2. + +* Remove documentation falsely claiming that libstemmer supports CP850 + encoding. + +* CONTRIBUTING.rst: Add guidance for contributing new stemming algorithms and + new language backends. + +* Overhaul libstemmer_python_README. Most notably, replace the benchmark data + which was very out of date. diff --git a/src/dep/snowball/README b/src/dep/snowball/README index c205c8b237..1cef900051 100644 --- a/src/dep/snowball/README +++ b/src/dep/snowball/README @@ -4,7 +4,7 @@ libstemmer_c This document pertains to the C version of the libstemmer distribution, available for download from: -http://snowballstem.org/dist/libstemmer_c.tgz +https://snowballstem.org/dist/libstemmer_c.tgz Compiling the library diff --git a/src/dep/snowball/examples/stemwords.c b/src/dep/snowball/examples/stemwords.c index 995bf40dca..33b89b96d0 100644 --- a/src/dep/snowball/examples/stemwords.c +++ b/src/dep/snowball/examples/stemwords.c @@ -19,64 +19,61 @@ stem_file(struct sb_stemmer * stemmer, FILE * f_in, FILE * f_out) int lim = INC; sb_symbol * b = (sb_symbol *) malloc(lim * sizeof(sb_symbol)); - while(1) { + while (1) { int ch = getc(f_in); if (ch == EOF) { free(b); return; } { int i = 0; - int inlen = 0; - while(1) { - if (ch == '\n' || ch == EOF) break; + int inlen = 0; + while (ch != '\n' && ch != EOF) { if (i == lim) { sb_symbol * newb; - newb = (sb_symbol *) - realloc(b, (lim + INC) * sizeof(sb_symbol)); - if (newb == 0) goto error; - b = newb; + newb = (sb_symbol *) + realloc(b, (lim + INC) * sizeof(sb_symbol)); + if (newb == 0) goto error; + b = newb; lim = lim + INC; } - /* Update count of utf-8 characters. */ - if (ch < 0x80 || ch > 0xBF) inlen += 1; + /* Update count of utf-8 characters. */ + if (ch < 0x80 || ch > 0xBF) inlen += 1; /* force lower case: */ - if (isupper(ch)) ch = tolower(ch); + ch = tolower(ch); b[i] = ch; - i++; + i++; ch = getc(f_in); } - { - const sb_symbol * stemmed = sb_stemmer_stem(stemmer, b, i); + { + const sb_symbol * stemmed = sb_stemmer_stem(stemmer, b, i); if (stemmed == NULL) { fprintf(stderr, "Out of memory"); exit(1); } - else - { - if (pretty == 1) { - fwrite(b, i, 1, f_out); - fputs(" -> ", f_out); - } else if (pretty == 2) { - fwrite(b, i, 1, f_out); - if (sb_stemmer_length(stemmer) > 0) { - int j; - if (inlen < 30) { - for (j = 30 - inlen; j > 0; j--) - fputs(" ", f_out); - } else { - fputs("\n", f_out); - for (j = 30; j > 0; j--) - fputs(" ", f_out); - } - } - } - - fputs((const char *)stemmed, f_out); - putc('\n', f_out); - } + + if (pretty == 1) { + fwrite(b, i, 1, f_out); + fputs(" -> ", f_out); + } else if (pretty == 2) { + fwrite(b, i, 1, f_out); + if (sb_stemmer_length(stemmer) > 0) { + int j; + if (inlen < 30) { + for (j = 30 - inlen; j > 0; j--) + fputs(" ", f_out); + } else { + fputs("\n", f_out); + for (j = 30; j > 0; j--) + fputs(" ", f_out); + } + } + } + + fputs((const char *)stemmed, f_out); + putc('\n', f_out); } } } @@ -92,99 +89,98 @@ static void usage(int n) { printf("usage: %s [-l ] [-i ] [-o ] [-c ] [-p[2]] [-h]\n" - "\n" - "The input file consists of a list of words to be stemmed, one per\n" - "line. Words should be in lower case, but (for English) A-Z letters\n" - "are mapped to their a-z equivalents anyway. If omitted, stdin is\n" - "used.\n" - "\n" - "If -c is given, the argument is the character encoding of the input\n" + "\n" + "The input file consists of a list of words to be stemmed, one per\n" + "line. Words should be in lower case, but (for English) A-Z letters\n" + "are mapped to their a-z equivalents anyway. If omitted, stdin is\n" + "used.\n" + "\n" + "If -c is given, the argument is the character encoding of the input\n" "and output files. If it is omitted, the UTF-8 encoding is used.\n" - "\n" - "If -p is given the output file consists of each word of the input\n" - "file followed by \"->\" followed by its stemmed equivalent.\n" - "If -p2 is given the output file is a two column layout containing\n" - "the input words in the first column and the stemmed equivalents in\n" - "the second column.\n" - "Otherwise, the output file consists of the stemmed words, one per\n" - "line.\n" - "\n" - "-h displays this help\n", - progname); + "\n" + "If -p is given the output file consists of each word of the input\n" + "file followed by \"->\" followed by its stemmed equivalent.\n" + "If -p2 is given the output file is a two column layout containing\n" + "the input words in the first column and the stemmed equivalents in\n" + "the second column.\n" + "Otherwise, the output file consists of the stemmed words, one per\n" + "line.\n" + "\n" + "-h displays this help\n", + progname); exit(n); } int main(int argc, char * argv[]) { - char * in = 0; - char * out = 0; + const char * in = 0; + const char * out = 0; FILE * f_in; FILE * f_out; struct sb_stemmer * stemmer; - char * language = "english"; - char * charenc = NULL; + const char * language = "english"; + const char * charenc = NULL; - char * s; int i = 1; pretty = 0; progname = argv[0]; - while(i < argc) { - s = argv[i++]; - if (s[0] == '-') { - if (strcmp(s, "-o") == 0) { - if (i >= argc) { - fprintf(stderr, "%s requires an argument\n", s); - exit(1); - } - out = argv[i++]; - } else if (strcmp(s, "-i") == 0) { - if (i >= argc) { - fprintf(stderr, "%s requires an argument\n", s); - exit(1); - } - in = argv[i++]; - } else if (strcmp(s, "-l") == 0) { - if (i >= argc) { - fprintf(stderr, "%s requires an argument\n", s); - exit(1); - } - language = argv[i++]; - } else if (strcmp(s, "-c") == 0) { - if (i >= argc) { - fprintf(stderr, "%s requires an argument\n", s); - exit(1); - } - charenc = argv[i++]; - } else if (strcmp(s, "-p2") == 0) { - pretty = 2; - } else if (strcmp(s, "-p") == 0) { - pretty = 1; - } else if (strcmp(s, "-h") == 0) { - usage(0); - } else { - fprintf(stderr, "option %s unknown\n", s); - usage(1); - } - } else { - fprintf(stderr, "unexpected parameter %s\n", s); - usage(1); - } + while (i < argc) { + const char * s = argv[i++]; + if (s[0] == '-') { + if (strcmp(s, "-o") == 0) { + if (i >= argc) { + fprintf(stderr, "%s requires an argument\n", s); + exit(1); + } + out = argv[i++]; + } else if (strcmp(s, "-i") == 0) { + if (i >= argc) { + fprintf(stderr, "%s requires an argument\n", s); + exit(1); + } + in = argv[i++]; + } else if (strcmp(s, "-l") == 0) { + if (i >= argc) { + fprintf(stderr, "%s requires an argument\n", s); + exit(1); + } + language = argv[i++]; + } else if (strcmp(s, "-c") == 0) { + if (i >= argc) { + fprintf(stderr, "%s requires an argument\n", s); + exit(1); + } + charenc = argv[i++]; + } else if (strcmp(s, "-p2") == 0) { + pretty = 2; + } else if (strcmp(s, "-p") == 0) { + pretty = 1; + } else if (strcmp(s, "-h") == 0) { + usage(0); + } else { + fprintf(stderr, "option %s unknown\n", s); + usage(1); + } + } else { + fprintf(stderr, "unexpected parameter %s\n", s); + usage(1); + } } /* prepare the files */ f_in = (in == 0) ? stdin : fopen(in, "r"); if (f_in == 0) { - fprintf(stderr, "file %s not found\n", in); - exit(1); + fprintf(stderr, "file %s not found\n", in); + exit(1); } f_out = (out == 0) ? stdout : fopen(out, "w"); if (f_out == 0) { - fprintf(stderr, "file %s cannot be opened\n", out); - exit(1); + fprintf(stderr, "file %s cannot be opened\n", out); + exit(1); } /* do the stemming process: */ @@ -206,4 +202,3 @@ main(int argc, char * argv[]) return 0; } - diff --git a/src/dep/snowball/include/libstemmer.h b/src/dep/snowball/include/libstemmer.h index 9d86b8581c..98051e1083 100644 --- a/src/dep/snowball/include/libstemmer.h +++ b/src/dep/snowball/include/libstemmer.h @@ -32,9 +32,9 @@ const char ** sb_stemmer_list(void); * * @param charenc The character encoding. NULL may be passed as * this value, in which case UTF-8 encoding will be assumed. Otherwise, - * the argument may be one of "UTF_8", "ISO_8859_1" (ie, Latin 1), - * "CP850" (ie, MS-DOS Latin 1) or "KOI8_R" (Russian). Note that - * case is significant in this parameter. + * the argument may be one of "UTF_8", "ISO_8859_1" (i.e. Latin 1), + * "ISO_8859_2" (i.e. Latin 2) or "KOI8_R" (Russian). Note that case is + * significant in this parameter. * * @return NULL if the specified algorithm is not recognised, or the * algorithm is not available for the requested encoding. Otherwise, @@ -66,7 +66,7 @@ void sb_stemmer_delete(struct sb_stemmer * stemmer); * If an out-of-memory error occurs, this will return NULL. */ const sb_symbol * sb_stemmer_stem(struct sb_stemmer * stemmer, - const sb_symbol * word, int size); + const sb_symbol * word, int size); /** Get the length of the result of the last stemmed word. * This should not be called before sb_stemmer_stem() has been called. @@ -76,4 +76,3 @@ int sb_stemmer_length(struct sb_stemmer * stemmer); #ifdef __cplusplus } #endif - diff --git a/src/dep/snowball/libstemmer/libstemmer.c b/src/dep/snowball/libstemmer/libstemmer.c index a2e7702ee4..2c02436203 100644 --- a/src/dep/snowball/libstemmer/libstemmer.c +++ b/src/dep/snowball/libstemmer/libstemmer.c @@ -7,76 +7,91 @@ #include "rmalloc.h" struct sb_stemmer { - struct SN_env *(*create)(void); - void (*close)(struct SN_env *); - int (*stem)(struct SN_env *); + struct SN_env * (*create)(void); + void (*close)(struct SN_env *); + int (*stem)(struct SN_env *); - struct SN_env *env; + struct SN_env * env; }; -extern const char **sb_stemmer_list(void) { - return algorithm_names; +extern const char ** +sb_stemmer_list(void) +{ + return algorithm_names; } -static stemmer_encoding_t sb_getenc(const char *charenc) { - struct stemmer_encoding *encoding; - if (charenc == NULL) return ENC_UTF_8; - for (encoding = encodings; encoding->name != 0; encoding++) { - if (strcmp(encoding->name, charenc) == 0) break; - } - if (encoding->name == NULL) return ENC_UNKNOWN; - return encoding->enc; +static stemmer_encoding_t +sb_getenc(const char * charenc) +{ + const struct stemmer_encoding * encoding; + if (charenc == NULL) return ENC_UTF_8; + for (encoding = encodings; encoding->name != 0; encoding++) { + if (strcmp(encoding->name, charenc) == 0) break; + } + if (encoding->name == NULL) return ENC_UNKNOWN; + return encoding->enc; } -extern struct sb_stemmer *sb_stemmer_new(const char *algorithm, const char *charenc) { - stemmer_encoding_t enc; - struct stemmer_modules *module; - struct sb_stemmer *stemmer; +extern struct sb_stemmer * +sb_stemmer_new(const char * algorithm, const char * charenc) +{ + stemmer_encoding_t enc; + const struct stemmer_modules * module; + struct sb_stemmer * stemmer; - enc = sb_getenc(charenc); - if (enc == ENC_UNKNOWN) return NULL; + enc = sb_getenc(charenc); + if (enc == ENC_UNKNOWN) return NULL; - for (module = modules; module->name != 0; module++) { - if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; - } - if (module->name == NULL) return NULL; + for (module = modules; module->name != 0; module++) { + if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; + } + if (module->name == NULL) return NULL; + + stemmer = (struct sb_stemmer *) rm_malloc(sizeof(struct sb_stemmer)); + if (stemmer == NULL) return NULL; - stemmer = (struct sb_stemmer *)rm_malloc(sizeof(struct sb_stemmer)); - if (stemmer == NULL) return NULL; + stemmer->create = module->create; + stemmer->close = module->close; + stemmer->stem = module->stem; - stemmer->create = module->create; - stemmer->close = module->close; - stemmer->stem = module->stem; + stemmer->env = stemmer->create(); + if (stemmer->env == NULL) + { + sb_stemmer_delete(stemmer); + return NULL; + } - stemmer->env = stemmer->create(); - if (stemmer->env == NULL) { - sb_stemmer_delete(stemmer); - return NULL; - } - - return stemmer; + return stemmer; } -void sb_stemmer_delete(struct sb_stemmer *stemmer) { - if (stemmer == 0) return; - if (stemmer->close == 0) return; - stemmer->close(stemmer->env); - stemmer->close = 0; - rm_free(stemmer); +void +sb_stemmer_delete(struct sb_stemmer * stemmer) +{ + if (stemmer == 0) return; + if (stemmer->close) { + stemmer->close(stemmer->env); + stemmer->close = 0; + } + rm_free(stemmer); } -const sb_symbol *sb_stemmer_stem(struct sb_stemmer *stemmer, const sb_symbol *word, int size) { - int ret; - if (SN_set_current(stemmer->env, size, (const symbol *)(word))) { - stemmer->env->l = 0; - return NULL; - } - ret = stemmer->stem(stemmer->env); - if (ret < 0) return NULL; - stemmer->env->p[stemmer->env->l] = 0; - return (const sb_symbol *)(stemmer->env->p); +const sb_symbol * +sb_stemmer_stem(struct sb_stemmer * stemmer, const sb_symbol * word, int size) +{ + int ret; + if (SN_set_current(stemmer->env, size, (const symbol *)(word))) + { + stemmer->env->l = 0; + return NULL; + } + ret = stemmer->stem(stemmer->env); + if (ret < 0) return NULL; + stemmer->env->p[stemmer->env->l] = 0; + return (const sb_symbol *)(stemmer->env->p); } -int sb_stemmer_length(struct sb_stemmer *stemmer) { - return stemmer->env->l; +int +sb_stemmer_length(struct sb_stemmer * stemmer) +{ + return stemmer->env->l; } diff --git a/src/dep/snowball/libstemmer/libstemmer_c.in b/src/dep/snowball/libstemmer/libstemmer_c.in index 4de5798749..d9e93ca269 100644 --- a/src/dep/snowball/libstemmer/libstemmer_c.in +++ b/src/dep/snowball/libstemmer/libstemmer_c.in @@ -4,6 +4,7 @@ #include "../include/libstemmer.h" #include "../runtime/api.h" #include "@MODULES_H@" +#include "rmalloc.h" struct sb_stemmer { struct SN_env * (*create)(void); @@ -22,10 +23,10 @@ sb_stemmer_list(void) static stemmer_encoding_t sb_getenc(const char * charenc) { - struct stemmer_encoding * encoding; + const struct stemmer_encoding * encoding; if (charenc == NULL) return ENC_UTF_8; for (encoding = encodings; encoding->name != 0; encoding++) { - if (strcmp(encoding->name, charenc) == 0) break; + if (strcmp(encoding->name, charenc) == 0) break; } if (encoding->name == NULL) return ENC_UNKNOWN; return encoding->enc; @@ -35,18 +36,18 @@ extern struct sb_stemmer * sb_stemmer_new(const char * algorithm, const char * charenc) { stemmer_encoding_t enc; - struct stemmer_modules * module; + const struct stemmer_modules * module; struct sb_stemmer * stemmer; enc = sb_getenc(charenc); if (enc == ENC_UNKNOWN) return NULL; for (module = modules; module->name != 0; module++) { - if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; + if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; } if (module->name == NULL) return NULL; - stemmer = (struct sb_stemmer *) malloc(sizeof(struct sb_stemmer)); + stemmer = (struct sb_stemmer *) rm_malloc(sizeof(struct sb_stemmer)); if (stemmer == NULL) return NULL; stemmer->create = module->create; @@ -67,10 +68,11 @@ void sb_stemmer_delete(struct sb_stemmer * stemmer) { if (stemmer == 0) return; - if (stemmer->close == 0) return; - stemmer->close(stemmer->env); - stemmer->close = 0; - free(stemmer); + if (stemmer->close) { + stemmer->close(stemmer->env); + stemmer->close = 0; + } + rm_free(stemmer); } const sb_symbol * diff --git a/src/dep/snowball/libstemmer/libstemmer_utf8.c b/src/dep/snowball/libstemmer/libstemmer_utf8.c index 7b7d7de2da..764fd5f629 100644 --- a/src/dep/snowball/libstemmer/libstemmer_utf8.c +++ b/src/dep/snowball/libstemmer/libstemmer_utf8.c @@ -4,78 +4,94 @@ #include "../include/libstemmer.h" #include "../runtime/api.h" #include "modules_utf8.h" +#include "rmalloc.h" struct sb_stemmer { - struct SN_env *(*create)(void); - void (*close)(struct SN_env *); - int (*stem)(struct SN_env *); + struct SN_env * (*create)(void); + void (*close)(struct SN_env *); + int (*stem)(struct SN_env *); - struct SN_env *env; + struct SN_env * env; }; -extern const char **sb_stemmer_list(void) { - return algorithm_names; +extern const char ** +sb_stemmer_list(void) +{ + return algorithm_names; } -static stemmer_encoding_t sb_getenc(const char *charenc) { - struct stemmer_encoding *encoding; - if (charenc == NULL) return ENC_UTF_8; - for (encoding = encodings; encoding->name != 0; encoding++) { - if (strcmp(encoding->name, charenc) == 0) break; - } - if (encoding->name == NULL) return ENC_UNKNOWN; - return encoding->enc; +static stemmer_encoding_t +sb_getenc(const char * charenc) +{ + const struct stemmer_encoding * encoding; + if (charenc == NULL) return ENC_UTF_8; + for (encoding = encodings; encoding->name != 0; encoding++) { + if (strcmp(encoding->name, charenc) == 0) break; + } + if (encoding->name == NULL) return ENC_UNKNOWN; + return encoding->enc; } -extern struct sb_stemmer *sb_stemmer_new(const char *algorithm, const char *charenc) { - stemmer_encoding_t enc; - struct stemmer_modules *module; - struct sb_stemmer *stemmer; +extern struct sb_stemmer * +sb_stemmer_new(const char * algorithm, const char * charenc) +{ + stemmer_encoding_t enc; + const struct stemmer_modules * module; + struct sb_stemmer * stemmer; - enc = sb_getenc(charenc); - if (enc == ENC_UNKNOWN) return NULL; + enc = sb_getenc(charenc); + if (enc == ENC_UNKNOWN) return NULL; - for (module = modules; module->name != 0; module++) { - if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; - } - if (module->name == NULL) return NULL; + for (module = modules; module->name != 0; module++) { + if (strcmp(module->name, algorithm) == 0 && module->enc == enc) break; + } + if (module->name == NULL) return NULL; + + stemmer = (struct sb_stemmer *) rm_malloc(sizeof(struct sb_stemmer)); + if (stemmer == NULL) return NULL; - stemmer = (struct sb_stemmer *)rm_malloc(sizeof(struct sb_stemmer)); - if (stemmer == NULL) return NULL; + stemmer->create = module->create; + stemmer->close = module->close; + stemmer->stem = module->stem; - stemmer->create = module->create; - stemmer->close = module->close; - stemmer->stem = module->stem; + stemmer->env = stemmer->create(); + if (stemmer->env == NULL) + { + sb_stemmer_delete(stemmer); + return NULL; + } - stemmer->env = stemmer->create(); - if (stemmer->env == NULL) { - sb_stemmer_delete(stemmer); - return NULL; - } - - return stemmer; + return stemmer; } -void sb_stemmer_delete(struct sb_stemmer *stemmer) { - if (stemmer == 0) return; - if (stemmer->close == 0) return; - stemmer->close(stemmer->env); - stemmer->close = 0; - rm_free(stemmer); +void +sb_stemmer_delete(struct sb_stemmer * stemmer) +{ + if (stemmer == 0) return; + if (stemmer->close) { + stemmer->close(stemmer->env); + stemmer->close = 0; + } + rm_free(stemmer); } -const sb_symbol *sb_stemmer_stem(struct sb_stemmer *stemmer, const sb_symbol *word, int size) { - int ret; - if (SN_set_current(stemmer->env, size, (const symbol *)(word))) { - stemmer->env->l = 0; - return NULL; - } - ret = stemmer->stem(stemmer->env); - if (ret < 0) return NULL; - stemmer->env->p[stemmer->env->l] = 0; - return (const sb_symbol *)(stemmer->env->p); +const sb_symbol * +sb_stemmer_stem(struct sb_stemmer * stemmer, const sb_symbol * word, int size) +{ + int ret; + if (SN_set_current(stemmer->env, size, (const symbol *)(word))) + { + stemmer->env->l = 0; + return NULL; + } + ret = stemmer->stem(stemmer->env); + if (ret < 0) return NULL; + stemmer->env->p[stemmer->env->l] = 0; + return (const sb_symbol *)(stemmer->env->p); } -int sb_stemmer_length(struct sb_stemmer *stemmer) { - return stemmer->env->l; +int +sb_stemmer_length(struct sb_stemmer * stemmer) +{ + return stemmer->env->l; } diff --git a/src/dep/snowball/libstemmer/modules.h b/src/dep/snowball/libstemmer/modules.h index c79f585ac1..5e05983660 100644 --- a/src/dep/snowball/libstemmer/modules.h +++ b/src/dep/snowball/libstemmer/modules.h @@ -3,12 +3,17 @@ * This file is generated by mkmodules.pl from a list of module names. * Do not edit manually. * - * Modules included by this file are: arabic, danish, dutch, english, finnish, - * french, german, hungarian, italian, norwegian, porter, portuguese, + * Modules included by this file are: arabic, basque, catalan, danish, dutch, + * english, finnish, french, german, greek, hindi, hungarian, indonesian, + * irish, italian, lithuanian, nepali, norwegian, porter, portuguese, * romanian, russian, spanish, swedish, tamil, turkish */ #include "../src_c/stem_UTF_8_arabic.h" +#include "../src_c/stem_ISO_8859_1_basque.h" +#include "../src_c/stem_UTF_8_basque.h" +#include "../src_c/stem_ISO_8859_1_catalan.h" +#include "../src_c/stem_UTF_8_catalan.h" #include "../src_c/stem_ISO_8859_1_danish.h" #include "../src_c/stem_UTF_8_danish.h" #include "../src_c/stem_ISO_8859_1_dutch.h" @@ -21,11 +26,18 @@ #include "../src_c/stem_UTF_8_french.h" #include "../src_c/stem_ISO_8859_1_german.h" #include "../src_c/stem_UTF_8_german.h" +#include "../src_c/stem_UTF_8_greek.h" #include "../src_c/stem_UTF_8_hindi.h" #include "../src_c/stem_ISO_8859_2_hungarian.h" #include "../src_c/stem_UTF_8_hungarian.h" +#include "../src_c/stem_ISO_8859_1_indonesian.h" +#include "../src_c/stem_UTF_8_indonesian.h" +#include "../src_c/stem_ISO_8859_1_irish.h" +#include "../src_c/stem_UTF_8_irish.h" #include "../src_c/stem_ISO_8859_1_italian.h" #include "../src_c/stem_UTF_8_italian.h" +#include "../src_c/stem_UTF_8_lithuanian.h" +#include "../src_c/stem_UTF_8_nepali.h" #include "../src_c/stem_ISO_8859_1_norwegian.h" #include "../src_c/stem_UTF_8_norwegian.h" #include "../src_c/stem_ISO_8859_1_porter.h" @@ -55,7 +67,7 @@ struct stemmer_encoding { const char * name; stemmer_encoding_t enc; }; -static struct stemmer_encoding encodings[] = { +static const struct stemmer_encoding encodings[] = { {"ISO_8859_1", ENC_ISO_8859_1}, {"ISO_8859_2", ENC_ISO_8859_2}, {"KOI8_R", ENC_KOI8_R}, @@ -70,10 +82,20 @@ struct stemmer_modules { void (*close)(struct SN_env *); int (*stem)(struct SN_env *); }; -static struct stemmer_modules modules[] = { +static const struct stemmer_modules modules[] = { {"ar", ENC_UTF_8, arabic_UTF_8_create_env, arabic_UTF_8_close_env, arabic_UTF_8_stem}, {"ara", ENC_UTF_8, arabic_UTF_8_create_env, arabic_UTF_8_close_env, arabic_UTF_8_stem}, {"arabic", ENC_UTF_8, arabic_UTF_8_create_env, arabic_UTF_8_close_env, arabic_UTF_8_stem}, + {"baq", ENC_ISO_8859_1, basque_ISO_8859_1_create_env, basque_ISO_8859_1_close_env, basque_ISO_8859_1_stem}, + {"baq", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, + {"basque", ENC_ISO_8859_1, basque_ISO_8859_1_create_env, basque_ISO_8859_1_close_env, basque_ISO_8859_1_stem}, + {"basque", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, + {"ca", ENC_ISO_8859_1, catalan_ISO_8859_1_create_env, catalan_ISO_8859_1_close_env, catalan_ISO_8859_1_stem}, + {"ca", ENC_UTF_8, catalan_UTF_8_create_env, catalan_UTF_8_close_env, catalan_UTF_8_stem}, + {"cat", ENC_ISO_8859_1, catalan_ISO_8859_1_create_env, catalan_ISO_8859_1_close_env, catalan_ISO_8859_1_stem}, + {"cat", ENC_UTF_8, catalan_UTF_8_create_env, catalan_UTF_8_close_env, catalan_UTF_8_stem}, + {"catalan", ENC_ISO_8859_1, catalan_ISO_8859_1_create_env, catalan_ISO_8859_1_close_env, catalan_ISO_8859_1_stem}, + {"catalan", ENC_UTF_8, catalan_UTF_8_create_env, catalan_UTF_8_close_env, catalan_UTF_8_stem}, {"da", ENC_ISO_8859_1, danish_ISO_8859_1_create_env, danish_ISO_8859_1_close_env, danish_ISO_8859_1_stem}, {"da", ENC_UTF_8, danish_UTF_8_create_env, danish_UTF_8_close_env, danish_UTF_8_stem}, {"dan", ENC_ISO_8859_1, danish_ISO_8859_1_create_env, danish_ISO_8859_1_close_env, danish_ISO_8859_1_stem}, @@ -88,6 +110,8 @@ static struct stemmer_modules modules[] = { {"dut", ENC_UTF_8, dutch_UTF_8_create_env, dutch_UTF_8_close_env, dutch_UTF_8_stem}, {"dutch", ENC_ISO_8859_1, dutch_ISO_8859_1_create_env, dutch_ISO_8859_1_close_env, dutch_ISO_8859_1_stem}, {"dutch", ENC_UTF_8, dutch_UTF_8_create_env, dutch_UTF_8_close_env, dutch_UTF_8_stem}, + {"el", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, + {"ell", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, {"en", ENC_ISO_8859_1, english_ISO_8859_1_create_env, english_ISO_8859_1_close_env, english_ISO_8859_1_stem}, {"en", ENC_UTF_8, english_UTF_8_create_env, english_UTF_8_close_env, english_UTF_8_stem}, {"eng", ENC_ISO_8859_1, english_ISO_8859_1_create_env, english_ISO_8859_1_close_env, english_ISO_8859_1_stem}, @@ -98,6 +122,10 @@ static struct stemmer_modules modules[] = { {"es", ENC_UTF_8, spanish_UTF_8_create_env, spanish_UTF_8_close_env, spanish_UTF_8_stem}, {"esl", ENC_ISO_8859_1, spanish_ISO_8859_1_create_env, spanish_ISO_8859_1_close_env, spanish_ISO_8859_1_stem}, {"esl", ENC_UTF_8, spanish_UTF_8_create_env, spanish_UTF_8_close_env, spanish_UTF_8_stem}, + {"eu", ENC_ISO_8859_1, basque_ISO_8859_1_create_env, basque_ISO_8859_1_close_env, basque_ISO_8859_1_stem}, + {"eu", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, + {"eus", ENC_ISO_8859_1, basque_ISO_8859_1_create_env, basque_ISO_8859_1_close_env, basque_ISO_8859_1_stem}, + {"eus", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, {"fi", ENC_ISO_8859_1, finnish_ISO_8859_1_create_env, finnish_ISO_8859_1_close_env, finnish_ISO_8859_1_stem}, {"fi", ENC_UTF_8, finnish_UTF_8_create_env, finnish_UTF_8_close_env, finnish_UTF_8_stem}, {"fin", ENC_ISO_8859_1, finnish_ISO_8859_1_create_env, finnish_ISO_8859_1_close_env, finnish_ISO_8859_1_stem}, @@ -112,10 +140,16 @@ static struct stemmer_modules modules[] = { {"fre", ENC_UTF_8, french_UTF_8_create_env, french_UTF_8_close_env, french_UTF_8_stem}, {"french", ENC_ISO_8859_1, french_ISO_8859_1_create_env, french_ISO_8859_1_close_env, french_ISO_8859_1_stem}, {"french", ENC_UTF_8, french_UTF_8_create_env, french_UTF_8_close_env, french_UTF_8_stem}, + {"ga", ENC_ISO_8859_1, irish_ISO_8859_1_create_env, irish_ISO_8859_1_close_env, irish_ISO_8859_1_stem}, + {"ga", ENC_UTF_8, irish_UTF_8_create_env, irish_UTF_8_close_env, irish_UTF_8_stem}, {"ger", ENC_ISO_8859_1, german_ISO_8859_1_create_env, german_ISO_8859_1_close_env, german_ISO_8859_1_stem}, {"ger", ENC_UTF_8, german_UTF_8_create_env, german_UTF_8_close_env, german_UTF_8_stem}, {"german", ENC_ISO_8859_1, german_ISO_8859_1_create_env, german_ISO_8859_1_close_env, german_ISO_8859_1_stem}, {"german", ENC_UTF_8, german_UTF_8_create_env, german_UTF_8_close_env, german_UTF_8_stem}, + {"gle", ENC_ISO_8859_1, irish_ISO_8859_1_create_env, irish_ISO_8859_1_close_env, irish_ISO_8859_1_stem}, + {"gle", ENC_UTF_8, irish_UTF_8_create_env, irish_UTF_8_close_env, irish_UTF_8_stem}, + {"gre", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, + {"greek", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, {"hi", ENC_UTF_8, hindi_UTF_8_create_env, hindi_UTF_8_close_env, hindi_UTF_8_stem}, {"hin", ENC_UTF_8, hindi_UTF_8_create_env, hindi_UTF_8_close_env, hindi_UTF_8_stem}, {"hindi", ENC_UTF_8, hindi_UTF_8_create_env, hindi_UTF_8_close_env, hindi_UTF_8_stem}, @@ -125,12 +159,26 @@ static struct stemmer_modules modules[] = { {"hun", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem}, {"hungarian", ENC_ISO_8859_2, hungarian_ISO_8859_2_create_env, hungarian_ISO_8859_2_close_env, hungarian_ISO_8859_2_stem}, {"hungarian", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem}, + {"id", ENC_ISO_8859_1, indonesian_ISO_8859_1_create_env, indonesian_ISO_8859_1_close_env, indonesian_ISO_8859_1_stem}, + {"id", ENC_UTF_8, indonesian_UTF_8_create_env, indonesian_UTF_8_close_env, indonesian_UTF_8_stem}, + {"ind", ENC_ISO_8859_1, indonesian_ISO_8859_1_create_env, indonesian_ISO_8859_1_close_env, indonesian_ISO_8859_1_stem}, + {"ind", ENC_UTF_8, indonesian_UTF_8_create_env, indonesian_UTF_8_close_env, indonesian_UTF_8_stem}, + {"indonesian", ENC_ISO_8859_1, indonesian_ISO_8859_1_create_env, indonesian_ISO_8859_1_close_env, indonesian_ISO_8859_1_stem}, + {"indonesian", ENC_UTF_8, indonesian_UTF_8_create_env, indonesian_UTF_8_close_env, indonesian_UTF_8_stem}, + {"irish", ENC_ISO_8859_1, irish_ISO_8859_1_create_env, irish_ISO_8859_1_close_env, irish_ISO_8859_1_stem}, + {"irish", ENC_UTF_8, irish_UTF_8_create_env, irish_UTF_8_close_env, irish_UTF_8_stem}, {"it", ENC_ISO_8859_1, italian_ISO_8859_1_create_env, italian_ISO_8859_1_close_env, italian_ISO_8859_1_stem}, {"it", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem}, {"ita", ENC_ISO_8859_1, italian_ISO_8859_1_create_env, italian_ISO_8859_1_close_env, italian_ISO_8859_1_stem}, {"ita", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem}, {"italian", ENC_ISO_8859_1, italian_ISO_8859_1_create_env, italian_ISO_8859_1_close_env, italian_ISO_8859_1_stem}, {"italian", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem}, + {"lit", ENC_UTF_8, lithuanian_UTF_8_create_env, lithuanian_UTF_8_close_env, lithuanian_UTF_8_stem}, + {"lithuanian", ENC_UTF_8, lithuanian_UTF_8_create_env, lithuanian_UTF_8_close_env, lithuanian_UTF_8_stem}, + {"lt", ENC_UTF_8, lithuanian_UTF_8_create_env, lithuanian_UTF_8_close_env, lithuanian_UTF_8_stem}, + {"ne", ENC_UTF_8, nepali_UTF_8_create_env, nepali_UTF_8_close_env, nepali_UTF_8_stem}, + {"nep", ENC_UTF_8, nepali_UTF_8_create_env, nepali_UTF_8_close_env, nepali_UTF_8_stem}, + {"nepali", ENC_UTF_8, nepali_UTF_8_create_env, nepali_UTF_8_close_env, nepali_UTF_8_stem}, {"nl", ENC_ISO_8859_1, dutch_ISO_8859_1_create_env, dutch_ISO_8859_1_close_env, dutch_ISO_8859_1_stem}, {"nl", ENC_UTF_8, dutch_UTF_8_create_env, dutch_UTF_8_close_env, dutch_UTF_8_stem}, {"nld", ENC_ISO_8859_1, dutch_ISO_8859_1_create_env, dutch_ISO_8859_1_close_env, dutch_ISO_8859_1_stem}, @@ -183,15 +231,22 @@ static struct stemmer_modules modules[] = { }; static const char * algorithm_names[] = { "arabic", + "basque", + "catalan", "danish", "dutch", "english", "finnish", "french", "german", - "hindi", + "greek", + "hindi", "hungarian", + "indonesian", + "irish", "italian", + "lithuanian", + "nepali", "norwegian", "porter", "portuguese", diff --git a/src/dep/snowball/libstemmer/modules.txt b/src/dep/snowball/libstemmer/modules.txt index e7e5b27ce6..8b2c0bac50 100644 --- a/src/dep/snowball/libstemmer/modules.txt +++ b/src/dep/snowball/libstemmer/modules.txt @@ -10,15 +10,22 @@ # the most commonly used encoding. arabic UTF_8 arabic,ar,ara +basque UTF_8,ISO_8859_1 basque,eu,eus,baq +catalan UTF_8,ISO_8859_1 catalan,ca,cat danish UTF_8,ISO_8859_1 danish,da,dan dutch UTF_8,ISO_8859_1 dutch,nl,dut,nld english UTF_8,ISO_8859_1 english,en,eng finnish UTF_8,ISO_8859_1 finnish,fi,fin french UTF_8,ISO_8859_1 french,fr,fre,fra german UTF_8,ISO_8859_1 german,de,ger,deu +greek UTF_8 greek,el,gre,ell hindi UTF_8 hindi,hi,hin hungarian UTF_8,ISO_8859_2 hungarian,hu,hun +indonesian UTF_8,ISO_8859_1 indonesian,id,ind +irish UTF_8,ISO_8859_1 irish,ga,gle italian UTF_8,ISO_8859_1 italian,it,ita +lithuanian UTF_8 lithuanian,lt,lit +nepali UTF_8 nepali,ne,nep norwegian UTF_8,ISO_8859_1 norwegian,no,nor portuguese UTF_8,ISO_8859_1 portuguese,pt,por romanian UTF_8,ISO_8859_2 romanian,ro,rum,ron @@ -32,7 +39,7 @@ turkish UTF_8 turkish,tr,tur # The porter algorithm is included in the libstemmer distribution to assist # with backwards compatibility, but for new systems the english algorithm # should be used in preference. -porter UTF_8,ISO_8859_1 porter +porter UTF_8,ISO_8859_1 porter english # Some other stemmers in the snowball project are not included in the standard # distribution. To compile a libstemmer with them in, add them to this list, @@ -42,12 +49,12 @@ porter UTF_8,ISO_8859_1 porter # algorithms are: # # german2 - This is a slight modification of the german stemmer. -#german2 UTF_8,ISO_8859_1 german2 +#german2 UTF_8,ISO_8859_1 german2 german # # kraaij_pohlmann - This is a different dutch stemmer. -#kraaij_pohlmann UTF_8,ISO_8859_1 kraaij_pohlmann +#kraaij_pohlmann UTF_8,ISO_8859_1 kraaij_pohlmann dutch # # lovins - This is an english stemmer, but fairly outdated, and # only really applicable to a restricted type of input text # (keywords in academic publications). -#lovins UTF_8,ISO_8859_1 lovins +#lovins UTF_8,ISO_8859_1 lovins english diff --git a/src/dep/snowball/libstemmer/modules_utf8.h b/src/dep/snowball/libstemmer/modules_utf8.h index d6838144fd..0738cefe5a 100644 --- a/src/dep/snowball/libstemmer/modules_utf8.h +++ b/src/dep/snowball/libstemmer/modules_utf8.h @@ -3,21 +3,29 @@ * This file is generated by mkmodules.pl from a list of module names. * Do not edit manually. * - * Modules included by this file are: arabic, danish, dutch, english, finnish, - * french, german, hungarian, italian, norwegian, porter, portuguese, - * romanian, russian, spanish, swedish, tamil, turkish, hindi + * Modules included by this file are: arabic, basque, catalan, danish, dutch, + * english, finnish, french, german, greek, hindi, hungarian, indonesian, + * irish, italian, lithuanian, nepali, norwegian, porter, portuguese, + * romanian, russian, spanish, swedish, tamil, turkish */ #include "../src_c/stem_UTF_8_arabic.h" +#include "../src_c/stem_UTF_8_basque.h" +#include "../src_c/stem_UTF_8_catalan.h" #include "../src_c/stem_UTF_8_danish.h" #include "../src_c/stem_UTF_8_dutch.h" #include "../src_c/stem_UTF_8_english.h" #include "../src_c/stem_UTF_8_finnish.h" #include "../src_c/stem_UTF_8_french.h" #include "../src_c/stem_UTF_8_german.h" +#include "../src_c/stem_UTF_8_greek.h" #include "../src_c/stem_UTF_8_hindi.h" #include "../src_c/stem_UTF_8_hungarian.h" +#include "../src_c/stem_UTF_8_indonesian.h" +#include "../src_c/stem_UTF_8_irish.h" #include "../src_c/stem_UTF_8_italian.h" +#include "../src_c/stem_UTF_8_lithuanian.h" +#include "../src_c/stem_UTF_8_nepali.h" #include "../src_c/stem_UTF_8_norwegian.h" #include "../src_c/stem_UTF_8_porter.h" #include "../src_c/stem_UTF_8_portuguese.h" @@ -37,7 +45,7 @@ struct stemmer_encoding { const char * name; stemmer_encoding_t enc; }; -static struct stemmer_encoding encodings[] = { +static const struct stemmer_encoding encodings[] = { {"UTF_8", ENC_UTF_8}, {0,ENC_UNKNOWN} }; @@ -49,10 +57,15 @@ struct stemmer_modules { void (*close)(struct SN_env *); int (*stem)(struct SN_env *); }; -static struct stemmer_modules modules[] = { +static const struct stemmer_modules modules[] = { {"ar", ENC_UTF_8, arabic_UTF_8_create_env, arabic_UTF_8_close_env, arabic_UTF_8_stem}, {"ara", ENC_UTF_8, arabic_UTF_8_create_env, arabic_UTF_8_close_env, arabic_UTF_8_stem}, {"arabic", ENC_UTF_8, arabic_UTF_8_create_env, arabic_UTF_8_close_env, arabic_UTF_8_stem}, + {"baq", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, + {"basque", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, + {"ca", ENC_UTF_8, catalan_UTF_8_create_env, catalan_UTF_8_close_env, catalan_UTF_8_stem}, + {"cat", ENC_UTF_8, catalan_UTF_8_create_env, catalan_UTF_8_close_env, catalan_UTF_8_stem}, + {"catalan", ENC_UTF_8, catalan_UTF_8_create_env, catalan_UTF_8_close_env, catalan_UTF_8_stem}, {"da", ENC_UTF_8, danish_UTF_8_create_env, danish_UTF_8_close_env, danish_UTF_8_stem}, {"dan", ENC_UTF_8, danish_UTF_8_create_env, danish_UTF_8_close_env, danish_UTF_8_stem}, {"danish", ENC_UTF_8, danish_UTF_8_create_env, danish_UTF_8_close_env, danish_UTF_8_stem}, @@ -60,11 +73,15 @@ static struct stemmer_modules modules[] = { {"deu", ENC_UTF_8, german_UTF_8_create_env, german_UTF_8_close_env, german_UTF_8_stem}, {"dut", ENC_UTF_8, dutch_UTF_8_create_env, dutch_UTF_8_close_env, dutch_UTF_8_stem}, {"dutch", ENC_UTF_8, dutch_UTF_8_create_env, dutch_UTF_8_close_env, dutch_UTF_8_stem}, + {"el", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, + {"ell", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, {"en", ENC_UTF_8, english_UTF_8_create_env, english_UTF_8_close_env, english_UTF_8_stem}, {"eng", ENC_UTF_8, english_UTF_8_create_env, english_UTF_8_close_env, english_UTF_8_stem}, {"english", ENC_UTF_8, english_UTF_8_create_env, english_UTF_8_close_env, english_UTF_8_stem}, {"es", ENC_UTF_8, spanish_UTF_8_create_env, spanish_UTF_8_close_env, spanish_UTF_8_stem}, {"esl", ENC_UTF_8, spanish_UTF_8_create_env, spanish_UTF_8_close_env, spanish_UTF_8_stem}, + {"eu", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, + {"eus", ENC_UTF_8, basque_UTF_8_create_env, basque_UTF_8_close_env, basque_UTF_8_stem}, {"fi", ENC_UTF_8, finnish_UTF_8_create_env, finnish_UTF_8_close_env, finnish_UTF_8_stem}, {"fin", ENC_UTF_8, finnish_UTF_8_create_env, finnish_UTF_8_close_env, finnish_UTF_8_stem}, {"finnish", ENC_UTF_8, finnish_UTF_8_create_env, finnish_UTF_8_close_env, finnish_UTF_8_stem}, @@ -72,17 +89,31 @@ static struct stemmer_modules modules[] = { {"fra", ENC_UTF_8, french_UTF_8_create_env, french_UTF_8_close_env, french_UTF_8_stem}, {"fre", ENC_UTF_8, french_UTF_8_create_env, french_UTF_8_close_env, french_UTF_8_stem}, {"french", ENC_UTF_8, french_UTF_8_create_env, french_UTF_8_close_env, french_UTF_8_stem}, + {"ga", ENC_UTF_8, irish_UTF_8_create_env, irish_UTF_8_close_env, irish_UTF_8_stem}, {"ger", ENC_UTF_8, german_UTF_8_create_env, german_UTF_8_close_env, german_UTF_8_stem}, {"german", ENC_UTF_8, german_UTF_8_create_env, german_UTF_8_close_env, german_UTF_8_stem}, + {"gle", ENC_UTF_8, irish_UTF_8_create_env, irish_UTF_8_close_env, irish_UTF_8_stem}, + {"gre", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, + {"greek", ENC_UTF_8, greek_UTF_8_create_env, greek_UTF_8_close_env, greek_UTF_8_stem}, {"hi", ENC_UTF_8, hindi_UTF_8_create_env, hindi_UTF_8_close_env, hindi_UTF_8_stem}, {"hin", ENC_UTF_8, hindi_UTF_8_create_env, hindi_UTF_8_close_env, hindi_UTF_8_stem}, {"hindi", ENC_UTF_8, hindi_UTF_8_create_env, hindi_UTF_8_close_env, hindi_UTF_8_stem}, {"hu", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem}, {"hun", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem}, {"hungarian", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem}, + {"id", ENC_UTF_8, indonesian_UTF_8_create_env, indonesian_UTF_8_close_env, indonesian_UTF_8_stem}, + {"ind", ENC_UTF_8, indonesian_UTF_8_create_env, indonesian_UTF_8_close_env, indonesian_UTF_8_stem}, + {"indonesian", ENC_UTF_8, indonesian_UTF_8_create_env, indonesian_UTF_8_close_env, indonesian_UTF_8_stem}, + {"irish", ENC_UTF_8, irish_UTF_8_create_env, irish_UTF_8_close_env, irish_UTF_8_stem}, {"it", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem}, {"ita", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem}, {"italian", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem}, + {"lit", ENC_UTF_8, lithuanian_UTF_8_create_env, lithuanian_UTF_8_close_env, lithuanian_UTF_8_stem}, + {"lithuanian", ENC_UTF_8, lithuanian_UTF_8_create_env, lithuanian_UTF_8_close_env, lithuanian_UTF_8_stem}, + {"lt", ENC_UTF_8, lithuanian_UTF_8_create_env, lithuanian_UTF_8_close_env, lithuanian_UTF_8_stem}, + {"ne", ENC_UTF_8, nepali_UTF_8_create_env, nepali_UTF_8_close_env, nepali_UTF_8_stem}, + {"nep", ENC_UTF_8, nepali_UTF_8_create_env, nepali_UTF_8_close_env, nepali_UTF_8_stem}, + {"nepali", ENC_UTF_8, nepali_UTF_8_create_env, nepali_UTF_8_close_env, nepali_UTF_8_stem}, {"nl", ENC_UTF_8, dutch_UTF_8_create_env, dutch_UTF_8_close_env, dutch_UTF_8_stem}, {"nld", ENC_UTF_8, dutch_UTF_8_create_env, dutch_UTF_8_close_env, dutch_UTF_8_stem}, {"no", ENC_UTF_8, norwegian_UTF_8_create_env, norwegian_UTF_8_close_env, norwegian_UTF_8_stem}, @@ -114,15 +145,22 @@ static struct stemmer_modules modules[] = { }; static const char * algorithm_names[] = { "arabic", + "basque", + "catalan", "danish", "dutch", "english", "finnish", "french", "german", + "greek", "hindi", "hungarian", + "indonesian", + "irish", "italian", + "lithuanian", + "nepali", "norwegian", "porter", "portuguese", diff --git a/src/dep/snowball/mkinc.mak b/src/dep/snowball/mkinc.mak index 73c17ab2e7..e693b390af 100644 --- a/src/dep/snowball/mkinc.mak +++ b/src/dep/snowball/mkinc.mak @@ -3,12 +3,17 @@ # This file is generated by mkmodules.pl from a list of module names. # Do not edit manually. # -# Modules included by this file are: arabic, danish, dutch, english, finnish, -# french, german, hungarian, italian, norwegian, porter, portuguese, -# romanian, russian, spanish, swedish, tamil, turkish, hindi +# Modules included by this file are: arabic, basque, catalan, danish, dutch, +# english, finnish, french, german, greek, hindi, hungarian, indonesian, +# irish, italian, lithuanian, nepali, norwegian, porter, portuguese, +# romanian, russian, spanish, swedish, tamil, turkish snowball_sources= \ src_c/stem_UTF_8_arabic.c \ + src_c/stem_ISO_8859_1_basque.c \ + src_c/stem_UTF_8_basque.c \ + src_c/stem_ISO_8859_1_catalan.c \ + src_c/stem_UTF_8_catalan.c \ src_c/stem_ISO_8859_1_danish.c \ src_c/stem_UTF_8_danish.c \ src_c/stem_ISO_8859_1_dutch.c \ @@ -21,10 +26,18 @@ snowball_sources= \ src_c/stem_UTF_8_french.c \ src_c/stem_ISO_8859_1_german.c \ src_c/stem_UTF_8_german.c \ + src_c/stem_UTF_8_greek.c \ + src_c/stem_UTF_8_hindi.c \ src_c/stem_ISO_8859_2_hungarian.c \ src_c/stem_UTF_8_hungarian.c \ + src_c/stem_ISO_8859_1_indonesian.c \ + src_c/stem_UTF_8_indonesian.c \ + src_c/stem_ISO_8859_1_irish.c \ + src_c/stem_UTF_8_irish.c \ src_c/stem_ISO_8859_1_italian.c \ src_c/stem_UTF_8_italian.c \ + src_c/stem_UTF_8_lithuanian.c \ + src_c/stem_UTF_8_nepali.c \ src_c/stem_ISO_8859_1_norwegian.c \ src_c/stem_UTF_8_norwegian.c \ src_c/stem_ISO_8859_1_porter.c \ @@ -41,13 +54,16 @@ snowball_sources= \ src_c/stem_UTF_8_swedish.c \ src_c/stem_UTF_8_tamil.c \ src_c/stem_UTF_8_turkish.c \ - src_c/stem_UTF_8_hindi.c \ runtime/api.c \ runtime/utilities.c \ libstemmer/libstemmer.c snowball_headers= \ src_c/stem_UTF_8_arabic.h \ + src_c/stem_ISO_8859_1_basque.h \ + src_c/stem_UTF_8_basque.h \ + src_c/stem_ISO_8859_1_catalan.h \ + src_c/stem_UTF_8_catalan.h \ src_c/stem_ISO_8859_1_danish.h \ src_c/stem_UTF_8_danish.h \ src_c/stem_ISO_8859_1_dutch.h \ @@ -60,10 +76,18 @@ snowball_headers= \ src_c/stem_UTF_8_french.h \ src_c/stem_ISO_8859_1_german.h \ src_c/stem_UTF_8_german.h \ + src_c/stem_UTF_8_greek.h \ + src_c/stem_UTF_8_hindi.h \ src_c/stem_ISO_8859_2_hungarian.h \ src_c/stem_UTF_8_hungarian.h \ + src_c/stem_ISO_8859_1_indonesian.h \ + src_c/stem_UTF_8_indonesian.h \ + src_c/stem_ISO_8859_1_irish.h \ + src_c/stem_UTF_8_irish.h \ src_c/stem_ISO_8859_1_italian.h \ src_c/stem_UTF_8_italian.h \ + src_c/stem_UTF_8_lithuanian.h \ + src_c/stem_UTF_8_nepali.h \ src_c/stem_ISO_8859_1_norwegian.h \ src_c/stem_UTF_8_norwegian.h \ src_c/stem_ISO_8859_1_porter.h \ @@ -80,7 +104,6 @@ snowball_headers= \ src_c/stem_UTF_8_swedish.h \ src_c/stem_UTF_8_tamil.h \ src_c/stem_UTF_8_turkish.h \ - src_c/stem_UTF_8_hindi.h \ include/libstemmer.h \ libstemmer/modules.h \ runtime/api.h \ diff --git a/src/dep/snowball/mkinc_utf8.mak b/src/dep/snowball/mkinc_utf8.mak index 9f249d14f3..06bf0d10a5 100644 --- a/src/dep/snowball/mkinc_utf8.mak +++ b/src/dep/snowball/mkinc_utf8.mak @@ -3,21 +3,29 @@ # This file is generated by mkmodules.pl from a list of module names. # Do not edit manually. # -# Modules included by this file are: arabic, danish, dutch, english, finnish, -# french, german, hungarian, italian, norwegian, porter, portuguese, -# romanian, russian, spanish, swedish, tamil, turkish, hindi +# Modules included by this file are: arabic, basque, catalan, danish, dutch, +# english, finnish, french, german, greek, hindi, hungarian, indonesian, +# irish, italian, lithuanian, nepali, norwegian, porter, portuguese, +# romanian, russian, spanish, swedish, tamil, turkish snowball_sources= \ src_c/stem_UTF_8_arabic.c \ + src_c/stem_UTF_8_basque.c \ + src_c/stem_UTF_8_catalan.c \ src_c/stem_UTF_8_danish.c \ src_c/stem_UTF_8_dutch.c \ src_c/stem_UTF_8_english.c \ src_c/stem_UTF_8_finnish.c \ src_c/stem_UTF_8_french.c \ src_c/stem_UTF_8_german.c \ + src_c/stem_UTF_8_greek.c \ src_c/stem_UTF_8_hindi.c \ src_c/stem_UTF_8_hungarian.c \ + src_c/stem_UTF_8_indonesian.c \ + src_c/stem_UTF_8_irish.c \ src_c/stem_UTF_8_italian.c \ + src_c/stem_UTF_8_lithuanian.c \ + src_c/stem_UTF_8_nepali.c \ src_c/stem_UTF_8_norwegian.c \ src_c/stem_UTF_8_porter.c \ src_c/stem_UTF_8_portuguese.c \ @@ -33,15 +41,22 @@ snowball_sources= \ snowball_headers= \ src_c/stem_UTF_8_arabic.h \ + src_c/stem_UTF_8_basque.h \ + src_c/stem_UTF_8_catalan.h \ src_c/stem_UTF_8_danish.h \ src_c/stem_UTF_8_dutch.h \ src_c/stem_UTF_8_english.h \ src_c/stem_UTF_8_finnish.h \ src_c/stem_UTF_8_french.h \ src_c/stem_UTF_8_german.h \ + src_c/stem_UTF_8_greek.h \ src_c/stem_UTF_8_hindi.h \ src_c/stem_UTF_8_hungarian.h \ + src_c/stem_UTF_8_indonesian.h \ + src_c/stem_UTF_8_irish.h \ src_c/stem_UTF_8_italian.h \ + src_c/stem_UTF_8_lithuanian.h \ + src_c/stem_UTF_8_nepali.h \ src_c/stem_UTF_8_norwegian.h \ src_c/stem_UTF_8_porter.h \ src_c/stem_UTF_8_portuguese.h \ diff --git a/src/dep/snowball/runtime/api.c b/src/dep/snowball/runtime/api.c index 4d9159a9dd..d2fd7e8ab3 100644 --- a/src/dep/snowball/runtime/api.c +++ b/src/dep/snowball/runtime/api.c @@ -3,55 +3,64 @@ #include "header.h" #include "rmalloc.h" -extern struct SN_env *SN_create_env(int S_size, int I_size, int B_size) { - struct SN_env *z = (struct SN_env *)rm_calloc(1, sizeof(struct SN_env)); - if (z == NULL) return NULL; - z->p = create_s(); - if (z->p == NULL) goto error; - if (S_size) { - int i; - z->S = (symbol **)rm_calloc(S_size, sizeof(symbol *)); - if (z->S == NULL) goto error; - - for (i = 0; i < S_size; i++) { - z->S[i] = create_s(); - if (z->S[i] == NULL) goto error; +extern struct SN_env * SN_create_env(int S_size, int I_size, int B_size) +{ + struct SN_env * z = (struct SN_env *) rm_calloc(1, sizeof(struct SN_env)); + if (z == NULL) return NULL; + z->p = create_s(); + if (z->p == NULL) goto error; + if (S_size) + { + int i; + z->S = (symbol * *) rm_calloc(S_size, sizeof(symbol *)); + if (z->S == NULL) goto error; + + for (i = 0; i < S_size; i++) + { + z->S[i] = create_s(); + if (z->S[i] == NULL) goto error; + } } - } - if (I_size) { - z->I = (int *)rm_calloc(I_size, sizeof(int)); - if (z->I == NULL) goto error; - } + if (I_size) + { + z->I = (int *) rm_calloc(I_size, sizeof(int)); + if (z->I == NULL) goto error; + } - if (B_size) { - z->B = (unsigned char *)rm_calloc(B_size, sizeof(unsigned char)); - if (z->B == NULL) goto error; - } + if (B_size) + { + z->B = (unsigned char *) rm_calloc(B_size, sizeof(unsigned char)); + if (z->B == NULL) goto error; + } - return z; + return z; error: - SN_close_env(z, S_size); - return NULL; + SN_close_env(z, S_size); + return NULL; } -extern void SN_close_env(struct SN_env *z, int S_size) { - if (z == NULL) return; - if (S_size) { - int i; - for (i = 0; i < S_size; i++) { - lose_s(z->S[i]); +extern void SN_close_env(struct SN_env * z, int S_size) +{ + if (z == NULL) return; + if (S_size) + { + int i; + for (i = 0; i < S_size; i++) + { + lose_s(z->S[i]); + } + rm_free(z->S); } - rm_free(z->S); - } - rm_free(z->I); - rm_free(z->B); - if (z->p) lose_s(z->p); - rm_free(z); + rm_free(z->I); + rm_free(z->B); + if (z->p) lose_s(z->p); + rm_free(z); } -extern int SN_set_current(struct SN_env *z, int size, const symbol *s) { - int err = replace_s(z, 0, z->l, size, s, NULL); - z->c = 0; - return err; +extern int SN_set_current(struct SN_env * z, int size, const symbol * s) +{ + int err = replace_s(z, 0, z->l, size, s, NULL); + z->c = 0; + return err; } diff --git a/src/dep/snowball/runtime/api.h b/src/dep/snowball/runtime/api.h index 8b997f0c29..7ed7995f9e 100644 --- a/src/dep/snowball/runtime/api.h +++ b/src/dep/snowball/runtime/api.h @@ -19,8 +19,15 @@ struct SN_env { unsigned char * B; }; +#ifdef __cplusplus +extern "C" { +#endif + extern struct SN_env * SN_create_env(int S_size, int I_size, int B_size); extern void SN_close_env(struct SN_env * z, int S_size); extern int SN_set_current(struct SN_env * z, int size, const symbol * s); +#ifdef __cplusplus +} +#endif diff --git a/src/dep/snowball/runtime/header.h b/src/dep/snowball/runtime/header.h index 6bccf0f2c7..85a42fdb8f 100644 --- a/src/dep/snowball/runtime/header.h +++ b/src/dep/snowball/runtime/header.h @@ -57,4 +57,3 @@ extern symbol * assign_to(struct SN_env * z, symbol * p); extern int len_utf8(const symbol * p); extern void debug(struct SN_env * z, int number, int line_count); - diff --git a/src/dep/snowball/runtime/utilities.c b/src/dep/snowball/runtime/utilities.c index e7f2ba4110..35a9dd9d15 100644 --- a/src/dep/snowball/runtime/utilities.c +++ b/src/dep/snowball/runtime/utilities.c @@ -8,355 +8,358 @@ #define CREATE_SIZE 1 -extern symbol *create_s(void) { - symbol *p; - void *mem = rm_malloc(HEAD + (CREATE_SIZE + 1) * sizeof(symbol)); - if (mem == NULL) return NULL; - p = (symbol *)(HEAD + (char *)mem); - CAPACITY(p) = CREATE_SIZE; - SET_SIZE(p, 0); - return p; +extern symbol * create_s(void) { + symbol * p; + void * mem = rm_malloc(HEAD + (CREATE_SIZE + 1) * sizeof(symbol)); + if (mem == NULL) return NULL; + p = (symbol *) (HEAD + (char *) mem); + CAPACITY(p) = CREATE_SIZE; + SET_SIZE(p, 0); + return p; } -extern void lose_s(symbol *p) { - if (p == NULL) return; - rm_free((char *)p - HEAD); +extern void lose_s(symbol * p) { + if (p == NULL) return; + rm_free((char *) p - HEAD); } /* new_p = skip_utf8(p, c, lb, l, n); skips n characters forwards from p + c if n +ve, or n characters backwards from p + c - 1 if n -ve. new_p is the new - position, or 0 on failure. + position, or -1 on failure. -- used to implement hop and next in the utf8 case. */ -extern int skip_utf8(const symbol *p, int c, int lb, int l, int n) { - int b; - if (n >= 0) { - for (; n > 0; n--) { - if (c >= l) return -1; - b = p[c++]; - if (b >= 0xC0) { /* 1100 0000 */ - while (c < l) { - b = p[c]; - if (b >= 0xC0 || b < 0x80) break; - /* break unless b is 10------ */ - c++; +extern int skip_utf8(const symbol * p, int c, int lb, int l, int n) { + int b; + if (n >= 0) { + for (; n > 0; n--) { + if (c >= l) return -1; + b = p[c++]; + if (b >= 0xC0) { /* 1100 0000 */ + while (c < l) { + b = p[c]; + if (b >= 0xC0 || b < 0x80) break; + /* break unless b is 10------ */ + c++; + } + } } - } - } - } else { - for (; n < 0; n++) { - if (c <= lb) return -1; - b = p[--c]; - if (b >= 0x80) { /* 1000 0000 */ - while (c > lb) { - b = p[c]; - if (b >= 0xC0) break; /* 1100 0000 */ - c--; + } else { + for (; n < 0; n++) { + if (c <= lb) return -1; + b = p[--c]; + if (b >= 0x80) { /* 1000 0000 */ + while (c > lb) { + b = p[c]; + if (b >= 0xC0) break; /* 1100 0000 */ + c--; + } + } } - } } - } - return c; + return c; } /* Code for character groupings: utf8 cases */ -static int get_utf8(const symbol *p, int c, int l, int *slot) { - int b0, b1; - if (c >= l) return 0; - b0 = p[c++]; - if (b0 < 0xC0 || c == l) { /* 1100 0000 */ - *slot = b0; - return 1; - } - b1 = p[c++]; - if (b0 < 0xE0 || c == l) { /* 1110 0000 */ - *slot = (b0 & 0x1F) << 6 | (b1 & 0x3F); - return 2; - } - *slot = (b0 & 0xF) << 12 | (b1 & 0x3F) << 6 | (p[c] & 0x3F); - return 3; +static int get_utf8(const symbol * p, int c, int l, int * slot) { + int b0, b1, b2; + if (c >= l) return 0; + b0 = p[c++]; + if (b0 < 0xC0 || c == l) { /* 1100 0000 */ + *slot = b0; + return 1; + } + b1 = p[c++] & 0x3F; + if (b0 < 0xE0 || c == l) { /* 1110 0000 */ + *slot = (b0 & 0x1F) << 6 | b1; + return 2; + } + b2 = p[c++] & 0x3F; + if (b0 < 0xF0 || c == l) { /* 1111 0000 */ + *slot = (b0 & 0xF) << 12 | b1 << 6 | b2; + return 3; + } + *slot = (b0 & 0xE) << 18 | b1 << 12 | b2 << 6 | (p[c] & 0x3F); + return 4; } -static int get_b_utf8(const symbol *p, int c, int lb, int *slot) { - int b0, b1; - if (c <= lb) return 0; - b0 = p[--c]; - if (b0 < 0x80 || c == lb) { /* 1000 0000 */ - *slot = b0; - return 1; - } - b1 = p[--c]; - if (b1 >= 0xC0 || c == lb) { /* 1100 0000 */ - *slot = (b1 & 0x1F) << 6 | (b0 & 0x3F); - return 2; - } - *slot = (p[c] & 0xF) << 12 | (b1 & 0x3F) << 6 | (b0 & 0x3F); - return 3; +static int get_b_utf8(const symbol * p, int c, int lb, int * slot) { + int a, b; + if (c <= lb) return 0; + b = p[--c]; + if (b < 0x80 || c == lb) { /* 1000 0000 */ + *slot = b; + return 1; + } + a = b & 0x3F; + b = p[--c]; + if (b >= 0xC0 || c == lb) { /* 1100 0000 */ + *slot = (b & 0x1F) << 6 | a; + return 2; + } + a |= (b & 0x3F) << 6; + b = p[--c]; + if (b >= 0xE0 || c == lb) { /* 1110 0000 */ + *slot = (b & 0xF) << 12 | a; + return 3; + } + *slot = (p[--c] & 0xE) << 18 | (b & 0x3F) << 12 | a; + return 4; } -extern int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat) { - do { - int ch; - int w = get_utf8(z->p, z->c, z->l, &ch); - if (!w) return -1; - if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) return w; - z->c += w; - } while (repeat); - return 0; +extern int in_grouping_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + int w = get_utf8(z->p, z->c, z->l, & ch); + if (!w) return -1; + if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) + return w; + z->c += w; + } while (repeat); + return 0; } -extern int in_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat) { - do { - int ch; - int w = get_b_utf8(z->p, z->c, z->lb, &ch); - if (!w) return -1; - if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) return w; - z->c -= w; - } while (repeat); - return 0; +extern int in_grouping_b_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + int w = get_b_utf8(z->p, z->c, z->lb, & ch); + if (!w) return -1; + if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) + return w; + z->c -= w; + } while (repeat); + return 0; } -extern int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat) { - do { - int ch; - int w = get_utf8(z->p, z->c, z->l, &ch); - if (!w) return -1; - if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) return w; - z->c += w; - } while (repeat); - return 0; +extern int out_grouping_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + int w = get_utf8(z->p, z->c, z->l, & ch); + if (!w) return -1; + if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) + return w; + z->c += w; + } while (repeat); + return 0; } -extern int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, - int repeat) { - do { - int ch; - int w = get_b_utf8(z->p, z->c, z->lb, &ch); - if (!w) return -1; - if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) return w; - z->c -= w; - } while (repeat); - return 0; +extern int out_grouping_b_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + int w = get_b_utf8(z->p, z->c, z->lb, & ch); + if (!w) return -1; + if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) + return w; + z->c -= w; + } while (repeat); + return 0; } /* Code for character groupings: non-utf8 cases */ -extern int in_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat) { - do { - int ch; - if (z->c >= z->l) return -1; - ch = z->p[z->c]; - if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) return 1; - z->c++; - } while (repeat); - return 0; +extern int in_grouping(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + if (z->c >= z->l) return -1; + ch = z->p[z->c]; + if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) + return 1; + z->c++; + } while (repeat); + return 0; } -extern int in_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat) { - do { - int ch; - if (z->c <= z->lb) return -1; - ch = z->p[z->c - 1]; - if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) return 1; - z->c--; - } while (repeat); - return 0; +extern int in_grouping_b(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + if (z->c <= z->lb) return -1; + ch = z->p[z->c - 1]; + if (ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0) + return 1; + z->c--; + } while (repeat); + return 0; } -extern int out_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat) { - do { - int ch; - if (z->c >= z->l) return -1; - ch = z->p[z->c]; - if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) return 1; - z->c++; - } while (repeat); - return 0; +extern int out_grouping(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + if (z->c >= z->l) return -1; + ch = z->p[z->c]; + if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) + return 1; + z->c++; + } while (repeat); + return 0; } -extern int out_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat) { - do { - int ch; - if (z->c <= z->lb) return -1; - ch = z->p[z->c - 1]; - if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) return 1; - z->c--; - } while (repeat); - return 0; +extern int out_grouping_b(struct SN_env * z, const unsigned char * s, int min, int max, int repeat) { + do { + int ch; + if (z->c <= z->lb) return -1; + ch = z->p[z->c - 1]; + if (!(ch > max || (ch -= min) < 0 || (s[ch >> 3] & (0X1 << (ch & 0X7))) == 0)) + return 1; + z->c--; + } while (repeat); + return 0; } -extern int eq_s(struct SN_env *z, int s_size, const symbol *s) { - if (z->l - z->c < s_size || memcmp(z->p + z->c, s, s_size * sizeof(symbol)) != 0) return 0; - z->c += s_size; - return 1; +extern int eq_s(struct SN_env * z, int s_size, const symbol * s) { + if (z->l - z->c < s_size || memcmp(z->p + z->c, s, s_size * sizeof(symbol)) != 0) return 0; + z->c += s_size; return 1; } -extern int eq_s_b(struct SN_env *z, int s_size, const symbol *s) { - if (z->c - z->lb < s_size || memcmp(z->p + z->c - s_size, s, s_size * sizeof(symbol)) != 0) - return 0; - z->c -= s_size; - return 1; +extern int eq_s_b(struct SN_env * z, int s_size, const symbol * s) { + if (z->c - z->lb < s_size || memcmp(z->p + z->c - s_size, s, s_size * sizeof(symbol)) != 0) return 0; + z->c -= s_size; return 1; } -extern int eq_v(struct SN_env *z, const symbol *p) { - return eq_s(z, SIZE(p), p); +extern int eq_v(struct SN_env * z, const symbol * p) { + return eq_s(z, SIZE(p), p); } -extern int eq_v_b(struct SN_env *z, const symbol *p) { - return eq_s_b(z, SIZE(p), p); +extern int eq_v_b(struct SN_env * z, const symbol * p) { + return eq_s_b(z, SIZE(p), p); } -extern int find_among(struct SN_env *z, const struct among *v, int v_size) { +extern int find_among(struct SN_env * z, const struct among * v, int v_size) { - int i = 0; - int j = v_size; + int i = 0; + int j = v_size; - int c = z->c; - int l = z->l; - symbol *q = z->p + c; + int c = z->c; int l = z->l; + symbol * q = z->p + c; - const struct among *w; + const struct among * w; - int common_i = 0; - int common_j = 0; + int common_i = 0; + int common_j = 0; - int first_key_inspected = 0; + int first_key_inspected = 0; - while (1) { - int k = i + ((j - i) >> 1); - int diff = 0; - int common = common_i < common_j ? common_i : common_j; /* smaller */ - w = v + k; - { - int i2; - for (i2 = common; i2 < w->s_size; i2++) { - if (c + common == l) { - diff = -1; - break; + while (1) { + int k = i + ((j - i) >> 1); + int diff = 0; + int common = common_i < common_j ? common_i : common_j; /* smaller */ + w = v + k; + { + int i2; for (i2 = common; i2 < w->s_size; i2++) { + if (c + common == l) { diff = -1; break; } + diff = q[common] - w->s[i2]; + if (diff != 0) break; + common++; + } } - diff = q[common] - w->s[i2]; - if (diff != 0) break; - common++; - } - } - if (diff < 0) { - j = k; - common_j = common; - } else { - i = k; - common_i = common; - } - if (j - i <= 1) { - if (i > 0) break; /* v->s has been inspected */ - if (j == i) break; /* only one item in v */ + if (diff < 0) { + j = k; + common_j = common; + } else { + i = k; + common_i = common; + } + if (j - i <= 1) { + if (i > 0) break; /* v->s has been inspected */ + if (j == i) break; /* only one item in v */ - /* - but now we need to go round once more to get - v->s inspected. This looks messy, but is actually - the optimal approach. */ + /* - but now we need to go round once more to get + v->s inspected. This looks messy, but is actually + the optimal approach. */ - if (first_key_inspected) break; - first_key_inspected = 1; + if (first_key_inspected) break; + first_key_inspected = 1; + } } - } - while (1) { - w = v + i; - if (common_i >= w->s_size) { - z->c = c + w->s_size; - if (w->function == 0) return w->result; - { - int res = w->function(z); - z->c = c + w->s_size; - if (res) return w->result; - } + while (1) { + w = v + i; + if (common_i >= w->s_size) { + z->c = c + w->s_size; + if (w->function == 0) return w->result; + { + int res = w->function(z); + z->c = c + w->s_size; + if (res) return w->result; + } + } + i = w->substring_i; + if (i < 0) return 0; } - i = w->substring_i; - if (i < 0) return 0; - } } /* find_among_b is for backwards processing. Same comments apply */ -extern int find_among_b(struct SN_env *z, const struct among *v, int v_size) { +extern int find_among_b(struct SN_env * z, const struct among * v, int v_size) { - int i = 0; - int j = v_size; + int i = 0; + int j = v_size; - int c = z->c; - int lb = z->lb; - symbol *q = z->p + c - 1; + int c = z->c; int lb = z->lb; + symbol * q = z->p + c - 1; - const struct among *w; + const struct among * w; - int common_i = 0; - int common_j = 0; + int common_i = 0; + int common_j = 0; - int first_key_inspected = 0; + int first_key_inspected = 0; - while (1) { - int k = i + ((j - i) >> 1); - int diff = 0; - int common = common_i < common_j ? common_i : common_j; - w = v + k; - { - int i2; - for (i2 = w->s_size - 1 - common; i2 >= 0; i2--) { - if (c - common == lb) { - diff = -1; - break; + while (1) { + int k = i + ((j - i) >> 1); + int diff = 0; + int common = common_i < common_j ? common_i : common_j; + w = v + k; + { + int i2; for (i2 = w->s_size - 1 - common; i2 >= 0; i2--) { + if (c - common == lb) { diff = -1; break; } + diff = q[- common] - w->s[i2]; + if (diff != 0) break; + common++; + } + } + if (diff < 0) { j = k; common_j = common; } + else { i = k; common_i = common; } + if (j - i <= 1) { + if (i > 0) break; + if (j == i) break; + if (first_key_inspected) break; + first_key_inspected = 1; } - diff = q[-common] - w->s[i2]; - if (diff != 0) break; - common++; - } - } - if (diff < 0) { - j = k; - common_j = common; - } else { - i = k; - common_i = common; - } - if (j - i <= 1) { - if (i > 0) break; - if (j == i) break; - if (first_key_inspected) break; - first_key_inspected = 1; } - } - while (1) { - w = v + i; - if (common_i >= w->s_size) { - z->c = c - w->s_size; - if (w->function == 0) return w->result; - { - int res = w->function(z); - z->c = c - w->s_size; - if (res) return w->result; - } + while (1) { + w = v + i; + if (common_i >= w->s_size) { + z->c = c - w->s_size; + if (w->function == 0) return w->result; + { + int res = w->function(z); + z->c = c - w->s_size; + if (res) return w->result; + } + } + i = w->substring_i; + if (i < 0) return 0; } - i = w->substring_i; - if (i < 0) return 0; - } } + /* Increase the size of the buffer pointed to by p to at least n symbols. * If insufficient memory, returns NULL and frees the old buffer. */ -static symbol *increase_size(symbol *p, int n) { - symbol *q; - int new_size = n + 20; - void *mem = rm_realloc((char *)p - HEAD, HEAD + (new_size + 1) * sizeof(symbol)); - if (mem == NULL) { - lose_s(p); - return NULL; - } - q = (symbol *)(HEAD + (char *)mem); - CAPACITY(q) = new_size; - return q; +static symbol * increase_size(symbol * p, int n) { + symbol * q; + int new_size = n + 20; + void * mem = rm_realloc((char *) p - HEAD, + HEAD + (new_size + 1) * sizeof(symbol)); + if (mem == NULL) { + lose_s(p); + return NULL; + } + q = (symbol *) (HEAD + (char *)mem); + CAPACITY(q) = new_size; + return q; } /* to replace symbols between c_bra and c_ket in z->p by the @@ -364,113 +367,118 @@ static symbol *increase_size(symbol *p, int n) { Returns 0 on success, -1 on error. Also, frees z->p (and sets it to NULL) on error. */ -extern int replace_s(struct SN_env *z, int c_bra, int c_ket, int s_size, const symbol *s, - int *adjptr) { - int adjustment; - int len; - if (z->p == NULL) { - z->p = create_s(); - if (z->p == NULL) return -1; - } - adjustment = s_size - (c_ket - c_bra); - len = SIZE(z->p); - if (adjustment != 0) { - if (adjustment + len > CAPACITY(z->p)) { - z->p = increase_size(z->p, adjustment + len); - if (z->p == NULL) return -1; +extern int replace_s(struct SN_env * z, int c_bra, int c_ket, int s_size, const symbol * s, int * adjptr) +{ + int adjustment; + int len; + if (z->p == NULL) { + z->p = create_s(); + if (z->p == NULL) return -1; + } + adjustment = s_size - (c_ket - c_bra); + len = SIZE(z->p); + if (adjustment != 0) { + if (adjustment + len > CAPACITY(z->p)) { + z->p = increase_size(z->p, adjustment + len); + if (z->p == NULL) return -1; + } + memmove(z->p + c_ket + adjustment, + z->p + c_ket, + (len - c_ket) * sizeof(symbol)); + SET_SIZE(z->p, adjustment + len); + z->l += adjustment; + if (z->c >= c_ket) + z->c += adjustment; + else if (z->c > c_bra) + z->c = c_bra; } - memmove(z->p + c_ket + adjustment, z->p + c_ket, (len - c_ket) * sizeof(symbol)); - SET_SIZE(z->p, adjustment + len); - z->l += adjustment; - if (z->c >= c_ket) - z->c += adjustment; - else if (z->c > c_bra) - z->c = c_bra; - } - if (s_size) memmove(z->p + c_bra, s, s_size * sizeof(symbol)); - if (adjptr != NULL) *adjptr = adjustment; - return 0; + if (s_size) memmove(z->p + c_bra, s, s_size * sizeof(symbol)); + if (adjptr != NULL) + *adjptr = adjustment; + return 0; } -static int slice_check(struct SN_env *z) { +static int slice_check(struct SN_env * z) { - if (z->bra < 0 || z->bra > z->ket || z->ket > z->l || z->p == NULL || - z->l > SIZE(z->p)) /* this line could be removed */ - { + if (z->bra < 0 || + z->bra > z->ket || + z->ket > z->l || + z->p == NULL || + z->l > SIZE(z->p)) /* this line could be removed */ + { #if 0 fprintf(stderr, "faulty slice operation:\n"); debug(z, -1, 0); #endif - return -1; - } - return 0; + return -1; + } + return 0; } -extern int slice_from_s(struct SN_env *z, int s_size, const symbol *s) { - if (slice_check(z)) return -1; - return replace_s(z, z->bra, z->ket, s_size, s, NULL); +extern int slice_from_s(struct SN_env * z, int s_size, const symbol * s) { + if (slice_check(z)) return -1; + return replace_s(z, z->bra, z->ket, s_size, s, NULL); } -extern int slice_from_v(struct SN_env *z, const symbol *p) { - return slice_from_s(z, SIZE(p), p); +extern int slice_from_v(struct SN_env * z, const symbol * p) { + return slice_from_s(z, SIZE(p), p); } -extern int slice_del(struct SN_env *z) { - return slice_from_s(z, 0, 0); +extern int slice_del(struct SN_env * z) { + return slice_from_s(z, 0, 0); } -extern int insert_s(struct SN_env *z, int bra, int ket, int s_size, const symbol *s) { - int adjustment; - if (replace_s(z, bra, ket, s_size, s, &adjustment)) return -1; - if (bra <= z->bra) z->bra += adjustment; - if (bra <= z->ket) z->ket += adjustment; - return 0; +extern int insert_s(struct SN_env * z, int bra, int ket, int s_size, const symbol * s) { + int adjustment; + if (replace_s(z, bra, ket, s_size, s, &adjustment)) + return -1; + if (bra <= z->bra) z->bra += adjustment; + if (bra <= z->ket) z->ket += adjustment; + return 0; } -extern int insert_v(struct SN_env *z, int bra, int ket, const symbol *p) { - int adjustment; - if (replace_s(z, bra, ket, SIZE(p), p, &adjustment)) return -1; - if (bra <= z->bra) z->bra += adjustment; - if (bra <= z->ket) z->ket += adjustment; - return 0; +extern int insert_v(struct SN_env * z, int bra, int ket, const symbol * p) { + return insert_s(z, bra, ket, SIZE(p), p); } -extern symbol *slice_to(struct SN_env *z, symbol *p) { - if (slice_check(z)) { - lose_s(p); - return NULL; - } - { - int len = z->ket - z->bra; - if (CAPACITY(p) < len) { - p = increase_size(p, len); - if (p == NULL) return NULL; +extern symbol * slice_to(struct SN_env * z, symbol * p) { + if (slice_check(z)) { + lose_s(p); + return NULL; } - memmove(p, z->p + z->bra, len * sizeof(symbol)); - SET_SIZE(p, len); - } - return p; + { + int len = z->ket - z->bra; + if (CAPACITY(p) < len) { + p = increase_size(p, len); + if (p == NULL) + return NULL; + } + memmove(p, z->p + z->bra, len * sizeof(symbol)); + SET_SIZE(p, len); + } + return p; } -extern symbol *assign_to(struct SN_env *z, symbol *p) { - int len = z->l; - if (CAPACITY(p) < len) { - p = increase_size(p, len); - if (p == NULL) return NULL; - } - memmove(p, z->p, len * sizeof(symbol)); - SET_SIZE(p, len); - return p; +extern symbol * assign_to(struct SN_env * z, symbol * p) { + int len = z->l; + if (CAPACITY(p) < len) { + p = increase_size(p, len); + if (p == NULL) + return NULL; + } + memmove(p, z->p, len * sizeof(symbol)); + SET_SIZE(p, len); + return p; } -extern int len_utf8(const symbol *p) { - int size = SIZE(p); - int len = 0; - while (size--) { - symbol b = *p++; - if (b >= 0xC0 || b < 0x80) ++len; - } - return len; +extern int len_utf8(const symbol * p) { + int size = SIZE(p); + int len = 0; + while (size--) { + symbol b = *p++; + if (b >= 0xC0 || b < 0x80) ++len; + } + return len; } #if 0 diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_basque.c b/src/dep/snowball/src_c/stem_ISO_8859_1_basque.c new file mode 100644 index 0000000000..4641ce27f4 --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_basque.c @@ -0,0 +1,1184 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int basque_ISO_8859_1_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_R1(struct SN_env * z); +static int r_R2(struct SN_env * z); +static int r_RV(struct SN_env * z); +static int r_mark_regions(struct SN_env * z); +static int r_adjetiboak(struct SN_env * z); +static int r_izenak(struct SN_env * z); +static int r_aditzak(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * basque_ISO_8859_1_create_env(void); +extern void basque_ISO_8859_1_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[4] = { 'i', 'd', 'e', 'a' }; +static const symbol s_0_1[5] = { 'b', 'i', 'd', 'e', 'a' }; +static const symbol s_0_2[5] = { 'k', 'i', 'd', 'e', 'a' }; +static const symbol s_0_3[5] = { 'p', 'i', 'd', 'e', 'a' }; +static const symbol s_0_4[6] = { 'k', 'u', 'n', 'd', 'e', 'a' }; +static const symbol s_0_5[5] = { 'g', 'a', 'l', 'e', 'a' }; +static const symbol s_0_6[6] = { 't', 'a', 'i', 'l', 'e', 'a' }; +static const symbol s_0_7[7] = { 't', 'z', 'a', 'i', 'l', 'e', 'a' }; +static const symbol s_0_8[5] = { 'g', 'u', 'n', 'e', 'a' }; +static const symbol s_0_9[5] = { 'k', 'u', 'n', 'e', 'a' }; +static const symbol s_0_10[5] = { 't', 'z', 'a', 'g', 'a' }; +static const symbol s_0_11[4] = { 'g', 'a', 'i', 'a' }; +static const symbol s_0_12[5] = { 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_0_13[6] = { 't', 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_0_14[5] = { 'k', 'a', 'r', 'i', 'a' }; +static const symbol s_0_15[6] = { 'g', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_0_16[6] = { 'k', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_0_17[2] = { 'k', 'a' }; +static const symbol s_0_18[5] = { 't', 'z', 'a', 'k', 'a' }; +static const symbol s_0_19[2] = { 'l', 'a' }; +static const symbol s_0_20[4] = { 'm', 'e', 'n', 'a' }; +static const symbol s_0_21[4] = { 'p', 'e', 'n', 'a' }; +static const symbol s_0_22[4] = { 'k', 'i', 'n', 'a' }; +static const symbol s_0_23[5] = { 'e', 'z', 'i', 'n', 'a' }; +static const symbol s_0_24[6] = { 't', 'e', 'z', 'i', 'n', 'a' }; +static const symbol s_0_25[4] = { 'k', 'u', 'n', 'a' }; +static const symbol s_0_26[4] = { 't', 'u', 'n', 'a' }; +static const symbol s_0_27[6] = { 'k', 'i', 'z', 'u', 'n', 'a' }; +static const symbol s_0_28[3] = { 'e', 'r', 'a' }; +static const symbol s_0_29[4] = { 'b', 'e', 'r', 'a' }; +static const symbol s_0_30[7] = { 'a', 'r', 'a', 'b', 'e', 'r', 'a' }; +static const symbol s_0_31[4] = { 'k', 'e', 'r', 'a' }; +static const symbol s_0_32[4] = { 'p', 'e', 'r', 'a' }; +static const symbol s_0_33[4] = { 'o', 'r', 'r', 'a' }; +static const symbol s_0_34[5] = { 'k', 'o', 'r', 'r', 'a' }; +static const symbol s_0_35[4] = { 'd', 'u', 'r', 'a' }; +static const symbol s_0_36[4] = { 'g', 'u', 'r', 'a' }; +static const symbol s_0_37[4] = { 'k', 'u', 'r', 'a' }; +static const symbol s_0_38[4] = { 't', 'u', 'r', 'a' }; +static const symbol s_0_39[3] = { 'e', 't', 'a' }; +static const symbol s_0_40[4] = { 'k', 'e', 't', 'a' }; +static const symbol s_0_41[6] = { 'g', 'a', 'i', 'l', 'u', 'a' }; +static const symbol s_0_42[3] = { 'e', 'z', 'a' }; +static const symbol s_0_43[6] = { 'e', 'r', 'r', 'e', 'z', 'a' }; +static const symbol s_0_44[3] = { 't', 'z', 'a' }; +static const symbol s_0_45[6] = { 'g', 'a', 'i', 't', 'z', 'a' }; +static const symbol s_0_46[6] = { 'k', 'a', 'i', 't', 'z', 'a' }; +static const symbol s_0_47[6] = { 'k', 'u', 'n', 't', 'z', 'a' }; +static const symbol s_0_48[3] = { 'i', 'd', 'e' }; +static const symbol s_0_49[4] = { 'b', 'i', 'd', 'e' }; +static const symbol s_0_50[4] = { 'k', 'i', 'd', 'e' }; +static const symbol s_0_51[4] = { 'p', 'i', 'd', 'e' }; +static const symbol s_0_52[5] = { 'k', 'u', 'n', 'd', 'e' }; +static const symbol s_0_53[5] = { 't', 'z', 'a', 'k', 'e' }; +static const symbol s_0_54[5] = { 't', 'z', 'e', 'k', 'e' }; +static const symbol s_0_55[2] = { 'l', 'e' }; +static const symbol s_0_56[4] = { 'g', 'a', 'l', 'e' }; +static const symbol s_0_57[5] = { 't', 'a', 'i', 'l', 'e' }; +static const symbol s_0_58[6] = { 't', 'z', 'a', 'i', 'l', 'e' }; +static const symbol s_0_59[4] = { 'g', 'u', 'n', 'e' }; +static const symbol s_0_60[4] = { 'k', 'u', 'n', 'e' }; +static const symbol s_0_61[3] = { 't', 'z', 'e' }; +static const symbol s_0_62[4] = { 'a', 't', 'z', 'e' }; +static const symbol s_0_63[3] = { 'g', 'a', 'i' }; +static const symbol s_0_64[4] = { 'a', 'l', 'd', 'i' }; +static const symbol s_0_65[5] = { 't', 'a', 'l', 'd', 'i' }; +static const symbol s_0_66[2] = { 'k', 'i' }; +static const symbol s_0_67[3] = { 'a', 'r', 'i' }; +static const symbol s_0_68[4] = { 'k', 'a', 'r', 'i' }; +static const symbol s_0_69[4] = { 'l', 'a', 'r', 'i' }; +static const symbol s_0_70[4] = { 't', 'a', 'r', 'i' }; +static const symbol s_0_71[5] = { 'e', 't', 'a', 'r', 'i' }; +static const symbol s_0_72[5] = { 'g', 'a', 'r', 'r', 'i' }; +static const symbol s_0_73[5] = { 'k', 'a', 'r', 'r', 'i' }; +static const symbol s_0_74[5] = { 'a', 'r', 'a', 'z', 'i' }; +static const symbol s_0_75[6] = { 't', 'a', 'r', 'a', 'z', 'i' }; +static const symbol s_0_76[2] = { 'a', 'n' }; +static const symbol s_0_77[3] = { 'e', 'a', 'n' }; +static const symbol s_0_78[4] = { 'r', 'e', 'a', 'n' }; +static const symbol s_0_79[3] = { 'k', 'a', 'n' }; +static const symbol s_0_80[4] = { 'e', 't', 'a', 'n' }; +static const symbol s_0_81[7] = { 'a', 't', 's', 'e', 'd', 'e', 'n' }; +static const symbol s_0_82[3] = { 'm', 'e', 'n' }; +static const symbol s_0_83[3] = { 'p', 'e', 'n' }; +static const symbol s_0_84[3] = { 'k', 'i', 'n' }; +static const symbol s_0_85[5] = { 'r', 'e', 'k', 'i', 'n' }; +static const symbol s_0_86[4] = { 'e', 'z', 'i', 'n' }; +static const symbol s_0_87[5] = { 't', 'e', 'z', 'i', 'n' }; +static const symbol s_0_88[3] = { 't', 'u', 'n' }; +static const symbol s_0_89[5] = { 'k', 'i', 'z', 'u', 'n' }; +static const symbol s_0_90[2] = { 'g', 'o' }; +static const symbol s_0_91[3] = { 'a', 'g', 'o' }; +static const symbol s_0_92[3] = { 't', 'i', 'o' }; +static const symbol s_0_93[4] = { 'd', 'a', 'k', 'o' }; +static const symbol s_0_94[2] = { 'o', 'r' }; +static const symbol s_0_95[3] = { 'k', 'o', 'r' }; +static const symbol s_0_96[4] = { 't', 'z', 'a', 't' }; +static const symbol s_0_97[2] = { 'd', 'u' }; +static const symbol s_0_98[5] = { 'g', 'a', 'i', 'l', 'u' }; +static const symbol s_0_99[2] = { 't', 'u' }; +static const symbol s_0_100[3] = { 'a', 't', 'u' }; +static const symbol s_0_101[6] = { 'a', 'l', 'd', 'a', 't', 'u' }; +static const symbol s_0_102[4] = { 't', 'a', 't', 'u' }; +static const symbol s_0_103[6] = { 'b', 'a', 'd', 'i', 't', 'u' }; +static const symbol s_0_104[2] = { 'e', 'z' }; +static const symbol s_0_105[5] = { 'e', 'r', 'r', 'e', 'z' }; +static const symbol s_0_106[4] = { 't', 'z', 'e', 'z' }; +static const symbol s_0_107[5] = { 'g', 'a', 'i', 't', 'z' }; +static const symbol s_0_108[5] = { 'k', 'a', 'i', 't', 'z' }; + +static const struct among a_0[109] = +{ +/* 0 */ { 4, s_0_0, -1, 1, 0}, +/* 1 */ { 5, s_0_1, 0, 1, 0}, +/* 2 */ { 5, s_0_2, 0, 1, 0}, +/* 3 */ { 5, s_0_3, 0, 1, 0}, +/* 4 */ { 6, s_0_4, -1, 1, 0}, +/* 5 */ { 5, s_0_5, -1, 1, 0}, +/* 6 */ { 6, s_0_6, -1, 1, 0}, +/* 7 */ { 7, s_0_7, -1, 1, 0}, +/* 8 */ { 5, s_0_8, -1, 1, 0}, +/* 9 */ { 5, s_0_9, -1, 1, 0}, +/* 10 */ { 5, s_0_10, -1, 1, 0}, +/* 11 */ { 4, s_0_11, -1, 1, 0}, +/* 12 */ { 5, s_0_12, -1, 1, 0}, +/* 13 */ { 6, s_0_13, 12, 1, 0}, +/* 14 */ { 5, s_0_14, -1, 1, 0}, +/* 15 */ { 6, s_0_15, -1, 2, 0}, +/* 16 */ { 6, s_0_16, -1, 1, 0}, +/* 17 */ { 2, s_0_17, -1, 1, 0}, +/* 18 */ { 5, s_0_18, 17, 1, 0}, +/* 19 */ { 2, s_0_19, -1, 1, 0}, +/* 20 */ { 4, s_0_20, -1, 1, 0}, +/* 21 */ { 4, s_0_21, -1, 1, 0}, +/* 22 */ { 4, s_0_22, -1, 1, 0}, +/* 23 */ { 5, s_0_23, -1, 1, 0}, +/* 24 */ { 6, s_0_24, 23, 1, 0}, +/* 25 */ { 4, s_0_25, -1, 1, 0}, +/* 26 */ { 4, s_0_26, -1, 1, 0}, +/* 27 */ { 6, s_0_27, -1, 1, 0}, +/* 28 */ { 3, s_0_28, -1, 1, 0}, +/* 29 */ { 4, s_0_29, 28, 1, 0}, +/* 30 */ { 7, s_0_30, 29, 4, 0}, +/* 31 */ { 4, s_0_31, 28, 1, 0}, +/* 32 */ { 4, s_0_32, 28, 1, 0}, +/* 33 */ { 4, s_0_33, -1, 1, 0}, +/* 34 */ { 5, s_0_34, 33, 1, 0}, +/* 35 */ { 4, s_0_35, -1, 1, 0}, +/* 36 */ { 4, s_0_36, -1, 1, 0}, +/* 37 */ { 4, s_0_37, -1, 1, 0}, +/* 38 */ { 4, s_0_38, -1, 1, 0}, +/* 39 */ { 3, s_0_39, -1, 1, 0}, +/* 40 */ { 4, s_0_40, 39, 1, 0}, +/* 41 */ { 6, s_0_41, -1, 1, 0}, +/* 42 */ { 3, s_0_42, -1, 1, 0}, +/* 43 */ { 6, s_0_43, 42, 1, 0}, +/* 44 */ { 3, s_0_44, -1, 2, 0}, +/* 45 */ { 6, s_0_45, 44, 1, 0}, +/* 46 */ { 6, s_0_46, 44, 1, 0}, +/* 47 */ { 6, s_0_47, 44, 1, 0}, +/* 48 */ { 3, s_0_48, -1, 1, 0}, +/* 49 */ { 4, s_0_49, 48, 1, 0}, +/* 50 */ { 4, s_0_50, 48, 1, 0}, +/* 51 */ { 4, s_0_51, 48, 1, 0}, +/* 52 */ { 5, s_0_52, -1, 1, 0}, +/* 53 */ { 5, s_0_53, -1, 1, 0}, +/* 54 */ { 5, s_0_54, -1, 1, 0}, +/* 55 */ { 2, s_0_55, -1, 1, 0}, +/* 56 */ { 4, s_0_56, 55, 1, 0}, +/* 57 */ { 5, s_0_57, 55, 1, 0}, +/* 58 */ { 6, s_0_58, 55, 1, 0}, +/* 59 */ { 4, s_0_59, -1, 1, 0}, +/* 60 */ { 4, s_0_60, -1, 1, 0}, +/* 61 */ { 3, s_0_61, -1, 1, 0}, +/* 62 */ { 4, s_0_62, 61, 1, 0}, +/* 63 */ { 3, s_0_63, -1, 1, 0}, +/* 64 */ { 4, s_0_64, -1, 1, 0}, +/* 65 */ { 5, s_0_65, 64, 1, 0}, +/* 66 */ { 2, s_0_66, -1, 1, 0}, +/* 67 */ { 3, s_0_67, -1, 1, 0}, +/* 68 */ { 4, s_0_68, 67, 1, 0}, +/* 69 */ { 4, s_0_69, 67, 1, 0}, +/* 70 */ { 4, s_0_70, 67, 1, 0}, +/* 71 */ { 5, s_0_71, 70, 1, 0}, +/* 72 */ { 5, s_0_72, -1, 2, 0}, +/* 73 */ { 5, s_0_73, -1, 1, 0}, +/* 74 */ { 5, s_0_74, -1, 1, 0}, +/* 75 */ { 6, s_0_75, 74, 1, 0}, +/* 76 */ { 2, s_0_76, -1, 1, 0}, +/* 77 */ { 3, s_0_77, 76, 1, 0}, +/* 78 */ { 4, s_0_78, 77, 1, 0}, +/* 79 */ { 3, s_0_79, 76, 1, 0}, +/* 80 */ { 4, s_0_80, 76, 1, 0}, +/* 81 */ { 7, s_0_81, -1, 3, 0}, +/* 82 */ { 3, s_0_82, -1, 1, 0}, +/* 83 */ { 3, s_0_83, -1, 1, 0}, +/* 84 */ { 3, s_0_84, -1, 1, 0}, +/* 85 */ { 5, s_0_85, 84, 1, 0}, +/* 86 */ { 4, s_0_86, -1, 1, 0}, +/* 87 */ { 5, s_0_87, 86, 1, 0}, +/* 88 */ { 3, s_0_88, -1, 1, 0}, +/* 89 */ { 5, s_0_89, -1, 1, 0}, +/* 90 */ { 2, s_0_90, -1, 1, 0}, +/* 91 */ { 3, s_0_91, 90, 1, 0}, +/* 92 */ { 3, s_0_92, -1, 1, 0}, +/* 93 */ { 4, s_0_93, -1, 1, 0}, +/* 94 */ { 2, s_0_94, -1, 1, 0}, +/* 95 */ { 3, s_0_95, 94, 1, 0}, +/* 96 */ { 4, s_0_96, -1, 1, 0}, +/* 97 */ { 2, s_0_97, -1, 1, 0}, +/* 98 */ { 5, s_0_98, -1, 1, 0}, +/* 99 */ { 2, s_0_99, -1, 1, 0}, +/*100 */ { 3, s_0_100, 99, 1, 0}, +/*101 */ { 6, s_0_101, 100, 1, 0}, +/*102 */ { 4, s_0_102, 100, 1, 0}, +/*103 */ { 6, s_0_103, 99, 5, 0}, +/*104 */ { 2, s_0_104, -1, 1, 0}, +/*105 */ { 5, s_0_105, 104, 1, 0}, +/*106 */ { 4, s_0_106, 104, 1, 0}, +/*107 */ { 5, s_0_107, -1, 1, 0}, +/*108 */ { 5, s_0_108, -1, 1, 0} +}; + +static const symbol s_1_0[3] = { 'a', 'd', 'a' }; +static const symbol s_1_1[4] = { 'k', 'a', 'd', 'a' }; +static const symbol s_1_2[4] = { 'a', 'n', 'd', 'a' }; +static const symbol s_1_3[5] = { 'd', 'e', 'n', 'd', 'a' }; +static const symbol s_1_4[5] = { 'g', 'a', 'b', 'e', 'a' }; +static const symbol s_1_5[5] = { 'k', 'a', 'b', 'e', 'a' }; +static const symbol s_1_6[5] = { 'a', 'l', 'd', 'e', 'a' }; +static const symbol s_1_7[6] = { 'k', 'a', 'l', 'd', 'e', 'a' }; +static const symbol s_1_8[6] = { 't', 'a', 'l', 'd', 'e', 'a' }; +static const symbol s_1_9[5] = { 'o', 'r', 'd', 'e', 'a' }; +static const symbol s_1_10[5] = { 'z', 'a', 'l', 'e', 'a' }; +static const symbol s_1_11[6] = { 't', 'z', 'a', 'l', 'e', 'a' }; +static const symbol s_1_12[5] = { 'g', 'i', 'l', 'e', 'a' }; +static const symbol s_1_13[4] = { 'e', 'm', 'e', 'a' }; +static const symbol s_1_14[5] = { 'k', 'u', 'm', 'e', 'a' }; +static const symbol s_1_15[3] = { 'n', 'e', 'a' }; +static const symbol s_1_16[4] = { 'e', 'n', 'e', 'a' }; +static const symbol s_1_17[6] = { 'z', 'i', 'o', 'n', 'e', 'a' }; +static const symbol s_1_18[4] = { 'u', 'n', 'e', 'a' }; +static const symbol s_1_19[5] = { 'g', 'u', 'n', 'e', 'a' }; +static const symbol s_1_20[3] = { 'p', 'e', 'a' }; +static const symbol s_1_21[6] = { 'a', 'u', 'r', 'r', 'e', 'a' }; +static const symbol s_1_22[3] = { 't', 'e', 'a' }; +static const symbol s_1_23[5] = { 'k', 'o', 't', 'e', 'a' }; +static const symbol s_1_24[5] = { 'a', 'r', 't', 'e', 'a' }; +static const symbol s_1_25[5] = { 'o', 's', 't', 'e', 'a' }; +static const symbol s_1_26[5] = { 'e', 't', 'x', 'e', 'a' }; +static const symbol s_1_27[2] = { 'g', 'a' }; +static const symbol s_1_28[4] = { 'a', 'n', 'g', 'a' }; +static const symbol s_1_29[4] = { 'g', 'a', 'i', 'a' }; +static const symbol s_1_30[5] = { 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_1_31[6] = { 't', 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_1_32[6] = { 'h', 'a', 'n', 'd', 'i', 'a' }; +static const symbol s_1_33[6] = { 'm', 'e', 'n', 'd', 'i', 'a' }; +static const symbol s_1_34[4] = { 'g', 'e', 'i', 'a' }; +static const symbol s_1_35[4] = { 'e', 'g', 'i', 'a' }; +static const symbol s_1_36[5] = { 'd', 'e', 'g', 'i', 'a' }; +static const symbol s_1_37[5] = { 't', 'e', 'g', 'i', 'a' }; +static const symbol s_1_38[5] = { 'n', 'a', 'h', 'i', 'a' }; +static const symbol s_1_39[4] = { 'o', 'h', 'i', 'a' }; +static const symbol s_1_40[3] = { 'k', 'i', 'a' }; +static const symbol s_1_41[5] = { 't', 'o', 'k', 'i', 'a' }; +static const symbol s_1_42[3] = { 'o', 'i', 'a' }; +static const symbol s_1_43[4] = { 'k', 'o', 'i', 'a' }; +static const symbol s_1_44[4] = { 'a', 'r', 'i', 'a' }; +static const symbol s_1_45[5] = { 'k', 'a', 'r', 'i', 'a' }; +static const symbol s_1_46[5] = { 'l', 'a', 'r', 'i', 'a' }; +static const symbol s_1_47[5] = { 't', 'a', 'r', 'i', 'a' }; +static const symbol s_1_48[4] = { 'e', 'r', 'i', 'a' }; +static const symbol s_1_49[5] = { 'k', 'e', 'r', 'i', 'a' }; +static const symbol s_1_50[5] = { 't', 'e', 'r', 'i', 'a' }; +static const symbol s_1_51[6] = { 'g', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_1_52[6] = { 'l', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_1_53[6] = { 'k', 'i', 'r', 'r', 'i', 'a' }; +static const symbol s_1_54[5] = { 'd', 'u', 'r', 'i', 'a' }; +static const symbol s_1_55[4] = { 'a', 's', 'i', 'a' }; +static const symbol s_1_56[3] = { 't', 'i', 'a' }; +static const symbol s_1_57[4] = { 'e', 'z', 'i', 'a' }; +static const symbol s_1_58[5] = { 'b', 'i', 'z', 'i', 'a' }; +static const symbol s_1_59[6] = { 'o', 'n', 't', 'z', 'i', 'a' }; +static const symbol s_1_60[2] = { 'k', 'a' }; +static const symbol s_1_61[4] = { 'j', 'o', 'k', 'a' }; +static const symbol s_1_62[5] = { 'a', 'u', 'r', 'k', 'a' }; +static const symbol s_1_63[3] = { 's', 'k', 'a' }; +static const symbol s_1_64[3] = { 'x', 'k', 'a' }; +static const symbol s_1_65[3] = { 'z', 'k', 'a' }; +static const symbol s_1_66[6] = { 'g', 'i', 'b', 'e', 'l', 'a' }; +static const symbol s_1_67[4] = { 'g', 'e', 'l', 'a' }; +static const symbol s_1_68[5] = { 'k', 'a', 'i', 'l', 'a' }; +static const symbol s_1_69[5] = { 's', 'k', 'i', 'l', 'a' }; +static const symbol s_1_70[4] = { 't', 'i', 'l', 'a' }; +static const symbol s_1_71[3] = { 'o', 'l', 'a' }; +static const symbol s_1_72[2] = { 'n', 'a' }; +static const symbol s_1_73[4] = { 'k', 'a', 'n', 'a' }; +static const symbol s_1_74[3] = { 'e', 'n', 'a' }; +static const symbol s_1_75[7] = { 'g', 'a', 'r', 'r', 'e', 'n', 'a' }; +static const symbol s_1_76[7] = { 'g', 'e', 'r', 'r', 'e', 'n', 'a' }; +static const symbol s_1_77[6] = { 'u', 'r', 'r', 'e', 'n', 'a' }; +static const symbol s_1_78[5] = { 'z', 'a', 'i', 'n', 'a' }; +static const symbol s_1_79[6] = { 't', 'z', 'a', 'i', 'n', 'a' }; +static const symbol s_1_80[4] = { 'k', 'i', 'n', 'a' }; +static const symbol s_1_81[4] = { 'm', 'i', 'n', 'a' }; +static const symbol s_1_82[5] = { 'g', 'a', 'r', 'n', 'a' }; +static const symbol s_1_83[3] = { 'u', 'n', 'a' }; +static const symbol s_1_84[4] = { 'd', 'u', 'n', 'a' }; +static const symbol s_1_85[5] = { 'a', 's', 'u', 'n', 'a' }; +static const symbol s_1_86[6] = { 't', 'a', 's', 'u', 'n', 'a' }; +static const symbol s_1_87[5] = { 'o', 'n', 'd', 'o', 'a' }; +static const symbol s_1_88[6] = { 'k', 'o', 'n', 'd', 'o', 'a' }; +static const symbol s_1_89[4] = { 'n', 'g', 'o', 'a' }; +static const symbol s_1_90[4] = { 'z', 'i', 'o', 'a' }; +static const symbol s_1_91[3] = { 'k', 'o', 'a' }; +static const symbol s_1_92[5] = { 't', 'a', 'k', 'o', 'a' }; +static const symbol s_1_93[4] = { 'z', 'k', 'o', 'a' }; +static const symbol s_1_94[3] = { 'n', 'o', 'a' }; +static const symbol s_1_95[5] = { 'z', 'i', 'n', 'o', 'a' }; +static const symbol s_1_96[4] = { 'a', 'r', 'o', 'a' }; +static const symbol s_1_97[5] = { 't', 'a', 'r', 'o', 'a' }; +static const symbol s_1_98[5] = { 'z', 'a', 'r', 'o', 'a' }; +static const symbol s_1_99[4] = { 'e', 'r', 'o', 'a' }; +static const symbol s_1_100[4] = { 'o', 'r', 'o', 'a' }; +static const symbol s_1_101[4] = { 'o', 's', 'o', 'a' }; +static const symbol s_1_102[3] = { 't', 'o', 'a' }; +static const symbol s_1_103[4] = { 't', 't', 'o', 'a' }; +static const symbol s_1_104[4] = { 'z', 't', 'o', 'a' }; +static const symbol s_1_105[4] = { 't', 'x', 'o', 'a' }; +static const symbol s_1_106[4] = { 't', 'z', 'o', 'a' }; +static const symbol s_1_107[3] = { 0xF1, 'o', 'a' }; +static const symbol s_1_108[2] = { 'r', 'a' }; +static const symbol s_1_109[3] = { 'a', 'r', 'a' }; +static const symbol s_1_110[4] = { 'd', 'a', 'r', 'a' }; +static const symbol s_1_111[5] = { 'l', 'i', 'a', 'r', 'a' }; +static const symbol s_1_112[5] = { 't', 'i', 'a', 'r', 'a' }; +static const symbol s_1_113[4] = { 't', 'a', 'r', 'a' }; +static const symbol s_1_114[5] = { 'e', 't', 'a', 'r', 'a' }; +static const symbol s_1_115[5] = { 't', 'z', 'a', 'r', 'a' }; +static const symbol s_1_116[4] = { 'b', 'e', 'r', 'a' }; +static const symbol s_1_117[4] = { 'k', 'e', 'r', 'a' }; +static const symbol s_1_118[4] = { 'p', 'e', 'r', 'a' }; +static const symbol s_1_119[3] = { 'o', 'r', 'a' }; +static const symbol s_1_120[6] = { 't', 'z', 'a', 'r', 'r', 'a' }; +static const symbol s_1_121[5] = { 'k', 'o', 'r', 'r', 'a' }; +static const symbol s_1_122[3] = { 't', 'r', 'a' }; +static const symbol s_1_123[2] = { 's', 'a' }; +static const symbol s_1_124[3] = { 'o', 's', 'a' }; +static const symbol s_1_125[2] = { 't', 'a' }; +static const symbol s_1_126[3] = { 'e', 't', 'a' }; +static const symbol s_1_127[4] = { 'k', 'e', 't', 'a' }; +static const symbol s_1_128[3] = { 's', 't', 'a' }; +static const symbol s_1_129[3] = { 'd', 'u', 'a' }; +static const symbol s_1_130[6] = { 'm', 'e', 'n', 'd', 'u', 'a' }; +static const symbol s_1_131[5] = { 'o', 'r', 'd', 'u', 'a' }; +static const symbol s_1_132[5] = { 'l', 'e', 'k', 'u', 'a' }; +static const symbol s_1_133[5] = { 'b', 'u', 'r', 'u', 'a' }; +static const symbol s_1_134[5] = { 'd', 'u', 'r', 'u', 'a' }; +static const symbol s_1_135[4] = { 't', 's', 'u', 'a' }; +static const symbol s_1_136[3] = { 't', 'u', 'a' }; +static const symbol s_1_137[6] = { 'm', 'e', 'n', 't', 'u', 'a' }; +static const symbol s_1_138[5] = { 'e', 's', 't', 'u', 'a' }; +static const symbol s_1_139[4] = { 't', 'x', 'u', 'a' }; +static const symbol s_1_140[3] = { 'z', 'u', 'a' }; +static const symbol s_1_141[4] = { 't', 'z', 'u', 'a' }; +static const symbol s_1_142[2] = { 'z', 'a' }; +static const symbol s_1_143[3] = { 'e', 'z', 'a' }; +static const symbol s_1_144[5] = { 'e', 'r', 'o', 'z', 'a' }; +static const symbol s_1_145[3] = { 't', 'z', 'a' }; +static const symbol s_1_146[6] = { 'k', 'o', 'i', 't', 'z', 'a' }; +static const symbol s_1_147[5] = { 'a', 'n', 't', 'z', 'a' }; +static const symbol s_1_148[6] = { 'g', 'i', 'n', 't', 'z', 'a' }; +static const symbol s_1_149[6] = { 'k', 'i', 'n', 't', 'z', 'a' }; +static const symbol s_1_150[6] = { 'k', 'u', 'n', 't', 'z', 'a' }; +static const symbol s_1_151[4] = { 'g', 'a', 'b', 'e' }; +static const symbol s_1_152[4] = { 'k', 'a', 'b', 'e' }; +static const symbol s_1_153[4] = { 'k', 'i', 'd', 'e' }; +static const symbol s_1_154[4] = { 'a', 'l', 'd', 'e' }; +static const symbol s_1_155[5] = { 'k', 'a', 'l', 'd', 'e' }; +static const symbol s_1_156[5] = { 't', 'a', 'l', 'd', 'e' }; +static const symbol s_1_157[4] = { 'o', 'r', 'd', 'e' }; +static const symbol s_1_158[2] = { 'g', 'e' }; +static const symbol s_1_159[4] = { 'z', 'a', 'l', 'e' }; +static const symbol s_1_160[5] = { 't', 'z', 'a', 'l', 'e' }; +static const symbol s_1_161[4] = { 'g', 'i', 'l', 'e' }; +static const symbol s_1_162[3] = { 'e', 'm', 'e' }; +static const symbol s_1_163[4] = { 'k', 'u', 'm', 'e' }; +static const symbol s_1_164[2] = { 'n', 'e' }; +static const symbol s_1_165[5] = { 'z', 'i', 'o', 'n', 'e' }; +static const symbol s_1_166[3] = { 'u', 'n', 'e' }; +static const symbol s_1_167[4] = { 'g', 'u', 'n', 'e' }; +static const symbol s_1_168[2] = { 'p', 'e' }; +static const symbol s_1_169[5] = { 'a', 'u', 'r', 'r', 'e' }; +static const symbol s_1_170[2] = { 't', 'e' }; +static const symbol s_1_171[4] = { 'k', 'o', 't', 'e' }; +static const symbol s_1_172[4] = { 'a', 'r', 't', 'e' }; +static const symbol s_1_173[4] = { 'o', 's', 't', 'e' }; +static const symbol s_1_174[4] = { 'e', 't', 'x', 'e' }; +static const symbol s_1_175[3] = { 'g', 'a', 'i' }; +static const symbol s_1_176[2] = { 'd', 'i' }; +static const symbol s_1_177[4] = { 'a', 'l', 'd', 'i' }; +static const symbol s_1_178[5] = { 't', 'a', 'l', 'd', 'i' }; +static const symbol s_1_179[5] = { 'g', 'e', 'l', 'd', 'i' }; +static const symbol s_1_180[5] = { 'h', 'a', 'n', 'd', 'i' }; +static const symbol s_1_181[5] = { 'm', 'e', 'n', 'd', 'i' }; +static const symbol s_1_182[3] = { 'g', 'e', 'i' }; +static const symbol s_1_183[3] = { 'e', 'g', 'i' }; +static const symbol s_1_184[4] = { 'd', 'e', 'g', 'i' }; +static const symbol s_1_185[4] = { 't', 'e', 'g', 'i' }; +static const symbol s_1_186[4] = { 'n', 'a', 'h', 'i' }; +static const symbol s_1_187[3] = { 'o', 'h', 'i' }; +static const symbol s_1_188[2] = { 'k', 'i' }; +static const symbol s_1_189[4] = { 't', 'o', 'k', 'i' }; +static const symbol s_1_190[2] = { 'o', 'i' }; +static const symbol s_1_191[3] = { 'g', 'o', 'i' }; +static const symbol s_1_192[3] = { 'k', 'o', 'i' }; +static const symbol s_1_193[3] = { 'a', 'r', 'i' }; +static const symbol s_1_194[4] = { 'k', 'a', 'r', 'i' }; +static const symbol s_1_195[4] = { 'l', 'a', 'r', 'i' }; +static const symbol s_1_196[4] = { 't', 'a', 'r', 'i' }; +static const symbol s_1_197[5] = { 'g', 'a', 'r', 'r', 'i' }; +static const symbol s_1_198[5] = { 'l', 'a', 'r', 'r', 'i' }; +static const symbol s_1_199[5] = { 'k', 'i', 'r', 'r', 'i' }; +static const symbol s_1_200[4] = { 'd', 'u', 'r', 'i' }; +static const symbol s_1_201[3] = { 'a', 's', 'i' }; +static const symbol s_1_202[2] = { 't', 'i' }; +static const symbol s_1_203[5] = { 'o', 'n', 't', 'z', 'i' }; +static const symbol s_1_204[2] = { 0xF1, 'i' }; +static const symbol s_1_205[2] = { 'a', 'k' }; +static const symbol s_1_206[2] = { 'e', 'k' }; +static const symbol s_1_207[5] = { 't', 'a', 'r', 'i', 'k' }; +static const symbol s_1_208[5] = { 'g', 'i', 'b', 'e', 'l' }; +static const symbol s_1_209[3] = { 'a', 'i', 'l' }; +static const symbol s_1_210[4] = { 'k', 'a', 'i', 'l' }; +static const symbol s_1_211[3] = { 'k', 'a', 'n' }; +static const symbol s_1_212[3] = { 't', 'a', 'n' }; +static const symbol s_1_213[4] = { 'e', 't', 'a', 'n' }; +static const symbol s_1_214[2] = { 'e', 'n' }; +static const symbol s_1_215[3] = { 'r', 'e', 'n' }; +static const symbol s_1_216[6] = { 'g', 'a', 'r', 'r', 'e', 'n' }; +static const symbol s_1_217[6] = { 'g', 'e', 'r', 'r', 'e', 'n' }; +static const symbol s_1_218[5] = { 'u', 'r', 'r', 'e', 'n' }; +static const symbol s_1_219[3] = { 't', 'e', 'n' }; +static const symbol s_1_220[4] = { 't', 'z', 'e', 'n' }; +static const symbol s_1_221[4] = { 'z', 'a', 'i', 'n' }; +static const symbol s_1_222[5] = { 't', 'z', 'a', 'i', 'n' }; +static const symbol s_1_223[3] = { 'k', 'i', 'n' }; +static const symbol s_1_224[3] = { 'm', 'i', 'n' }; +static const symbol s_1_225[3] = { 'd', 'u', 'n' }; +static const symbol s_1_226[4] = { 'a', 's', 'u', 'n' }; +static const symbol s_1_227[5] = { 't', 'a', 's', 'u', 'n' }; +static const symbol s_1_228[5] = { 'a', 'i', 'z', 'u', 'n' }; +static const symbol s_1_229[4] = { 'o', 'n', 'd', 'o' }; +static const symbol s_1_230[5] = { 'k', 'o', 'n', 'd', 'o' }; +static const symbol s_1_231[2] = { 'g', 'o' }; +static const symbol s_1_232[3] = { 'n', 'g', 'o' }; +static const symbol s_1_233[3] = { 'z', 'i', 'o' }; +static const symbol s_1_234[2] = { 'k', 'o' }; +static const symbol s_1_235[5] = { 't', 'r', 'a', 'k', 'o' }; +static const symbol s_1_236[4] = { 't', 'a', 'k', 'o' }; +static const symbol s_1_237[5] = { 'e', 't', 'a', 'k', 'o' }; +static const symbol s_1_238[3] = { 'e', 'k', 'o' }; +static const symbol s_1_239[6] = { 't', 'a', 'r', 'i', 'k', 'o' }; +static const symbol s_1_240[3] = { 's', 'k', 'o' }; +static const symbol s_1_241[4] = { 't', 'u', 'k', 'o' }; +static const symbol s_1_242[8] = { 'm', 'i', 'n', 'u', 't', 'u', 'k', 'o' }; +static const symbol s_1_243[3] = { 'z', 'k', 'o' }; +static const symbol s_1_244[2] = { 'n', 'o' }; +static const symbol s_1_245[4] = { 'z', 'i', 'n', 'o' }; +static const symbol s_1_246[2] = { 'r', 'o' }; +static const symbol s_1_247[3] = { 'a', 'r', 'o' }; +static const symbol s_1_248[5] = { 'i', 'g', 'a', 'r', 'o' }; +static const symbol s_1_249[4] = { 't', 'a', 'r', 'o' }; +static const symbol s_1_250[4] = { 'z', 'a', 'r', 'o' }; +static const symbol s_1_251[3] = { 'e', 'r', 'o' }; +static const symbol s_1_252[4] = { 'g', 'i', 'r', 'o' }; +static const symbol s_1_253[3] = { 'o', 'r', 'o' }; +static const symbol s_1_254[3] = { 'o', 's', 'o' }; +static const symbol s_1_255[2] = { 't', 'o' }; +static const symbol s_1_256[3] = { 't', 't', 'o' }; +static const symbol s_1_257[3] = { 'z', 't', 'o' }; +static const symbol s_1_258[3] = { 't', 'x', 'o' }; +static const symbol s_1_259[3] = { 't', 'z', 'o' }; +static const symbol s_1_260[6] = { 'g', 'i', 'n', 't', 'z', 'o' }; +static const symbol s_1_261[2] = { 0xF1, 'o' }; +static const symbol s_1_262[2] = { 'z', 'p' }; +static const symbol s_1_263[2] = { 'a', 'r' }; +static const symbol s_1_264[3] = { 'd', 'a', 'r' }; +static const symbol s_1_265[5] = { 'b', 'e', 'h', 'a', 'r' }; +static const symbol s_1_266[5] = { 'z', 'e', 'h', 'a', 'r' }; +static const symbol s_1_267[4] = { 'l', 'i', 'a', 'r' }; +static const symbol s_1_268[4] = { 't', 'i', 'a', 'r' }; +static const symbol s_1_269[3] = { 't', 'a', 'r' }; +static const symbol s_1_270[4] = { 't', 'z', 'a', 'r' }; +static const symbol s_1_271[2] = { 'o', 'r' }; +static const symbol s_1_272[3] = { 'k', 'o', 'r' }; +static const symbol s_1_273[2] = { 'o', 's' }; +static const symbol s_1_274[3] = { 'k', 'e', 't' }; +static const symbol s_1_275[2] = { 'd', 'u' }; +static const symbol s_1_276[5] = { 'm', 'e', 'n', 'd', 'u' }; +static const symbol s_1_277[4] = { 'o', 'r', 'd', 'u' }; +static const symbol s_1_278[4] = { 'l', 'e', 'k', 'u' }; +static const symbol s_1_279[4] = { 'b', 'u', 'r', 'u' }; +static const symbol s_1_280[4] = { 'd', 'u', 'r', 'u' }; +static const symbol s_1_281[3] = { 't', 's', 'u' }; +static const symbol s_1_282[2] = { 't', 'u' }; +static const symbol s_1_283[4] = { 't', 'a', 't', 'u' }; +static const symbol s_1_284[5] = { 'm', 'e', 'n', 't', 'u' }; +static const symbol s_1_285[4] = { 'e', 's', 't', 'u' }; +static const symbol s_1_286[3] = { 't', 'x', 'u' }; +static const symbol s_1_287[2] = { 'z', 'u' }; +static const symbol s_1_288[3] = { 't', 'z', 'u' }; +static const symbol s_1_289[6] = { 'g', 'i', 'n', 't', 'z', 'u' }; +static const symbol s_1_290[1] = { 'z' }; +static const symbol s_1_291[2] = { 'e', 'z' }; +static const symbol s_1_292[4] = { 'e', 'r', 'o', 'z' }; +static const symbol s_1_293[2] = { 't', 'z' }; +static const symbol s_1_294[5] = { 'k', 'o', 'i', 't', 'z' }; + +static const struct among a_1[295] = +{ +/* 0 */ { 3, s_1_0, -1, 1, 0}, +/* 1 */ { 4, s_1_1, 0, 1, 0}, +/* 2 */ { 4, s_1_2, -1, 1, 0}, +/* 3 */ { 5, s_1_3, -1, 1, 0}, +/* 4 */ { 5, s_1_4, -1, 1, 0}, +/* 5 */ { 5, s_1_5, -1, 1, 0}, +/* 6 */ { 5, s_1_6, -1, 1, 0}, +/* 7 */ { 6, s_1_7, 6, 1, 0}, +/* 8 */ { 6, s_1_8, 6, 1, 0}, +/* 9 */ { 5, s_1_9, -1, 1, 0}, +/* 10 */ { 5, s_1_10, -1, 1, 0}, +/* 11 */ { 6, s_1_11, 10, 1, 0}, +/* 12 */ { 5, s_1_12, -1, 1, 0}, +/* 13 */ { 4, s_1_13, -1, 1, 0}, +/* 14 */ { 5, s_1_14, -1, 1, 0}, +/* 15 */ { 3, s_1_15, -1, 1, 0}, +/* 16 */ { 4, s_1_16, 15, 1, 0}, +/* 17 */ { 6, s_1_17, 15, 1, 0}, +/* 18 */ { 4, s_1_18, 15, 1, 0}, +/* 19 */ { 5, s_1_19, 18, 1, 0}, +/* 20 */ { 3, s_1_20, -1, 1, 0}, +/* 21 */ { 6, s_1_21, -1, 1, 0}, +/* 22 */ { 3, s_1_22, -1, 1, 0}, +/* 23 */ { 5, s_1_23, 22, 1, 0}, +/* 24 */ { 5, s_1_24, 22, 1, 0}, +/* 25 */ { 5, s_1_25, 22, 1, 0}, +/* 26 */ { 5, s_1_26, -1, 1, 0}, +/* 27 */ { 2, s_1_27, -1, 1, 0}, +/* 28 */ { 4, s_1_28, 27, 1, 0}, +/* 29 */ { 4, s_1_29, -1, 1, 0}, +/* 30 */ { 5, s_1_30, -1, 1, 0}, +/* 31 */ { 6, s_1_31, 30, 1, 0}, +/* 32 */ { 6, s_1_32, -1, 1, 0}, +/* 33 */ { 6, s_1_33, -1, 1, 0}, +/* 34 */ { 4, s_1_34, -1, 1, 0}, +/* 35 */ { 4, s_1_35, -1, 1, 0}, +/* 36 */ { 5, s_1_36, 35, 1, 0}, +/* 37 */ { 5, s_1_37, 35, 1, 0}, +/* 38 */ { 5, s_1_38, -1, 1, 0}, +/* 39 */ { 4, s_1_39, -1, 1, 0}, +/* 40 */ { 3, s_1_40, -1, 1, 0}, +/* 41 */ { 5, s_1_41, 40, 1, 0}, +/* 42 */ { 3, s_1_42, -1, 1, 0}, +/* 43 */ { 4, s_1_43, 42, 1, 0}, +/* 44 */ { 4, s_1_44, -1, 1, 0}, +/* 45 */ { 5, s_1_45, 44, 1, 0}, +/* 46 */ { 5, s_1_46, 44, 1, 0}, +/* 47 */ { 5, s_1_47, 44, 1, 0}, +/* 48 */ { 4, s_1_48, -1, 1, 0}, +/* 49 */ { 5, s_1_49, 48, 1, 0}, +/* 50 */ { 5, s_1_50, 48, 1, 0}, +/* 51 */ { 6, s_1_51, -1, 2, 0}, +/* 52 */ { 6, s_1_52, -1, 1, 0}, +/* 53 */ { 6, s_1_53, -1, 1, 0}, +/* 54 */ { 5, s_1_54, -1, 1, 0}, +/* 55 */ { 4, s_1_55, -1, 1, 0}, +/* 56 */ { 3, s_1_56, -1, 1, 0}, +/* 57 */ { 4, s_1_57, -1, 1, 0}, +/* 58 */ { 5, s_1_58, -1, 1, 0}, +/* 59 */ { 6, s_1_59, -1, 1, 0}, +/* 60 */ { 2, s_1_60, -1, 1, 0}, +/* 61 */ { 4, s_1_61, 60, 3, 0}, +/* 62 */ { 5, s_1_62, 60, 10, 0}, +/* 63 */ { 3, s_1_63, 60, 1, 0}, +/* 64 */ { 3, s_1_64, 60, 1, 0}, +/* 65 */ { 3, s_1_65, 60, 1, 0}, +/* 66 */ { 6, s_1_66, -1, 1, 0}, +/* 67 */ { 4, s_1_67, -1, 1, 0}, +/* 68 */ { 5, s_1_68, -1, 1, 0}, +/* 69 */ { 5, s_1_69, -1, 1, 0}, +/* 70 */ { 4, s_1_70, -1, 1, 0}, +/* 71 */ { 3, s_1_71, -1, 1, 0}, +/* 72 */ { 2, s_1_72, -1, 1, 0}, +/* 73 */ { 4, s_1_73, 72, 1, 0}, +/* 74 */ { 3, s_1_74, 72, 1, 0}, +/* 75 */ { 7, s_1_75, 74, 1, 0}, +/* 76 */ { 7, s_1_76, 74, 1, 0}, +/* 77 */ { 6, s_1_77, 74, 1, 0}, +/* 78 */ { 5, s_1_78, 72, 1, 0}, +/* 79 */ { 6, s_1_79, 78, 1, 0}, +/* 80 */ { 4, s_1_80, 72, 1, 0}, +/* 81 */ { 4, s_1_81, 72, 1, 0}, +/* 82 */ { 5, s_1_82, 72, 1, 0}, +/* 83 */ { 3, s_1_83, 72, 1, 0}, +/* 84 */ { 4, s_1_84, 83, 1, 0}, +/* 85 */ { 5, s_1_85, 83, 1, 0}, +/* 86 */ { 6, s_1_86, 85, 1, 0}, +/* 87 */ { 5, s_1_87, -1, 1, 0}, +/* 88 */ { 6, s_1_88, 87, 1, 0}, +/* 89 */ { 4, s_1_89, -1, 1, 0}, +/* 90 */ { 4, s_1_90, -1, 1, 0}, +/* 91 */ { 3, s_1_91, -1, 1, 0}, +/* 92 */ { 5, s_1_92, 91, 1, 0}, +/* 93 */ { 4, s_1_93, 91, 1, 0}, +/* 94 */ { 3, s_1_94, -1, 1, 0}, +/* 95 */ { 5, s_1_95, 94, 1, 0}, +/* 96 */ { 4, s_1_96, -1, 1, 0}, +/* 97 */ { 5, s_1_97, 96, 1, 0}, +/* 98 */ { 5, s_1_98, 96, 1, 0}, +/* 99 */ { 4, s_1_99, -1, 1, 0}, +/*100 */ { 4, s_1_100, -1, 1, 0}, +/*101 */ { 4, s_1_101, -1, 1, 0}, +/*102 */ { 3, s_1_102, -1, 1, 0}, +/*103 */ { 4, s_1_103, 102, 1, 0}, +/*104 */ { 4, s_1_104, 102, 1, 0}, +/*105 */ { 4, s_1_105, -1, 1, 0}, +/*106 */ { 4, s_1_106, -1, 1, 0}, +/*107 */ { 3, s_1_107, -1, 1, 0}, +/*108 */ { 2, s_1_108, -1, 1, 0}, +/*109 */ { 3, s_1_109, 108, 1, 0}, +/*110 */ { 4, s_1_110, 109, 1, 0}, +/*111 */ { 5, s_1_111, 109, 1, 0}, +/*112 */ { 5, s_1_112, 109, 1, 0}, +/*113 */ { 4, s_1_113, 109, 1, 0}, +/*114 */ { 5, s_1_114, 113, 1, 0}, +/*115 */ { 5, s_1_115, 109, 1, 0}, +/*116 */ { 4, s_1_116, 108, 1, 0}, +/*117 */ { 4, s_1_117, 108, 1, 0}, +/*118 */ { 4, s_1_118, 108, 1, 0}, +/*119 */ { 3, s_1_119, 108, 2, 0}, +/*120 */ { 6, s_1_120, 108, 1, 0}, +/*121 */ { 5, s_1_121, 108, 1, 0}, +/*122 */ { 3, s_1_122, 108, 1, 0}, +/*123 */ { 2, s_1_123, -1, 1, 0}, +/*124 */ { 3, s_1_124, 123, 1, 0}, +/*125 */ { 2, s_1_125, -1, 1, 0}, +/*126 */ { 3, s_1_126, 125, 1, 0}, +/*127 */ { 4, s_1_127, 126, 1, 0}, +/*128 */ { 3, s_1_128, 125, 1, 0}, +/*129 */ { 3, s_1_129, -1, 1, 0}, +/*130 */ { 6, s_1_130, 129, 1, 0}, +/*131 */ { 5, s_1_131, 129, 1, 0}, +/*132 */ { 5, s_1_132, -1, 1, 0}, +/*133 */ { 5, s_1_133, -1, 1, 0}, +/*134 */ { 5, s_1_134, -1, 1, 0}, +/*135 */ { 4, s_1_135, -1, 1, 0}, +/*136 */ { 3, s_1_136, -1, 1, 0}, +/*137 */ { 6, s_1_137, 136, 1, 0}, +/*138 */ { 5, s_1_138, 136, 1, 0}, +/*139 */ { 4, s_1_139, -1, 1, 0}, +/*140 */ { 3, s_1_140, -1, 1, 0}, +/*141 */ { 4, s_1_141, 140, 1, 0}, +/*142 */ { 2, s_1_142, -1, 1, 0}, +/*143 */ { 3, s_1_143, 142, 1, 0}, +/*144 */ { 5, s_1_144, 142, 1, 0}, +/*145 */ { 3, s_1_145, 142, 2, 0}, +/*146 */ { 6, s_1_146, 145, 1, 0}, +/*147 */ { 5, s_1_147, 145, 1, 0}, +/*148 */ { 6, s_1_148, 145, 1, 0}, +/*149 */ { 6, s_1_149, 145, 1, 0}, +/*150 */ { 6, s_1_150, 145, 1, 0}, +/*151 */ { 4, s_1_151, -1, 1, 0}, +/*152 */ { 4, s_1_152, -1, 1, 0}, +/*153 */ { 4, s_1_153, -1, 1, 0}, +/*154 */ { 4, s_1_154, -1, 1, 0}, +/*155 */ { 5, s_1_155, 154, 1, 0}, +/*156 */ { 5, s_1_156, 154, 1, 0}, +/*157 */ { 4, s_1_157, -1, 1, 0}, +/*158 */ { 2, s_1_158, -1, 1, 0}, +/*159 */ { 4, s_1_159, -1, 1, 0}, +/*160 */ { 5, s_1_160, 159, 1, 0}, +/*161 */ { 4, s_1_161, -1, 1, 0}, +/*162 */ { 3, s_1_162, -1, 1, 0}, +/*163 */ { 4, s_1_163, -1, 1, 0}, +/*164 */ { 2, s_1_164, -1, 1, 0}, +/*165 */ { 5, s_1_165, 164, 1, 0}, +/*166 */ { 3, s_1_166, 164, 1, 0}, +/*167 */ { 4, s_1_167, 166, 1, 0}, +/*168 */ { 2, s_1_168, -1, 1, 0}, +/*169 */ { 5, s_1_169, -1, 1, 0}, +/*170 */ { 2, s_1_170, -1, 1, 0}, +/*171 */ { 4, s_1_171, 170, 1, 0}, +/*172 */ { 4, s_1_172, 170, 1, 0}, +/*173 */ { 4, s_1_173, 170, 1, 0}, +/*174 */ { 4, s_1_174, -1, 1, 0}, +/*175 */ { 3, s_1_175, -1, 1, 0}, +/*176 */ { 2, s_1_176, -1, 1, 0}, +/*177 */ { 4, s_1_177, 176, 1, 0}, +/*178 */ { 5, s_1_178, 177, 1, 0}, +/*179 */ { 5, s_1_179, 176, 8, 0}, +/*180 */ { 5, s_1_180, 176, 1, 0}, +/*181 */ { 5, s_1_181, 176, 1, 0}, +/*182 */ { 3, s_1_182, -1, 1, 0}, +/*183 */ { 3, s_1_183, -1, 1, 0}, +/*184 */ { 4, s_1_184, 183, 1, 0}, +/*185 */ { 4, s_1_185, 183, 1, 0}, +/*186 */ { 4, s_1_186, -1, 1, 0}, +/*187 */ { 3, s_1_187, -1, 1, 0}, +/*188 */ { 2, s_1_188, -1, 1, 0}, +/*189 */ { 4, s_1_189, 188, 1, 0}, +/*190 */ { 2, s_1_190, -1, 1, 0}, +/*191 */ { 3, s_1_191, 190, 1, 0}, +/*192 */ { 3, s_1_192, 190, 1, 0}, +/*193 */ { 3, s_1_193, -1, 1, 0}, +/*194 */ { 4, s_1_194, 193, 1, 0}, +/*195 */ { 4, s_1_195, 193, 1, 0}, +/*196 */ { 4, s_1_196, 193, 1, 0}, +/*197 */ { 5, s_1_197, -1, 2, 0}, +/*198 */ { 5, s_1_198, -1, 1, 0}, +/*199 */ { 5, s_1_199, -1, 1, 0}, +/*200 */ { 4, s_1_200, -1, 1, 0}, +/*201 */ { 3, s_1_201, -1, 1, 0}, +/*202 */ { 2, s_1_202, -1, 1, 0}, +/*203 */ { 5, s_1_203, -1, 1, 0}, +/*204 */ { 2, s_1_204, -1, 1, 0}, +/*205 */ { 2, s_1_205, -1, 1, 0}, +/*206 */ { 2, s_1_206, -1, 1, 0}, +/*207 */ { 5, s_1_207, -1, 1, 0}, +/*208 */ { 5, s_1_208, -1, 1, 0}, +/*209 */ { 3, s_1_209, -1, 1, 0}, +/*210 */ { 4, s_1_210, 209, 1, 0}, +/*211 */ { 3, s_1_211, -1, 1, 0}, +/*212 */ { 3, s_1_212, -1, 1, 0}, +/*213 */ { 4, s_1_213, 212, 1, 0}, +/*214 */ { 2, s_1_214, -1, 4, 0}, +/*215 */ { 3, s_1_215, 214, 2, 0}, +/*216 */ { 6, s_1_216, 215, 1, 0}, +/*217 */ { 6, s_1_217, 215, 1, 0}, +/*218 */ { 5, s_1_218, 215, 1, 0}, +/*219 */ { 3, s_1_219, 214, 4, 0}, +/*220 */ { 4, s_1_220, 214, 4, 0}, +/*221 */ { 4, s_1_221, -1, 1, 0}, +/*222 */ { 5, s_1_222, 221, 1, 0}, +/*223 */ { 3, s_1_223, -1, 1, 0}, +/*224 */ { 3, s_1_224, -1, 1, 0}, +/*225 */ { 3, s_1_225, -1, 1, 0}, +/*226 */ { 4, s_1_226, -1, 1, 0}, +/*227 */ { 5, s_1_227, 226, 1, 0}, +/*228 */ { 5, s_1_228, -1, 1, 0}, +/*229 */ { 4, s_1_229, -1, 1, 0}, +/*230 */ { 5, s_1_230, 229, 1, 0}, +/*231 */ { 2, s_1_231, -1, 1, 0}, +/*232 */ { 3, s_1_232, 231, 1, 0}, +/*233 */ { 3, s_1_233, -1, 1, 0}, +/*234 */ { 2, s_1_234, -1, 1, 0}, +/*235 */ { 5, s_1_235, 234, 5, 0}, +/*236 */ { 4, s_1_236, 234, 1, 0}, +/*237 */ { 5, s_1_237, 236, 1, 0}, +/*238 */ { 3, s_1_238, 234, 1, 0}, +/*239 */ { 6, s_1_239, 234, 1, 0}, +/*240 */ { 3, s_1_240, 234, 1, 0}, +/*241 */ { 4, s_1_241, 234, 1, 0}, +/*242 */ { 8, s_1_242, 241, 6, 0}, +/*243 */ { 3, s_1_243, 234, 1, 0}, +/*244 */ { 2, s_1_244, -1, 1, 0}, +/*245 */ { 4, s_1_245, 244, 1, 0}, +/*246 */ { 2, s_1_246, -1, 1, 0}, +/*247 */ { 3, s_1_247, 246, 1, 0}, +/*248 */ { 5, s_1_248, 247, 9, 0}, +/*249 */ { 4, s_1_249, 247, 1, 0}, +/*250 */ { 4, s_1_250, 247, 1, 0}, +/*251 */ { 3, s_1_251, 246, 1, 0}, +/*252 */ { 4, s_1_252, 246, 1, 0}, +/*253 */ { 3, s_1_253, 246, 1, 0}, +/*254 */ { 3, s_1_254, -1, 1, 0}, +/*255 */ { 2, s_1_255, -1, 1, 0}, +/*256 */ { 3, s_1_256, 255, 1, 0}, +/*257 */ { 3, s_1_257, 255, 1, 0}, +/*258 */ { 3, s_1_258, -1, 1, 0}, +/*259 */ { 3, s_1_259, -1, 1, 0}, +/*260 */ { 6, s_1_260, 259, 1, 0}, +/*261 */ { 2, s_1_261, -1, 1, 0}, +/*262 */ { 2, s_1_262, -1, 1, 0}, +/*263 */ { 2, s_1_263, -1, 1, 0}, +/*264 */ { 3, s_1_264, 263, 1, 0}, +/*265 */ { 5, s_1_265, 263, 1, 0}, +/*266 */ { 5, s_1_266, 263, 7, 0}, +/*267 */ { 4, s_1_267, 263, 1, 0}, +/*268 */ { 4, s_1_268, 263, 1, 0}, +/*269 */ { 3, s_1_269, 263, 1, 0}, +/*270 */ { 4, s_1_270, 263, 1, 0}, +/*271 */ { 2, s_1_271, -1, 2, 0}, +/*272 */ { 3, s_1_272, 271, 1, 0}, +/*273 */ { 2, s_1_273, -1, 1, 0}, +/*274 */ { 3, s_1_274, -1, 1, 0}, +/*275 */ { 2, s_1_275, -1, 1, 0}, +/*276 */ { 5, s_1_276, 275, 1, 0}, +/*277 */ { 4, s_1_277, 275, 1, 0}, +/*278 */ { 4, s_1_278, -1, 1, 0}, +/*279 */ { 4, s_1_279, -1, 2, 0}, +/*280 */ { 4, s_1_280, -1, 1, 0}, +/*281 */ { 3, s_1_281, -1, 1, 0}, +/*282 */ { 2, s_1_282, -1, 1, 0}, +/*283 */ { 4, s_1_283, 282, 4, 0}, +/*284 */ { 5, s_1_284, 282, 1, 0}, +/*285 */ { 4, s_1_285, 282, 1, 0}, +/*286 */ { 3, s_1_286, -1, 1, 0}, +/*287 */ { 2, s_1_287, -1, 1, 0}, +/*288 */ { 3, s_1_288, 287, 1, 0}, +/*289 */ { 6, s_1_289, 288, 1, 0}, +/*290 */ { 1, s_1_290, -1, 1, 0}, +/*291 */ { 2, s_1_291, 290, 1, 0}, +/*292 */ { 4, s_1_292, 290, 1, 0}, +/*293 */ { 2, s_1_293, 290, 1, 0}, +/*294 */ { 5, s_1_294, 293, 1, 0} +}; + +static const symbol s_2_0[4] = { 'z', 'l', 'e', 'a' }; +static const symbol s_2_1[5] = { 'k', 'e', 'r', 'i', 'a' }; +static const symbol s_2_2[2] = { 'l', 'a' }; +static const symbol s_2_3[3] = { 'e', 'r', 'a' }; +static const symbol s_2_4[4] = { 'd', 'a', 'd', 'e' }; +static const symbol s_2_5[4] = { 't', 'a', 'd', 'e' }; +static const symbol s_2_6[4] = { 'd', 'a', 't', 'e' }; +static const symbol s_2_7[4] = { 't', 'a', 't', 'e' }; +static const symbol s_2_8[2] = { 'g', 'i' }; +static const symbol s_2_9[2] = { 'k', 'i' }; +static const symbol s_2_10[2] = { 'i', 'k' }; +static const symbol s_2_11[5] = { 'l', 'a', 'n', 'i', 'k' }; +static const symbol s_2_12[3] = { 'r', 'i', 'k' }; +static const symbol s_2_13[5] = { 'l', 'a', 'r', 'i', 'k' }; +static const symbol s_2_14[4] = { 'z', 't', 'i', 'k' }; +static const symbol s_2_15[2] = { 'g', 'o' }; +static const symbol s_2_16[2] = { 'r', 'o' }; +static const symbol s_2_17[3] = { 'e', 'r', 'o' }; +static const symbol s_2_18[2] = { 't', 'o' }; + +static const struct among a_2[19] = +{ +/* 0 */ { 4, s_2_0, -1, 2, 0}, +/* 1 */ { 5, s_2_1, -1, 1, 0}, +/* 2 */ { 2, s_2_2, -1, 1, 0}, +/* 3 */ { 3, s_2_3, -1, 1, 0}, +/* 4 */ { 4, s_2_4, -1, 1, 0}, +/* 5 */ { 4, s_2_5, -1, 1, 0}, +/* 6 */ { 4, s_2_6, -1, 1, 0}, +/* 7 */ { 4, s_2_7, -1, 1, 0}, +/* 8 */ { 2, s_2_8, -1, 1, 0}, +/* 9 */ { 2, s_2_9, -1, 1, 0}, +/* 10 */ { 2, s_2_10, -1, 1, 0}, +/* 11 */ { 5, s_2_11, 10, 1, 0}, +/* 12 */ { 3, s_2_12, 10, 1, 0}, +/* 13 */ { 5, s_2_13, 12, 1, 0}, +/* 14 */ { 4, s_2_14, 10, 1, 0}, +/* 15 */ { 2, s_2_15, -1, 1, 0}, +/* 16 */ { 2, s_2_16, -1, 1, 0}, +/* 17 */ { 3, s_2_17, 16, 1, 0}, +/* 18 */ { 2, s_2_18, -1, 1, 0} +}; + +static const unsigned char g_v[] = { 17, 65, 16 }; + +static const symbol s_0[] = { 'a', 't', 's', 'e', 'd', 'e', 'n' }; +static const symbol s_1[] = { 'a', 'r', 'a', 'b', 'e', 'r', 'a' }; +static const symbol s_2[] = { 'b', 'a', 'd', 'i', 't', 'u' }; +static const symbol s_3[] = { 'j', 'o', 'k' }; +static const symbol s_4[] = { 't', 'r', 'a' }; +static const symbol s_5[] = { 'm', 'i', 'n', 'u', 't', 'u' }; +static const symbol s_6[] = { 'z', 'e', 'h', 'a', 'r' }; +static const symbol s_7[] = { 'g', 'e', 'l', 'd', 'i' }; +static const symbol s_8[] = { 'i', 'g', 'a', 'r', 'o' }; +static const symbol s_9[] = { 'a', 'u', 'r', 'k', 'a' }; +static const symbol s_10[] = { 'z' }; + +static int r_mark_regions(struct SN_env * z) { /* forwardmode */ + z->I[0] = z->l; /* $pV = , line 25 */ + z->I[1] = z->l; /* $p1 = , line 26 */ + z->I[2] = z->l; /* $p2 = , line 27 */ + { int c1 = z->c; /* do, line 29 */ + { int c2 = z->c; /* or, line 31 */ + if (in_grouping(z, g_v, 97, 117, 0)) goto lab2; /* grouping v, line 30 */ + { int c3 = z->c; /* or, line 30 */ + if (out_grouping(z, g_v, 97, 117, 0)) goto lab4; /* non v, line 30 */ + { /* gopast */ /* grouping v, line 30 */ + int ret = out_grouping(z, g_v, 97, 117, 1); + if (ret < 0) goto lab4; + z->c += ret; + } + goto lab3; + lab4: + z->c = c3; + if (in_grouping(z, g_v, 97, 117, 0)) goto lab2; /* grouping v, line 30 */ + { /* gopast */ /* non v, line 30 */ + int ret = in_grouping(z, g_v, 97, 117, 1); + if (ret < 0) goto lab2; + z->c += ret; + } + } + lab3: + goto lab1; + lab2: + z->c = c2; + if (out_grouping(z, g_v, 97, 117, 0)) goto lab0; /* non v, line 32 */ + { int c4 = z->c; /* or, line 32 */ + if (out_grouping(z, g_v, 97, 117, 0)) goto lab6; /* non v, line 32 */ + { /* gopast */ /* grouping v, line 32 */ + int ret = out_grouping(z, g_v, 97, 117, 1); + if (ret < 0) goto lab6; + z->c += ret; + } + goto lab5; + lab6: + z->c = c4; + if (in_grouping(z, g_v, 97, 117, 0)) goto lab0; /* grouping v, line 32 */ + if (z->c >= z->l) goto lab0; + z->c++; /* next, line 32 */ + } + lab5: + ; + } + lab1: + z->I[0] = z->c; /* setmark pV, line 33 */ + lab0: + z->c = c1; + } + { int c5 = z->c; /* do, line 35 */ + { /* gopast */ /* grouping v, line 36 */ + int ret = out_grouping(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + { /* gopast */ /* non v, line 36 */ + int ret = in_grouping(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + z->I[1] = z->c; /* setmark p1, line 36 */ + { /* gopast */ /* grouping v, line 37 */ + int ret = out_grouping(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + { /* gopast */ /* non v, line 37 */ + int ret = in_grouping(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + z->I[2] = z->c; /* setmark p2, line 37 */ + lab7: + z->c = c5; + } + return 1; +} + +static int r_RV(struct SN_env * z) { /* backwardmode */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 43 */ + return 1; +} + +static int r_R2(struct SN_env * z) { /* backwardmode */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 44 */ + return 1; +} + +static int r_R1(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 45 */ + return 1; +} + +static int r_aditzak(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 48 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((70566434 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 48 */ + among_var = find_among_b(z, a_0, 109); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 48 */ + switch (among_var) { /* among, line 48 */ + case 1: + { int ret = r_RV(z); /* call RV, line 59 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 59 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 61 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 61 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 7, s_0); /* <-, line 63 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 7, s_1); /* <-, line 65 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 6, s_2); /* <-, line 67 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_izenak(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 73 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((71162402 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 73 */ + among_var = find_among_b(z, a_1, 295); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 73 */ + switch (among_var) { /* among, line 73 */ + case 1: + { int ret = r_RV(z); /* call RV, line 103 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 103 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 105 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 105 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 3, s_3); /* <-, line 107 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = r_R1(z); /* call R1, line 109 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 109 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 3, s_4); /* <-, line 111 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 6, s_5); /* <-, line 113 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 5, s_6); /* <-, line 115 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 5, s_7); /* <-, line 117 */ + if (ret < 0) return ret; + } + break; + case 9: + { int ret = slice_from_s(z, 5, s_8); /* <-, line 119 */ + if (ret < 0) return ret; + } + break; + case 10: + { int ret = slice_from_s(z, 5, s_9); /* <-, line 121 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_adjetiboak(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 126 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((35362 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 126 */ + among_var = find_among_b(z, a_2, 19); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 126 */ + switch (among_var) { /* among, line 126 */ + case 1: + { int ret = r_RV(z); /* call RV, line 129 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 129 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 1, s_10); /* <-, line 131 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +extern int basque_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ + /* do, line 138 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 138 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 139 */ + +/* repeat, line 140 */ + + while(1) { int m1 = z->l - z->c; (void)m1; + { int ret = r_aditzak(z); /* call aditzak, line 140 */ + if (ret == 0) goto lab0; + if (ret < 0) return ret; + } + continue; + lab0: + z->c = z->l - m1; + break; + } +/* repeat, line 141 */ + + while(1) { int m2 = z->l - z->c; (void)m2; + { int ret = r_izenak(z); /* call izenak, line 141 */ + if (ret == 0) goto lab1; + if (ret < 0) return ret; + } + continue; + lab1: + z->c = z->l - m2; + break; + } + { int m3 = z->l - z->c; (void)m3; /* do, line 142 */ + { int ret = r_adjetiboak(z); /* call adjetiboak, line 142 */ + if (ret < 0) return ret; + } + z->c = z->l - m3; + } + z->c = z->lb; + return 1; +} + +extern struct SN_env * basque_ISO_8859_1_create_env(void) { return SN_create_env(0, 3, 0); } + +extern void basque_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_basque.h b/src/dep/snowball/src_c/stem_ISO_8859_1_basque.h new file mode 100644 index 0000000000..b40fc493d0 --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_basque.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * basque_ISO_8859_1_create_env(void); +extern void basque_ISO_8859_1_close_env(struct SN_env * z); + +extern int basque_ISO_8859_1_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_catalan.c b/src/dep/snowball/src_c/stem_ISO_8859_1_catalan.c new file mode 100644 index 0000000000..5bce7c2fb3 --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_catalan.c @@ -0,0 +1,1447 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int catalan_ISO_8859_1_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_residual_suffix(struct SN_env * z); +static int r_verb_suffix(struct SN_env * z); +static int r_standard_suffix(struct SN_env * z); +static int r_attached_pronoun(struct SN_env * z); +static int r_R2(struct SN_env * z); +static int r_R1(struct SN_env * z); +static int r_mark_regions(struct SN_env * z); +static int r_cleaning(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * catalan_ISO_8859_1_create_env(void); +extern void catalan_ISO_8859_1_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_1[1] = { 0xB7 }; +static const symbol s_0_2[1] = { 0xE0 }; +static const symbol s_0_3[1] = { 0xE1 }; +static const symbol s_0_4[1] = { 0xE8 }; +static const symbol s_0_5[1] = { 0xE9 }; +static const symbol s_0_6[1] = { 0xEC }; +static const symbol s_0_7[1] = { 0xED }; +static const symbol s_0_8[1] = { 0xEF }; +static const symbol s_0_9[1] = { 0xF2 }; +static const symbol s_0_10[1] = { 0xF3 }; +static const symbol s_0_11[1] = { 0xFA }; +static const symbol s_0_12[1] = { 0xFC }; + +static const struct among a_0[13] = +{ +/* 0 */ { 0, 0, -1, 7, 0}, +/* 1 */ { 1, s_0_1, 0, 6, 0}, +/* 2 */ { 1, s_0_2, 0, 1, 0}, +/* 3 */ { 1, s_0_3, 0, 1, 0}, +/* 4 */ { 1, s_0_4, 0, 2, 0}, +/* 5 */ { 1, s_0_5, 0, 2, 0}, +/* 6 */ { 1, s_0_6, 0, 3, 0}, +/* 7 */ { 1, s_0_7, 0, 3, 0}, +/* 8 */ { 1, s_0_8, 0, 3, 0}, +/* 9 */ { 1, s_0_9, 0, 4, 0}, +/* 10 */ { 1, s_0_10, 0, 4, 0}, +/* 11 */ { 1, s_0_11, 0, 5, 0}, +/* 12 */ { 1, s_0_12, 0, 5, 0} +}; + +static const symbol s_1_0[2] = { 'l', 'a' }; +static const symbol s_1_1[3] = { '-', 'l', 'a' }; +static const symbol s_1_2[4] = { 's', 'e', 'l', 'a' }; +static const symbol s_1_3[2] = { 'l', 'e' }; +static const symbol s_1_4[2] = { 'm', 'e' }; +static const symbol s_1_5[3] = { '-', 'm', 'e' }; +static const symbol s_1_6[2] = { 's', 'e' }; +static const symbol s_1_7[3] = { '-', 't', 'e' }; +static const symbol s_1_8[2] = { 'h', 'i' }; +static const symbol s_1_9[3] = { '\'', 'h', 'i' }; +static const symbol s_1_10[2] = { 'l', 'i' }; +static const symbol s_1_11[3] = { '-', 'l', 'i' }; +static const symbol s_1_12[2] = { '\'', 'l' }; +static const symbol s_1_13[2] = { '\'', 'm' }; +static const symbol s_1_14[2] = { '-', 'm' }; +static const symbol s_1_15[2] = { '\'', 'n' }; +static const symbol s_1_16[2] = { '-', 'n' }; +static const symbol s_1_17[2] = { 'h', 'o' }; +static const symbol s_1_18[3] = { '\'', 'h', 'o' }; +static const symbol s_1_19[2] = { 'l', 'o' }; +static const symbol s_1_20[4] = { 's', 'e', 'l', 'o' }; +static const symbol s_1_21[2] = { '\'', 's' }; +static const symbol s_1_22[3] = { 'l', 'a', 's' }; +static const symbol s_1_23[5] = { 's', 'e', 'l', 'a', 's' }; +static const symbol s_1_24[3] = { 'l', 'e', 's' }; +static const symbol s_1_25[4] = { '-', 'l', 'e', 's' }; +static const symbol s_1_26[3] = { '\'', 'l', 's' }; +static const symbol s_1_27[3] = { '-', 'l', 's' }; +static const symbol s_1_28[3] = { '\'', 'n', 's' }; +static const symbol s_1_29[3] = { '-', 'n', 's' }; +static const symbol s_1_30[3] = { 'e', 'n', 's' }; +static const symbol s_1_31[3] = { 'l', 'o', 's' }; +static const symbol s_1_32[5] = { 's', 'e', 'l', 'o', 's' }; +static const symbol s_1_33[3] = { 'n', 'o', 's' }; +static const symbol s_1_34[4] = { '-', 'n', 'o', 's' }; +static const symbol s_1_35[3] = { 'v', 'o', 's' }; +static const symbol s_1_36[2] = { 'u', 's' }; +static const symbol s_1_37[3] = { '-', 'u', 's' }; +static const symbol s_1_38[2] = { '\'', 't' }; + +static const struct among a_1[39] = +{ +/* 0 */ { 2, s_1_0, -1, 1, 0}, +/* 1 */ { 3, s_1_1, 0, 1, 0}, +/* 2 */ { 4, s_1_2, 0, 1, 0}, +/* 3 */ { 2, s_1_3, -1, 1, 0}, +/* 4 */ { 2, s_1_4, -1, 1, 0}, +/* 5 */ { 3, s_1_5, 4, 1, 0}, +/* 6 */ { 2, s_1_6, -1, 1, 0}, +/* 7 */ { 3, s_1_7, -1, 1, 0}, +/* 8 */ { 2, s_1_8, -1, 1, 0}, +/* 9 */ { 3, s_1_9, 8, 1, 0}, +/* 10 */ { 2, s_1_10, -1, 1, 0}, +/* 11 */ { 3, s_1_11, 10, 1, 0}, +/* 12 */ { 2, s_1_12, -1, 1, 0}, +/* 13 */ { 2, s_1_13, -1, 1, 0}, +/* 14 */ { 2, s_1_14, -1, 1, 0}, +/* 15 */ { 2, s_1_15, -1, 1, 0}, +/* 16 */ { 2, s_1_16, -1, 1, 0}, +/* 17 */ { 2, s_1_17, -1, 1, 0}, +/* 18 */ { 3, s_1_18, 17, 1, 0}, +/* 19 */ { 2, s_1_19, -1, 1, 0}, +/* 20 */ { 4, s_1_20, 19, 1, 0}, +/* 21 */ { 2, s_1_21, -1, 1, 0}, +/* 22 */ { 3, s_1_22, -1, 1, 0}, +/* 23 */ { 5, s_1_23, 22, 1, 0}, +/* 24 */ { 3, s_1_24, -1, 1, 0}, +/* 25 */ { 4, s_1_25, 24, 1, 0}, +/* 26 */ { 3, s_1_26, -1, 1, 0}, +/* 27 */ { 3, s_1_27, -1, 1, 0}, +/* 28 */ { 3, s_1_28, -1, 1, 0}, +/* 29 */ { 3, s_1_29, -1, 1, 0}, +/* 30 */ { 3, s_1_30, -1, 1, 0}, +/* 31 */ { 3, s_1_31, -1, 1, 0}, +/* 32 */ { 5, s_1_32, 31, 1, 0}, +/* 33 */ { 3, s_1_33, -1, 1, 0}, +/* 34 */ { 4, s_1_34, 33, 1, 0}, +/* 35 */ { 3, s_1_35, -1, 1, 0}, +/* 36 */ { 2, s_1_36, -1, 1, 0}, +/* 37 */ { 3, s_1_37, 36, 1, 0}, +/* 38 */ { 2, s_1_38, -1, 1, 0} +}; + +static const symbol s_2_0[3] = { 'i', 'c', 'a' }; +static const symbol s_2_1[6] = { 'l', 0xF3, 'g', 'i', 'c', 'a' }; +static const symbol s_2_2[4] = { 'e', 'n', 'c', 'a' }; +static const symbol s_2_3[3] = { 'a', 'd', 'a' }; +static const symbol s_2_4[5] = { 'a', 'n', 'c', 'i', 'a' }; +static const symbol s_2_5[5] = { 'e', 'n', 'c', 'i', 'a' }; +static const symbol s_2_6[5] = { 0xE8, 'n', 'c', 'i', 'a' }; +static const symbol s_2_7[4] = { 0xED, 'c', 'i', 'a' }; +static const symbol s_2_8[5] = { 'l', 'o', 'g', 'i', 'a' }; +static const symbol s_2_9[4] = { 'i', 'n', 'i', 'a' }; +static const symbol s_2_10[5] = { 0xED, 'i', 'n', 'i', 'a' }; +static const symbol s_2_11[4] = { 'e', 'r', 'i', 'a' }; +static const symbol s_2_12[4] = { 0xE0, 'r', 'i', 'a' }; +static const symbol s_2_13[6] = { 'a', 't', 0xF2, 'r', 'i', 'a' }; +static const symbol s_2_14[4] = { 'a', 'l', 'l', 'a' }; +static const symbol s_2_15[4] = { 'e', 'l', 'l', 'a' }; +static const symbol s_2_16[5] = { 0xED, 'v', 'o', 'l', 'a' }; +static const symbol s_2_17[3] = { 'i', 'm', 'a' }; +static const symbol s_2_18[6] = { 0xED, 's', 's', 'i', 'm', 'a' }; +static const symbol s_2_19[8] = { 'q', 'u', 0xED, 's', 's', 'i', 'm', 'a' }; +static const symbol s_2_20[3] = { 'a', 'n', 'a' }; +static const symbol s_2_21[3] = { 'i', 'n', 'a' }; +static const symbol s_2_22[3] = { 'e', 'r', 'a' }; +static const symbol s_2_23[5] = { 's', 'f', 'e', 'r', 'a' }; +static const symbol s_2_24[3] = { 'o', 'r', 'a' }; +static const symbol s_2_25[4] = { 'd', 'o', 'r', 'a' }; +static const symbol s_2_26[5] = { 'a', 'd', 'o', 'r', 'a' }; +static const symbol s_2_27[5] = { 'a', 'd', 'u', 'r', 'a' }; +static const symbol s_2_28[3] = { 'e', 's', 'a' }; +static const symbol s_2_29[3] = { 'o', 's', 'a' }; +static const symbol s_2_30[4] = { 'a', 's', 's', 'a' }; +static const symbol s_2_31[4] = { 'e', 's', 's', 'a' }; +static const symbol s_2_32[4] = { 'i', 's', 's', 'a' }; +static const symbol s_2_33[3] = { 'e', 't', 'a' }; +static const symbol s_2_34[3] = { 'i', 't', 'a' }; +static const symbol s_2_35[3] = { 'o', 't', 'a' }; +static const symbol s_2_36[4] = { 'i', 's', 't', 'a' }; +static const symbol s_2_37[7] = { 'i', 'a', 'l', 'i', 's', 't', 'a' }; +static const symbol s_2_38[7] = { 'i', 'o', 'n', 'i', 's', 't', 'a' }; +static const symbol s_2_39[3] = { 'i', 'v', 'a' }; +static const symbol s_2_40[5] = { 'a', 't', 'i', 'v', 'a' }; +static const symbol s_2_41[3] = { 'n', 0xE7, 'a' }; +static const symbol s_2_42[5] = { 'l', 'o', 'g', 0xED, 'a' }; +static const symbol s_2_43[2] = { 'i', 'c' }; +static const symbol s_2_44[5] = { 0xED, 's', 't', 'i', 'c' }; +static const symbol s_2_45[3] = { 'e', 'n', 'c' }; +static const symbol s_2_46[3] = { 'e', 's', 'c' }; +static const symbol s_2_47[2] = { 'u', 'd' }; +static const symbol s_2_48[4] = { 'a', 't', 'g', 'e' }; +static const symbol s_2_49[3] = { 'b', 'l', 'e' }; +static const symbol s_2_50[4] = { 'a', 'b', 'l', 'e' }; +static const symbol s_2_51[4] = { 'i', 'b', 'l', 'e' }; +static const symbol s_2_52[4] = { 'i', 's', 'm', 'e' }; +static const symbol s_2_53[7] = { 'i', 'a', 'l', 'i', 's', 'm', 'e' }; +static const symbol s_2_54[7] = { 'i', 'o', 'n', 'i', 's', 'm', 'e' }; +static const symbol s_2_55[6] = { 'i', 'v', 'i', 's', 'm', 'e' }; +static const symbol s_2_56[4] = { 'a', 'i', 'r', 'e' }; +static const symbol s_2_57[4] = { 'i', 'c', 't', 'e' }; +static const symbol s_2_58[4] = { 'i', 's', 't', 'e' }; +static const symbol s_2_59[3] = { 'i', 'c', 'i' }; +static const symbol s_2_60[3] = { 0xED, 'c', 'i' }; +static const symbol s_2_61[4] = { 'l', 'o', 'g', 'i' }; +static const symbol s_2_62[3] = { 'a', 'r', 'i' }; +static const symbol s_2_63[4] = { 't', 'o', 'r', 'i' }; +static const symbol s_2_64[2] = { 'a', 'l' }; +static const symbol s_2_65[2] = { 'i', 'l' }; +static const symbol s_2_66[3] = { 'a', 'l', 'l' }; +static const symbol s_2_67[3] = { 'e', 'l', 'l' }; +static const symbol s_2_68[4] = { 0xED, 'v', 'o', 'l' }; +static const symbol s_2_69[4] = { 'i', 's', 'a', 'm' }; +static const symbol s_2_70[5] = { 'i', 's', 's', 'e', 'm' }; +static const symbol s_2_71[5] = { 0xEC, 's', 's', 'e', 'm' }; +static const symbol s_2_72[5] = { 0xED, 's', 's', 'e', 'm' }; +static const symbol s_2_73[5] = { 0xED, 's', 's', 'i', 'm' }; +static const symbol s_2_74[7] = { 'q', 'u', 0xED, 's', 's', 'i', 'm' }; +static const symbol s_2_75[4] = { 'a', 'm', 'e', 'n' }; +static const symbol s_2_76[5] = { 0xEC, 's', 's', 'i', 'n' }; +static const symbol s_2_77[2] = { 'a', 'r' }; +static const symbol s_2_78[6] = { 'i', 'f', 'i', 'c', 'a', 'r' }; +static const symbol s_2_79[4] = { 'e', 'g', 'a', 'r' }; +static const symbol s_2_80[4] = { 'e', 'j', 'a', 'r' }; +static const symbol s_2_81[4] = { 'i', 't', 'a', 'r' }; +static const symbol s_2_82[5] = { 'i', 't', 'z', 'a', 'r' }; +static const symbol s_2_83[3] = { 'f', 'e', 'r' }; +static const symbol s_2_84[2] = { 'o', 'r' }; +static const symbol s_2_85[3] = { 'd', 'o', 'r' }; +static const symbol s_2_86[3] = { 'd', 'u', 'r' }; +static const symbol s_2_87[5] = { 'd', 'o', 'r', 'a', 's' }; +static const symbol s_2_88[3] = { 'i', 'c', 's' }; +static const symbol s_2_89[6] = { 'l', 0xF3, 'g', 'i', 'c', 's' }; +static const symbol s_2_90[3] = { 'u', 'd', 's' }; +static const symbol s_2_91[4] = { 'n', 'c', 'e', 's' }; +static const symbol s_2_92[4] = { 'a', 'd', 'e', 's' }; +static const symbol s_2_93[6] = { 'a', 'n', 'c', 'i', 'e', 's' }; +static const symbol s_2_94[6] = { 'e', 'n', 'c', 'i', 'e', 's' }; +static const symbol s_2_95[6] = { 0xE8, 'n', 'c', 'i', 'e', 's' }; +static const symbol s_2_96[5] = { 0xED, 'c', 'i', 'e', 's' }; +static const symbol s_2_97[6] = { 'l', 'o', 'g', 'i', 'e', 's' }; +static const symbol s_2_98[5] = { 'i', 'n', 'i', 'e', 's' }; +static const symbol s_2_99[5] = { 0xED, 'n', 'i', 'e', 's' }; +static const symbol s_2_100[5] = { 'e', 'r', 'i', 'e', 's' }; +static const symbol s_2_101[5] = { 0xE0, 'r', 'i', 'e', 's' }; +static const symbol s_2_102[7] = { 'a', 't', 0xF2, 'r', 'i', 'e', 's' }; +static const symbol s_2_103[4] = { 'b', 'l', 'e', 's' }; +static const symbol s_2_104[5] = { 'a', 'b', 'l', 'e', 's' }; +static const symbol s_2_105[5] = { 'i', 'b', 'l', 'e', 's' }; +static const symbol s_2_106[4] = { 'i', 'm', 'e', 's' }; +static const symbol s_2_107[7] = { 0xED, 's', 's', 'i', 'm', 'e', 's' }; +static const symbol s_2_108[9] = { 'q', 'u', 0xED, 's', 's', 'i', 'm', 'e', 's' }; +static const symbol s_2_109[6] = { 'f', 'o', 'r', 'm', 'e', 's' }; +static const symbol s_2_110[5] = { 'i', 's', 'm', 'e', 's' }; +static const symbol s_2_111[8] = { 'i', 'a', 'l', 'i', 's', 'm', 'e', 's' }; +static const symbol s_2_112[4] = { 'i', 'n', 'e', 's' }; +static const symbol s_2_113[4] = { 'e', 'r', 'e', 's' }; +static const symbol s_2_114[4] = { 'o', 'r', 'e', 's' }; +static const symbol s_2_115[5] = { 'd', 'o', 'r', 'e', 's' }; +static const symbol s_2_116[6] = { 'i', 'd', 'o', 'r', 'e', 's' }; +static const symbol s_2_117[5] = { 'd', 'u', 'r', 'e', 's' }; +static const symbol s_2_118[4] = { 'e', 's', 'e', 's' }; +static const symbol s_2_119[4] = { 'o', 's', 'e', 's' }; +static const symbol s_2_120[5] = { 'a', 's', 's', 'e', 's' }; +static const symbol s_2_121[5] = { 'i', 'c', 't', 'e', 's' }; +static const symbol s_2_122[4] = { 'i', 't', 'e', 's' }; +static const symbol s_2_123[4] = { 'o', 't', 'e', 's' }; +static const symbol s_2_124[5] = { 'i', 's', 't', 'e', 's' }; +static const symbol s_2_125[8] = { 'i', 'a', 'l', 'i', 's', 't', 'e', 's' }; +static const symbol s_2_126[8] = { 'i', 'o', 'n', 'i', 's', 't', 'e', 's' }; +static const symbol s_2_127[5] = { 'i', 'q', 'u', 'e', 's' }; +static const symbol s_2_128[8] = { 'l', 0xF3, 'g', 'i', 'q', 'u', 'e', 's' }; +static const symbol s_2_129[4] = { 'i', 'v', 'e', 's' }; +static const symbol s_2_130[6] = { 'a', 't', 'i', 'v', 'e', 's' }; +static const symbol s_2_131[6] = { 'l', 'o', 'g', 0xED, 'e', 's' }; +static const symbol s_2_132[9] = { 'a', 'l', 'l', 'e', 'n', 'g', 0xFC, 'e', 's' }; +static const symbol s_2_133[4] = { 'i', 'c', 'i', 's' }; +static const symbol s_2_134[4] = { 0xED, 'c', 'i', 's' }; +static const symbol s_2_135[5] = { 'l', 'o', 'g', 'i', 's' }; +static const symbol s_2_136[4] = { 'a', 'r', 'i', 's' }; +static const symbol s_2_137[5] = { 't', 'o', 'r', 'i', 's' }; +static const symbol s_2_138[2] = { 'l', 's' }; +static const symbol s_2_139[3] = { 'a', 'l', 's' }; +static const symbol s_2_140[4] = { 'e', 'l', 'l', 's' }; +static const symbol s_2_141[3] = { 'i', 'm', 's' }; +static const symbol s_2_142[6] = { 0xED, 's', 's', 'i', 'm', 's' }; +static const symbol s_2_143[8] = { 'q', 'u', 0xED, 's', 's', 'i', 'm', 's' }; +static const symbol s_2_144[4] = { 'i', 'o', 'n', 's' }; +static const symbol s_2_145[5] = { 'c', 'i', 'o', 'n', 's' }; +static const symbol s_2_146[6] = { 'a', 'c', 'i', 'o', 'n', 's' }; +static const symbol s_2_147[4] = { 'e', 's', 'o', 's' }; +static const symbol s_2_148[4] = { 'o', 's', 'o', 's' }; +static const symbol s_2_149[5] = { 'a', 's', 's', 'o', 's' }; +static const symbol s_2_150[5] = { 'i', 's', 's', 'o', 's' }; +static const symbol s_2_151[3] = { 'e', 'r', 's' }; +static const symbol s_2_152[3] = { 'o', 'r', 's' }; +static const symbol s_2_153[4] = { 'd', 'o', 'r', 's' }; +static const symbol s_2_154[5] = { 'a', 'd', 'o', 'r', 's' }; +static const symbol s_2_155[5] = { 'i', 'd', 'o', 'r', 's' }; +static const symbol s_2_156[3] = { 'a', 't', 's' }; +static const symbol s_2_157[5] = { 'i', 't', 'a', 't', 's' }; +static const symbol s_2_158[8] = { 'b', 'i', 'l', 'i', 't', 'a', 't', 's' }; +static const symbol s_2_159[7] = { 'i', 'v', 'i', 't', 'a', 't', 's' }; +static const symbol s_2_160[9] = { 'a', 't', 'i', 'v', 'i', 't', 'a', 't', 's' }; +static const symbol s_2_161[5] = { 0xEF, 't', 'a', 't', 's' }; +static const symbol s_2_162[3] = { 'e', 't', 's' }; +static const symbol s_2_163[4] = { 'a', 'n', 't', 's' }; +static const symbol s_2_164[4] = { 'e', 'n', 't', 's' }; +static const symbol s_2_165[5] = { 'm', 'e', 'n', 't', 's' }; +static const symbol s_2_166[6] = { 'a', 'm', 'e', 'n', 't', 's' }; +static const symbol s_2_167[3] = { 'o', 't', 's' }; +static const symbol s_2_168[3] = { 'u', 't', 's' }; +static const symbol s_2_169[3] = { 'i', 'u', 's' }; +static const symbol s_2_170[5] = { 't', 'r', 'i', 'u', 's' }; +static const symbol s_2_171[5] = { 'a', 't', 'i', 'u', 's' }; +static const symbol s_2_172[2] = { 0xE8, 's' }; +static const symbol s_2_173[2] = { 0xE9, 's' }; +static const symbol s_2_174[2] = { 0xED, 's' }; +static const symbol s_2_175[3] = { 'd', 0xED, 's' }; +static const symbol s_2_176[2] = { 0xF3, 's' }; +static const symbol s_2_177[4] = { 'i', 't', 'a', 't' }; +static const symbol s_2_178[7] = { 'b', 'i', 'l', 'i', 't', 'a', 't' }; +static const symbol s_2_179[6] = { 'i', 'v', 'i', 't', 'a', 't' }; +static const symbol s_2_180[8] = { 'a', 't', 'i', 'v', 'i', 't', 'a', 't' }; +static const symbol s_2_181[4] = { 0xEF, 't', 'a', 't' }; +static const symbol s_2_182[2] = { 'e', 't' }; +static const symbol s_2_183[3] = { 'a', 'n', 't' }; +static const symbol s_2_184[3] = { 'e', 'n', 't' }; +static const symbol s_2_185[4] = { 'i', 'e', 'n', 't' }; +static const symbol s_2_186[4] = { 'm', 'e', 'n', 't' }; +static const symbol s_2_187[5] = { 'a', 'm', 'e', 'n', 't' }; +static const symbol s_2_188[7] = { 'i', 's', 'a', 'm', 'e', 'n', 't' }; +static const symbol s_2_189[2] = { 'o', 't' }; +static const symbol s_2_190[5] = { 'i', 's', 's', 'e', 'u' }; +static const symbol s_2_191[5] = { 0xEC, 's', 's', 'e', 'u' }; +static const symbol s_2_192[5] = { 0xED, 's', 's', 'e', 'u' }; +static const symbol s_2_193[4] = { 't', 'r', 'i', 'u' }; +static const symbol s_2_194[5] = { 0xED, 's', 's', 'i', 'u' }; +static const symbol s_2_195[4] = { 'a', 't', 'i', 'u' }; +static const symbol s_2_196[1] = { 0xF3 }; +static const symbol s_2_197[2] = { 'i', 0xF3 }; +static const symbol s_2_198[3] = { 'c', 'i', 0xF3 }; +static const symbol s_2_199[4] = { 'a', 'c', 'i', 0xF3 }; + +static const struct among a_2[200] = +{ +/* 0 */ { 3, s_2_0, -1, 4, 0}, +/* 1 */ { 6, s_2_1, 0, 3, 0}, +/* 2 */ { 4, s_2_2, -1, 1, 0}, +/* 3 */ { 3, s_2_3, -1, 2, 0}, +/* 4 */ { 5, s_2_4, -1, 1, 0}, +/* 5 */ { 5, s_2_5, -1, 1, 0}, +/* 6 */ { 5, s_2_6, -1, 1, 0}, +/* 7 */ { 4, s_2_7, -1, 1, 0}, +/* 8 */ { 5, s_2_8, -1, 3, 0}, +/* 9 */ { 4, s_2_9, -1, 1, 0}, +/* 10 */ { 5, s_2_10, 9, 1, 0}, +/* 11 */ { 4, s_2_11, -1, 1, 0}, +/* 12 */ { 4, s_2_12, -1, 1, 0}, +/* 13 */ { 6, s_2_13, -1, 1, 0}, +/* 14 */ { 4, s_2_14, -1, 1, 0}, +/* 15 */ { 4, s_2_15, -1, 1, 0}, +/* 16 */ { 5, s_2_16, -1, 1, 0}, +/* 17 */ { 3, s_2_17, -1, 1, 0}, +/* 18 */ { 6, s_2_18, 17, 1, 0}, +/* 19 */ { 8, s_2_19, 18, 5, 0}, +/* 20 */ { 3, s_2_20, -1, 1, 0}, +/* 21 */ { 3, s_2_21, -1, 1, 0}, +/* 22 */ { 3, s_2_22, -1, 1, 0}, +/* 23 */ { 5, s_2_23, 22, 1, 0}, +/* 24 */ { 3, s_2_24, -1, 1, 0}, +/* 25 */ { 4, s_2_25, 24, 1, 0}, +/* 26 */ { 5, s_2_26, 25, 1, 0}, +/* 27 */ { 5, s_2_27, -1, 1, 0}, +/* 28 */ { 3, s_2_28, -1, 1, 0}, +/* 29 */ { 3, s_2_29, -1, 1, 0}, +/* 30 */ { 4, s_2_30, -1, 1, 0}, +/* 31 */ { 4, s_2_31, -1, 1, 0}, +/* 32 */ { 4, s_2_32, -1, 1, 0}, +/* 33 */ { 3, s_2_33, -1, 1, 0}, +/* 34 */ { 3, s_2_34, -1, 1, 0}, +/* 35 */ { 3, s_2_35, -1, 1, 0}, +/* 36 */ { 4, s_2_36, -1, 1, 0}, +/* 37 */ { 7, s_2_37, 36, 1, 0}, +/* 38 */ { 7, s_2_38, 36, 1, 0}, +/* 39 */ { 3, s_2_39, -1, 1, 0}, +/* 40 */ { 5, s_2_40, 39, 1, 0}, +/* 41 */ { 3, s_2_41, -1, 1, 0}, +/* 42 */ { 5, s_2_42, -1, 3, 0}, +/* 43 */ { 2, s_2_43, -1, 4, 0}, +/* 44 */ { 5, s_2_44, 43, 1, 0}, +/* 45 */ { 3, s_2_45, -1, 1, 0}, +/* 46 */ { 3, s_2_46, -1, 1, 0}, +/* 47 */ { 2, s_2_47, -1, 1, 0}, +/* 48 */ { 4, s_2_48, -1, 1, 0}, +/* 49 */ { 3, s_2_49, -1, 1, 0}, +/* 50 */ { 4, s_2_50, 49, 1, 0}, +/* 51 */ { 4, s_2_51, 49, 1, 0}, +/* 52 */ { 4, s_2_52, -1, 1, 0}, +/* 53 */ { 7, s_2_53, 52, 1, 0}, +/* 54 */ { 7, s_2_54, 52, 1, 0}, +/* 55 */ { 6, s_2_55, 52, 1, 0}, +/* 56 */ { 4, s_2_56, -1, 1, 0}, +/* 57 */ { 4, s_2_57, -1, 1, 0}, +/* 58 */ { 4, s_2_58, -1, 1, 0}, +/* 59 */ { 3, s_2_59, -1, 1, 0}, +/* 60 */ { 3, s_2_60, -1, 1, 0}, +/* 61 */ { 4, s_2_61, -1, 3, 0}, +/* 62 */ { 3, s_2_62, -1, 1, 0}, +/* 63 */ { 4, s_2_63, -1, 1, 0}, +/* 64 */ { 2, s_2_64, -1, 1, 0}, +/* 65 */ { 2, s_2_65, -1, 1, 0}, +/* 66 */ { 3, s_2_66, -1, 1, 0}, +/* 67 */ { 3, s_2_67, -1, 1, 0}, +/* 68 */ { 4, s_2_68, -1, 1, 0}, +/* 69 */ { 4, s_2_69, -1, 1, 0}, +/* 70 */ { 5, s_2_70, -1, 1, 0}, +/* 71 */ { 5, s_2_71, -1, 1, 0}, +/* 72 */ { 5, s_2_72, -1, 1, 0}, +/* 73 */ { 5, s_2_73, -1, 1, 0}, +/* 74 */ { 7, s_2_74, 73, 5, 0}, +/* 75 */ { 4, s_2_75, -1, 1, 0}, +/* 76 */ { 5, s_2_76, -1, 1, 0}, +/* 77 */ { 2, s_2_77, -1, 1, 0}, +/* 78 */ { 6, s_2_78, 77, 1, 0}, +/* 79 */ { 4, s_2_79, 77, 1, 0}, +/* 80 */ { 4, s_2_80, 77, 1, 0}, +/* 81 */ { 4, s_2_81, 77, 1, 0}, +/* 82 */ { 5, s_2_82, 77, 1, 0}, +/* 83 */ { 3, s_2_83, -1, 1, 0}, +/* 84 */ { 2, s_2_84, -1, 1, 0}, +/* 85 */ { 3, s_2_85, 84, 1, 0}, +/* 86 */ { 3, s_2_86, -1, 1, 0}, +/* 87 */ { 5, s_2_87, -1, 1, 0}, +/* 88 */ { 3, s_2_88, -1, 4, 0}, +/* 89 */ { 6, s_2_89, 88, 3, 0}, +/* 90 */ { 3, s_2_90, -1, 1, 0}, +/* 91 */ { 4, s_2_91, -1, 1, 0}, +/* 92 */ { 4, s_2_92, -1, 2, 0}, +/* 93 */ { 6, s_2_93, -1, 1, 0}, +/* 94 */ { 6, s_2_94, -1, 1, 0}, +/* 95 */ { 6, s_2_95, -1, 1, 0}, +/* 96 */ { 5, s_2_96, -1, 1, 0}, +/* 97 */ { 6, s_2_97, -1, 3, 0}, +/* 98 */ { 5, s_2_98, -1, 1, 0}, +/* 99 */ { 5, s_2_99, -1, 1, 0}, +/*100 */ { 5, s_2_100, -1, 1, 0}, +/*101 */ { 5, s_2_101, -1, 1, 0}, +/*102 */ { 7, s_2_102, -1, 1, 0}, +/*103 */ { 4, s_2_103, -1, 1, 0}, +/*104 */ { 5, s_2_104, 103, 1, 0}, +/*105 */ { 5, s_2_105, 103, 1, 0}, +/*106 */ { 4, s_2_106, -1, 1, 0}, +/*107 */ { 7, s_2_107, 106, 1, 0}, +/*108 */ { 9, s_2_108, 107, 5, 0}, +/*109 */ { 6, s_2_109, -1, 1, 0}, +/*110 */ { 5, s_2_110, -1, 1, 0}, +/*111 */ { 8, s_2_111, 110, 1, 0}, +/*112 */ { 4, s_2_112, -1, 1, 0}, +/*113 */ { 4, s_2_113, -1, 1, 0}, +/*114 */ { 4, s_2_114, -1, 1, 0}, +/*115 */ { 5, s_2_115, 114, 1, 0}, +/*116 */ { 6, s_2_116, 115, 1, 0}, +/*117 */ { 5, s_2_117, -1, 1, 0}, +/*118 */ { 4, s_2_118, -1, 1, 0}, +/*119 */ { 4, s_2_119, -1, 1, 0}, +/*120 */ { 5, s_2_120, -1, 1, 0}, +/*121 */ { 5, s_2_121, -1, 1, 0}, +/*122 */ { 4, s_2_122, -1, 1, 0}, +/*123 */ { 4, s_2_123, -1, 1, 0}, +/*124 */ { 5, s_2_124, -1, 1, 0}, +/*125 */ { 8, s_2_125, 124, 1, 0}, +/*126 */ { 8, s_2_126, 124, 1, 0}, +/*127 */ { 5, s_2_127, -1, 4, 0}, +/*128 */ { 8, s_2_128, 127, 3, 0}, +/*129 */ { 4, s_2_129, -1, 1, 0}, +/*130 */ { 6, s_2_130, 129, 1, 0}, +/*131 */ { 6, s_2_131, -1, 3, 0}, +/*132 */ { 9, s_2_132, -1, 1, 0}, +/*133 */ { 4, s_2_133, -1, 1, 0}, +/*134 */ { 4, s_2_134, -1, 1, 0}, +/*135 */ { 5, s_2_135, -1, 3, 0}, +/*136 */ { 4, s_2_136, -1, 1, 0}, +/*137 */ { 5, s_2_137, -1, 1, 0}, +/*138 */ { 2, s_2_138, -1, 1, 0}, +/*139 */ { 3, s_2_139, 138, 1, 0}, +/*140 */ { 4, s_2_140, 138, 1, 0}, +/*141 */ { 3, s_2_141, -1, 1, 0}, +/*142 */ { 6, s_2_142, 141, 1, 0}, +/*143 */ { 8, s_2_143, 142, 5, 0}, +/*144 */ { 4, s_2_144, -1, 1, 0}, +/*145 */ { 5, s_2_145, 144, 1, 0}, +/*146 */ { 6, s_2_146, 145, 2, 0}, +/*147 */ { 4, s_2_147, -1, 1, 0}, +/*148 */ { 4, s_2_148, -1, 1, 0}, +/*149 */ { 5, s_2_149, -1, 1, 0}, +/*150 */ { 5, s_2_150, -1, 1, 0}, +/*151 */ { 3, s_2_151, -1, 1, 0}, +/*152 */ { 3, s_2_152, -1, 1, 0}, +/*153 */ { 4, s_2_153, 152, 1, 0}, +/*154 */ { 5, s_2_154, 153, 1, 0}, +/*155 */ { 5, s_2_155, 153, 1, 0}, +/*156 */ { 3, s_2_156, -1, 1, 0}, +/*157 */ { 5, s_2_157, 156, 1, 0}, +/*158 */ { 8, s_2_158, 157, 1, 0}, +/*159 */ { 7, s_2_159, 157, 1, 0}, +/*160 */ { 9, s_2_160, 159, 1, 0}, +/*161 */ { 5, s_2_161, 156, 1, 0}, +/*162 */ { 3, s_2_162, -1, 1, 0}, +/*163 */ { 4, s_2_163, -1, 1, 0}, +/*164 */ { 4, s_2_164, -1, 1, 0}, +/*165 */ { 5, s_2_165, 164, 1, 0}, +/*166 */ { 6, s_2_166, 165, 1, 0}, +/*167 */ { 3, s_2_167, -1, 1, 0}, +/*168 */ { 3, s_2_168, -1, 1, 0}, +/*169 */ { 3, s_2_169, -1, 1, 0}, +/*170 */ { 5, s_2_170, 169, 1, 0}, +/*171 */ { 5, s_2_171, 169, 1, 0}, +/*172 */ { 2, s_2_172, -1, 1, 0}, +/*173 */ { 2, s_2_173, -1, 1, 0}, +/*174 */ { 2, s_2_174, -1, 1, 0}, +/*175 */ { 3, s_2_175, 174, 1, 0}, +/*176 */ { 2, s_2_176, -1, 1, 0}, +/*177 */ { 4, s_2_177, -1, 1, 0}, +/*178 */ { 7, s_2_178, 177, 1, 0}, +/*179 */ { 6, s_2_179, 177, 1, 0}, +/*180 */ { 8, s_2_180, 179, 1, 0}, +/*181 */ { 4, s_2_181, -1, 1, 0}, +/*182 */ { 2, s_2_182, -1, 1, 0}, +/*183 */ { 3, s_2_183, -1, 1, 0}, +/*184 */ { 3, s_2_184, -1, 1, 0}, +/*185 */ { 4, s_2_185, 184, 1, 0}, +/*186 */ { 4, s_2_186, 184, 1, 0}, +/*187 */ { 5, s_2_187, 186, 1, 0}, +/*188 */ { 7, s_2_188, 187, 1, 0}, +/*189 */ { 2, s_2_189, -1, 1, 0}, +/*190 */ { 5, s_2_190, -1, 1, 0}, +/*191 */ { 5, s_2_191, -1, 1, 0}, +/*192 */ { 5, s_2_192, -1, 1, 0}, +/*193 */ { 4, s_2_193, -1, 1, 0}, +/*194 */ { 5, s_2_194, -1, 1, 0}, +/*195 */ { 4, s_2_195, -1, 1, 0}, +/*196 */ { 1, s_2_196, -1, 1, 0}, +/*197 */ { 2, s_2_197, 196, 1, 0}, +/*198 */ { 3, s_2_198, 197, 1, 0}, +/*199 */ { 4, s_2_199, 198, 1, 0} +}; + +static const symbol s_3_0[3] = { 'a', 'b', 'a' }; +static const symbol s_3_1[4] = { 'e', 's', 'c', 'a' }; +static const symbol s_3_2[4] = { 'i', 's', 'c', 'a' }; +static const symbol s_3_3[4] = { 0xEF, 's', 'c', 'a' }; +static const symbol s_3_4[3] = { 'a', 'd', 'a' }; +static const symbol s_3_5[3] = { 'i', 'd', 'a' }; +static const symbol s_3_6[3] = { 'u', 'd', 'a' }; +static const symbol s_3_7[3] = { 0xEF, 'd', 'a' }; +static const symbol s_3_8[2] = { 'i', 'a' }; +static const symbol s_3_9[4] = { 'a', 'r', 'i', 'a' }; +static const symbol s_3_10[4] = { 'i', 'r', 'i', 'a' }; +static const symbol s_3_11[3] = { 'a', 'r', 'a' }; +static const symbol s_3_12[4] = { 'i', 'e', 'r', 'a' }; +static const symbol s_3_13[3] = { 'i', 'r', 'a' }; +static const symbol s_3_14[5] = { 'a', 'd', 'o', 'r', 'a' }; +static const symbol s_3_15[3] = { 0xEF, 'r', 'a' }; +static const symbol s_3_16[3] = { 'a', 'v', 'a' }; +static const symbol s_3_17[3] = { 'i', 'x', 'a' }; +static const symbol s_3_18[4] = { 'i', 't', 'z', 'a' }; +static const symbol s_3_19[2] = { 0xED, 'a' }; +static const symbol s_3_20[4] = { 'a', 'r', 0xED, 'a' }; +static const symbol s_3_21[4] = { 'e', 'r', 0xED, 'a' }; +static const symbol s_3_22[4] = { 'i', 'r', 0xED, 'a' }; +static const symbol s_3_23[2] = { 0xEF, 'a' }; +static const symbol s_3_24[3] = { 'i', 's', 'c' }; +static const symbol s_3_25[3] = { 0xEF, 's', 'c' }; +static const symbol s_3_26[2] = { 'a', 'd' }; +static const symbol s_3_27[2] = { 'e', 'd' }; +static const symbol s_3_28[2] = { 'i', 'd' }; +static const symbol s_3_29[2] = { 'i', 'e' }; +static const symbol s_3_30[2] = { 'r', 'e' }; +static const symbol s_3_31[3] = { 'd', 'r', 'e' }; +static const symbol s_3_32[3] = { 'a', 's', 'e' }; +static const symbol s_3_33[4] = { 'i', 'e', 's', 'e' }; +static const symbol s_3_34[4] = { 'a', 's', 't', 'e' }; +static const symbol s_3_35[4] = { 'i', 's', 't', 'e' }; +static const symbol s_3_36[2] = { 'i', 'i' }; +static const symbol s_3_37[3] = { 'i', 'n', 'i' }; +static const symbol s_3_38[5] = { 'e', 's', 'q', 'u', 'i' }; +static const symbol s_3_39[4] = { 'e', 'i', 'x', 'i' }; +static const symbol s_3_40[4] = { 'i', 't', 'z', 'i' }; +static const symbol s_3_41[2] = { 'a', 'm' }; +static const symbol s_3_42[2] = { 'e', 'm' }; +static const symbol s_3_43[4] = { 'a', 'r', 'e', 'm' }; +static const symbol s_3_44[4] = { 'i', 'r', 'e', 'm' }; +static const symbol s_3_45[4] = { 0xE0, 'r', 'e', 'm' }; +static const symbol s_3_46[4] = { 0xED, 'r', 'e', 'm' }; +static const symbol s_3_47[5] = { 0xE0, 's', 's', 'e', 'm' }; +static const symbol s_3_48[5] = { 0xE9, 's', 's', 'e', 'm' }; +static const symbol s_3_49[5] = { 'i', 'g', 'u', 'e', 'm' }; +static const symbol s_3_50[5] = { 0xEF, 'g', 'u', 'e', 'm' }; +static const symbol s_3_51[4] = { 'a', 'v', 'e', 'm' }; +static const symbol s_3_52[4] = { 0xE0, 'v', 'e', 'm' }; +static const symbol s_3_53[4] = { 0xE1, 'v', 'e', 'm' }; +static const symbol s_3_54[5] = { 'i', 'r', 0xEC, 'e', 'm' }; +static const symbol s_3_55[3] = { 0xED, 'e', 'm' }; +static const symbol s_3_56[5] = { 'a', 'r', 0xED, 'e', 'm' }; +static const symbol s_3_57[5] = { 'i', 'r', 0xED, 'e', 'm' }; +static const symbol s_3_58[5] = { 'a', 's', 's', 'i', 'm' }; +static const symbol s_3_59[5] = { 'e', 's', 's', 'i', 'm' }; +static const symbol s_3_60[5] = { 'i', 's', 's', 'i', 'm' }; +static const symbol s_3_61[5] = { 0xE0, 's', 's', 'i', 'm' }; +static const symbol s_3_62[5] = { 0xE8, 's', 's', 'i', 'm' }; +static const symbol s_3_63[5] = { 0xE9, 's', 's', 'i', 'm' }; +static const symbol s_3_64[5] = { 0xED, 's', 's', 'i', 'm' }; +static const symbol s_3_65[2] = { 0xEF, 'm' }; +static const symbol s_3_66[2] = { 'a', 'n' }; +static const symbol s_3_67[4] = { 'a', 'b', 'a', 'n' }; +static const symbol s_3_68[5] = { 'a', 'r', 'i', 'a', 'n' }; +static const symbol s_3_69[4] = { 'a', 'r', 'a', 'n' }; +static const symbol s_3_70[5] = { 'i', 'e', 'r', 'a', 'n' }; +static const symbol s_3_71[4] = { 'i', 'r', 'a', 'n' }; +static const symbol s_3_72[3] = { 0xED, 'a', 'n' }; +static const symbol s_3_73[5] = { 'a', 'r', 0xED, 'a', 'n' }; +static const symbol s_3_74[5] = { 'e', 'r', 0xED, 'a', 'n' }; +static const symbol s_3_75[5] = { 'i', 'r', 0xED, 'a', 'n' }; +static const symbol s_3_76[2] = { 'e', 'n' }; +static const symbol s_3_77[3] = { 'i', 'e', 'n' }; +static const symbol s_3_78[5] = { 'a', 'r', 'i', 'e', 'n' }; +static const symbol s_3_79[5] = { 'i', 'r', 'i', 'e', 'n' }; +static const symbol s_3_80[4] = { 'a', 'r', 'e', 'n' }; +static const symbol s_3_81[4] = { 'e', 'r', 'e', 'n' }; +static const symbol s_3_82[4] = { 'i', 'r', 'e', 'n' }; +static const symbol s_3_83[4] = { 0xE0, 'r', 'e', 'n' }; +static const symbol s_3_84[4] = { 0xEF, 'r', 'e', 'n' }; +static const symbol s_3_85[4] = { 'a', 's', 'e', 'n' }; +static const symbol s_3_86[5] = { 'i', 'e', 's', 'e', 'n' }; +static const symbol s_3_87[5] = { 'a', 's', 's', 'e', 'n' }; +static const symbol s_3_88[5] = { 'e', 's', 's', 'e', 'n' }; +static const symbol s_3_89[5] = { 'i', 's', 's', 'e', 'n' }; +static const symbol s_3_90[5] = { 0xE9, 's', 's', 'e', 'n' }; +static const symbol s_3_91[5] = { 0xEF, 's', 's', 'e', 'n' }; +static const symbol s_3_92[6] = { 'e', 's', 'q', 'u', 'e', 'n' }; +static const symbol s_3_93[6] = { 'i', 's', 'q', 'u', 'e', 'n' }; +static const symbol s_3_94[6] = { 0xEF, 's', 'q', 'u', 'e', 'n' }; +static const symbol s_3_95[4] = { 'a', 'v', 'e', 'n' }; +static const symbol s_3_96[4] = { 'i', 'x', 'e', 'n' }; +static const symbol s_3_97[5] = { 'e', 'i', 'x', 'e', 'n' }; +static const symbol s_3_98[4] = { 0xEF, 'x', 'e', 'n' }; +static const symbol s_3_99[3] = { 0xEF, 'e', 'n' }; +static const symbol s_3_100[2] = { 'i', 'n' }; +static const symbol s_3_101[4] = { 'i', 'n', 'i', 'n' }; +static const symbol s_3_102[3] = { 's', 'i', 'n' }; +static const symbol s_3_103[4] = { 'i', 's', 'i', 'n' }; +static const symbol s_3_104[5] = { 'a', 's', 's', 'i', 'n' }; +static const symbol s_3_105[5] = { 'e', 's', 's', 'i', 'n' }; +static const symbol s_3_106[5] = { 'i', 's', 's', 'i', 'n' }; +static const symbol s_3_107[5] = { 0xEF, 's', 's', 'i', 'n' }; +static const symbol s_3_108[6] = { 'e', 's', 'q', 'u', 'i', 'n' }; +static const symbol s_3_109[5] = { 'e', 'i', 'x', 'i', 'n' }; +static const symbol s_3_110[4] = { 'a', 'r', 'o', 'n' }; +static const symbol s_3_111[5] = { 'i', 'e', 'r', 'o', 'n' }; +static const symbol s_3_112[4] = { 'a', 'r', 0xE1, 'n' }; +static const symbol s_3_113[4] = { 'e', 'r', 0xE1, 'n' }; +static const symbol s_3_114[4] = { 'i', 'r', 0xE1, 'n' }; +static const symbol s_3_115[3] = { 'i', 0xEF, 'n' }; +static const symbol s_3_116[3] = { 'a', 'd', 'o' }; +static const symbol s_3_117[3] = { 'i', 'd', 'o' }; +static const symbol s_3_118[4] = { 'a', 'n', 'd', 'o' }; +static const symbol s_3_119[5] = { 'i', 'e', 'n', 'd', 'o' }; +static const symbol s_3_120[2] = { 'i', 'o' }; +static const symbol s_3_121[3] = { 'i', 'x', 'o' }; +static const symbol s_3_122[4] = { 'e', 'i', 'x', 'o' }; +static const symbol s_3_123[3] = { 0xEF, 'x', 'o' }; +static const symbol s_3_124[4] = { 'i', 't', 'z', 'o' }; +static const symbol s_3_125[2] = { 'a', 'r' }; +static const symbol s_3_126[4] = { 't', 'z', 'a', 'r' }; +static const symbol s_3_127[2] = { 'e', 'r' }; +static const symbol s_3_128[5] = { 'e', 'i', 'x', 'e', 'r' }; +static const symbol s_3_129[2] = { 'i', 'r' }; +static const symbol s_3_130[4] = { 'a', 'd', 'o', 'r' }; +static const symbol s_3_131[2] = { 'a', 's' }; +static const symbol s_3_132[4] = { 'a', 'b', 'a', 's' }; +static const symbol s_3_133[4] = { 'a', 'd', 'a', 's' }; +static const symbol s_3_134[4] = { 'i', 'd', 'a', 's' }; +static const symbol s_3_135[4] = { 'a', 'r', 'a', 's' }; +static const symbol s_3_136[5] = { 'i', 'e', 'r', 'a', 's' }; +static const symbol s_3_137[3] = { 0xED, 'a', 's' }; +static const symbol s_3_138[5] = { 'a', 'r', 0xED, 'a', 's' }; +static const symbol s_3_139[5] = { 'e', 'r', 0xED, 'a', 's' }; +static const symbol s_3_140[5] = { 'i', 'r', 0xED, 'a', 's' }; +static const symbol s_3_141[3] = { 'i', 'd', 's' }; +static const symbol s_3_142[2] = { 'e', 's' }; +static const symbol s_3_143[4] = { 'a', 'd', 'e', 's' }; +static const symbol s_3_144[4] = { 'i', 'd', 'e', 's' }; +static const symbol s_3_145[4] = { 'u', 'd', 'e', 's' }; +static const symbol s_3_146[4] = { 0xEF, 'd', 'e', 's' }; +static const symbol s_3_147[5] = { 'a', 't', 'g', 'e', 's' }; +static const symbol s_3_148[3] = { 'i', 'e', 's' }; +static const symbol s_3_149[5] = { 'a', 'r', 'i', 'e', 's' }; +static const symbol s_3_150[5] = { 'i', 'r', 'i', 'e', 's' }; +static const symbol s_3_151[4] = { 'a', 'r', 'e', 's' }; +static const symbol s_3_152[4] = { 'i', 'r', 'e', 's' }; +static const symbol s_3_153[6] = { 'a', 'd', 'o', 'r', 'e', 's' }; +static const symbol s_3_154[4] = { 0xEF, 'r', 'e', 's' }; +static const symbol s_3_155[4] = { 'a', 's', 'e', 's' }; +static const symbol s_3_156[5] = { 'i', 'e', 's', 'e', 's' }; +static const symbol s_3_157[5] = { 'a', 's', 's', 'e', 's' }; +static const symbol s_3_158[5] = { 'e', 's', 's', 'e', 's' }; +static const symbol s_3_159[5] = { 'i', 's', 's', 'e', 's' }; +static const symbol s_3_160[5] = { 0xEF, 's', 's', 'e', 's' }; +static const symbol s_3_161[4] = { 'q', 'u', 'e', 's' }; +static const symbol s_3_162[6] = { 'e', 's', 'q', 'u', 'e', 's' }; +static const symbol s_3_163[6] = { 0xEF, 's', 'q', 'u', 'e', 's' }; +static const symbol s_3_164[4] = { 'a', 'v', 'e', 's' }; +static const symbol s_3_165[4] = { 'i', 'x', 'e', 's' }; +static const symbol s_3_166[5] = { 'e', 'i', 'x', 'e', 's' }; +static const symbol s_3_167[4] = { 0xEF, 'x', 'e', 's' }; +static const symbol s_3_168[3] = { 0xEF, 'e', 's' }; +static const symbol s_3_169[5] = { 'a', 'b', 'a', 'i', 's' }; +static const symbol s_3_170[5] = { 'a', 'r', 'a', 'i', 's' }; +static const symbol s_3_171[6] = { 'i', 'e', 'r', 'a', 'i', 's' }; +static const symbol s_3_172[4] = { 0xED, 'a', 'i', 's' }; +static const symbol s_3_173[6] = { 'a', 'r', 0xED, 'a', 'i', 's' }; +static const symbol s_3_174[6] = { 'e', 'r', 0xED, 'a', 'i', 's' }; +static const symbol s_3_175[6] = { 'i', 'r', 0xED, 'a', 'i', 's' }; +static const symbol s_3_176[5] = { 'a', 's', 'e', 'i', 's' }; +static const symbol s_3_177[6] = { 'i', 'e', 's', 'e', 'i', 's' }; +static const symbol s_3_178[6] = { 'a', 's', 't', 'e', 'i', 's' }; +static const symbol s_3_179[6] = { 'i', 's', 't', 'e', 'i', 's' }; +static const symbol s_3_180[4] = { 'i', 'n', 'i', 's' }; +static const symbol s_3_181[3] = { 's', 'i', 's' }; +static const symbol s_3_182[4] = { 'i', 's', 'i', 's' }; +static const symbol s_3_183[5] = { 'a', 's', 's', 'i', 's' }; +static const symbol s_3_184[5] = { 'e', 's', 's', 'i', 's' }; +static const symbol s_3_185[5] = { 'i', 's', 's', 'i', 's' }; +static const symbol s_3_186[5] = { 0xEF, 's', 's', 'i', 's' }; +static const symbol s_3_187[6] = { 'e', 's', 'q', 'u', 'i', 's' }; +static const symbol s_3_188[5] = { 'e', 'i', 'x', 'i', 's' }; +static const symbol s_3_189[5] = { 'i', 't', 'z', 'i', 's' }; +static const symbol s_3_190[3] = { 0xE1, 'i', 's' }; +static const symbol s_3_191[5] = { 'a', 'r', 0xE9, 'i', 's' }; +static const symbol s_3_192[5] = { 'e', 'r', 0xE9, 'i', 's' }; +static const symbol s_3_193[5] = { 'i', 'r', 0xE9, 'i', 's' }; +static const symbol s_3_194[3] = { 'a', 'm', 's' }; +static const symbol s_3_195[4] = { 'a', 'd', 'o', 's' }; +static const symbol s_3_196[4] = { 'i', 'd', 'o', 's' }; +static const symbol s_3_197[4] = { 'a', 'm', 'o', 's' }; +static const symbol s_3_198[6] = { 0xE1, 'b', 'a', 'm', 'o', 's' }; +static const symbol s_3_199[6] = { 0xE1, 'r', 'a', 'm', 'o', 's' }; +static const symbol s_3_200[7] = { 'i', 0xE9, 'r', 'a', 'm', 'o', 's' }; +static const symbol s_3_201[5] = { 0xED, 'a', 'm', 'o', 's' }; +static const symbol s_3_202[7] = { 'a', 'r', 0xED, 'a', 'm', 'o', 's' }; +static const symbol s_3_203[7] = { 'e', 'r', 0xED, 'a', 'm', 'o', 's' }; +static const symbol s_3_204[7] = { 'i', 'r', 0xED, 'a', 'm', 'o', 's' }; +static const symbol s_3_205[6] = { 'a', 'r', 'e', 'm', 'o', 's' }; +static const symbol s_3_206[6] = { 'e', 'r', 'e', 'm', 'o', 's' }; +static const symbol s_3_207[6] = { 'i', 'r', 'e', 'm', 'o', 's' }; +static const symbol s_3_208[6] = { 0xE1, 's', 'e', 'm', 'o', 's' }; +static const symbol s_3_209[7] = { 'i', 0xE9, 's', 'e', 'm', 'o', 's' }; +static const symbol s_3_210[4] = { 'i', 'm', 'o', 's' }; +static const symbol s_3_211[5] = { 'a', 'd', 'o', 'r', 's' }; +static const symbol s_3_212[3] = { 'a', 's', 's' }; +static const symbol s_3_213[5] = { 'e', 'r', 'a', 's', 's' }; +static const symbol s_3_214[3] = { 'e', 's', 's' }; +static const symbol s_3_215[3] = { 'a', 't', 's' }; +static const symbol s_3_216[3] = { 'i', 't', 's' }; +static const symbol s_3_217[4] = { 'e', 'n', 't', 's' }; +static const symbol s_3_218[2] = { 0xE0, 's' }; +static const symbol s_3_219[4] = { 'a', 'r', 0xE0, 's' }; +static const symbol s_3_220[4] = { 'i', 'r', 0xE0, 's' }; +static const symbol s_3_221[4] = { 'a', 'r', 0xE1, 's' }; +static const symbol s_3_222[4] = { 'e', 'r', 0xE1, 's' }; +static const symbol s_3_223[4] = { 'i', 'r', 0xE1, 's' }; +static const symbol s_3_224[2] = { 0xE9, 's' }; +static const symbol s_3_225[4] = { 'a', 'r', 0xE9, 's' }; +static const symbol s_3_226[2] = { 0xED, 's' }; +static const symbol s_3_227[3] = { 'i', 0xEF, 's' }; +static const symbol s_3_228[2] = { 'a', 't' }; +static const symbol s_3_229[2] = { 'i', 't' }; +static const symbol s_3_230[3] = { 'a', 'n', 't' }; +static const symbol s_3_231[3] = { 'e', 'n', 't' }; +static const symbol s_3_232[3] = { 'i', 'n', 't' }; +static const symbol s_3_233[2] = { 'u', 't' }; +static const symbol s_3_234[2] = { 0xEF, 't' }; +static const symbol s_3_235[2] = { 'a', 'u' }; +static const symbol s_3_236[4] = { 'e', 'r', 'a', 'u' }; +static const symbol s_3_237[3] = { 'i', 'e', 'u' }; +static const symbol s_3_238[4] = { 'i', 'n', 'e', 'u' }; +static const symbol s_3_239[4] = { 'a', 'r', 'e', 'u' }; +static const symbol s_3_240[4] = { 'i', 'r', 'e', 'u' }; +static const symbol s_3_241[4] = { 0xE0, 'r', 'e', 'u' }; +static const symbol s_3_242[4] = { 0xED, 'r', 'e', 'u' }; +static const symbol s_3_243[5] = { 'a', 's', 's', 'e', 'u' }; +static const symbol s_3_244[5] = { 'e', 's', 's', 'e', 'u' }; +static const symbol s_3_245[7] = { 'e', 'r', 'e', 's', 's', 'e', 'u' }; +static const symbol s_3_246[5] = { 0xE0, 's', 's', 'e', 'u' }; +static const symbol s_3_247[5] = { 0xE9, 's', 's', 'e', 'u' }; +static const symbol s_3_248[5] = { 'i', 'g', 'u', 'e', 'u' }; +static const symbol s_3_249[5] = { 0xEF, 'g', 'u', 'e', 'u' }; +static const symbol s_3_250[4] = { 0xE0, 'v', 'e', 'u' }; +static const symbol s_3_251[4] = { 0xE1, 'v', 'e', 'u' }; +static const symbol s_3_252[5] = { 'i', 't', 'z', 'e', 'u' }; +static const symbol s_3_253[3] = { 0xEC, 'e', 'u' }; +static const symbol s_3_254[5] = { 'i', 'r', 0xEC, 'e', 'u' }; +static const symbol s_3_255[3] = { 0xED, 'e', 'u' }; +static const symbol s_3_256[5] = { 'a', 'r', 0xED, 'e', 'u' }; +static const symbol s_3_257[5] = { 'i', 'r', 0xED, 'e', 'u' }; +static const symbol s_3_258[5] = { 'a', 's', 's', 'i', 'u' }; +static const symbol s_3_259[5] = { 'i', 's', 's', 'i', 'u' }; +static const symbol s_3_260[5] = { 0xE0, 's', 's', 'i', 'u' }; +static const symbol s_3_261[5] = { 0xE8, 's', 's', 'i', 'u' }; +static const symbol s_3_262[5] = { 0xE9, 's', 's', 'i', 'u' }; +static const symbol s_3_263[5] = { 0xED, 's', 's', 'i', 'u' }; +static const symbol s_3_264[2] = { 0xEF, 'u' }; +static const symbol s_3_265[2] = { 'i', 'x' }; +static const symbol s_3_266[3] = { 'e', 'i', 'x' }; +static const symbol s_3_267[2] = { 0xEF, 'x' }; +static const symbol s_3_268[3] = { 'i', 't', 'z' }; +static const symbol s_3_269[2] = { 'i', 0xE0 }; +static const symbol s_3_270[3] = { 'a', 'r', 0xE0 }; +static const symbol s_3_271[3] = { 'i', 'r', 0xE0 }; +static const symbol s_3_272[4] = { 'i', 't', 'z', 0xE0 }; +static const symbol s_3_273[3] = { 'a', 'r', 0xE1 }; +static const symbol s_3_274[3] = { 'e', 'r', 0xE1 }; +static const symbol s_3_275[3] = { 'i', 'r', 0xE1 }; +static const symbol s_3_276[3] = { 'i', 'r', 0xE8 }; +static const symbol s_3_277[3] = { 'a', 'r', 0xE9 }; +static const symbol s_3_278[3] = { 'e', 'r', 0xE9 }; +static const symbol s_3_279[3] = { 'i', 'r', 0xE9 }; +static const symbol s_3_280[1] = { 0xED }; +static const symbol s_3_281[2] = { 'i', 0xEF }; +static const symbol s_3_282[2] = { 'i', 0xF3 }; + +static const struct among a_3[283] = +{ +/* 0 */ { 3, s_3_0, -1, 1, 0}, +/* 1 */ { 4, s_3_1, -1, 1, 0}, +/* 2 */ { 4, s_3_2, -1, 1, 0}, +/* 3 */ { 4, s_3_3, -1, 1, 0}, +/* 4 */ { 3, s_3_4, -1, 1, 0}, +/* 5 */ { 3, s_3_5, -1, 1, 0}, +/* 6 */ { 3, s_3_6, -1, 1, 0}, +/* 7 */ { 3, s_3_7, -1, 1, 0}, +/* 8 */ { 2, s_3_8, -1, 1, 0}, +/* 9 */ { 4, s_3_9, 8, 1, 0}, +/* 10 */ { 4, s_3_10, 8, 1, 0}, +/* 11 */ { 3, s_3_11, -1, 1, 0}, +/* 12 */ { 4, s_3_12, -1, 1, 0}, +/* 13 */ { 3, s_3_13, -1, 1, 0}, +/* 14 */ { 5, s_3_14, -1, 1, 0}, +/* 15 */ { 3, s_3_15, -1, 1, 0}, +/* 16 */ { 3, s_3_16, -1, 1, 0}, +/* 17 */ { 3, s_3_17, -1, 1, 0}, +/* 18 */ { 4, s_3_18, -1, 1, 0}, +/* 19 */ { 2, s_3_19, -1, 1, 0}, +/* 20 */ { 4, s_3_20, 19, 1, 0}, +/* 21 */ { 4, s_3_21, 19, 1, 0}, +/* 22 */ { 4, s_3_22, 19, 1, 0}, +/* 23 */ { 2, s_3_23, -1, 1, 0}, +/* 24 */ { 3, s_3_24, -1, 1, 0}, +/* 25 */ { 3, s_3_25, -1, 1, 0}, +/* 26 */ { 2, s_3_26, -1, 1, 0}, +/* 27 */ { 2, s_3_27, -1, 1, 0}, +/* 28 */ { 2, s_3_28, -1, 1, 0}, +/* 29 */ { 2, s_3_29, -1, 1, 0}, +/* 30 */ { 2, s_3_30, -1, 1, 0}, +/* 31 */ { 3, s_3_31, 30, 1, 0}, +/* 32 */ { 3, s_3_32, -1, 1, 0}, +/* 33 */ { 4, s_3_33, -1, 1, 0}, +/* 34 */ { 4, s_3_34, -1, 1, 0}, +/* 35 */ { 4, s_3_35, -1, 1, 0}, +/* 36 */ { 2, s_3_36, -1, 1, 0}, +/* 37 */ { 3, s_3_37, -1, 1, 0}, +/* 38 */ { 5, s_3_38, -1, 1, 0}, +/* 39 */ { 4, s_3_39, -1, 1, 0}, +/* 40 */ { 4, s_3_40, -1, 1, 0}, +/* 41 */ { 2, s_3_41, -1, 1, 0}, +/* 42 */ { 2, s_3_42, -1, 1, 0}, +/* 43 */ { 4, s_3_43, 42, 1, 0}, +/* 44 */ { 4, s_3_44, 42, 1, 0}, +/* 45 */ { 4, s_3_45, 42, 1, 0}, +/* 46 */ { 4, s_3_46, 42, 1, 0}, +/* 47 */ { 5, s_3_47, 42, 1, 0}, +/* 48 */ { 5, s_3_48, 42, 1, 0}, +/* 49 */ { 5, s_3_49, 42, 1, 0}, +/* 50 */ { 5, s_3_50, 42, 1, 0}, +/* 51 */ { 4, s_3_51, 42, 1, 0}, +/* 52 */ { 4, s_3_52, 42, 1, 0}, +/* 53 */ { 4, s_3_53, 42, 1, 0}, +/* 54 */ { 5, s_3_54, 42, 1, 0}, +/* 55 */ { 3, s_3_55, 42, 1, 0}, +/* 56 */ { 5, s_3_56, 55, 1, 0}, +/* 57 */ { 5, s_3_57, 55, 1, 0}, +/* 58 */ { 5, s_3_58, -1, 1, 0}, +/* 59 */ { 5, s_3_59, -1, 1, 0}, +/* 60 */ { 5, s_3_60, -1, 1, 0}, +/* 61 */ { 5, s_3_61, -1, 1, 0}, +/* 62 */ { 5, s_3_62, -1, 1, 0}, +/* 63 */ { 5, s_3_63, -1, 1, 0}, +/* 64 */ { 5, s_3_64, -1, 1, 0}, +/* 65 */ { 2, s_3_65, -1, 1, 0}, +/* 66 */ { 2, s_3_66, -1, 1, 0}, +/* 67 */ { 4, s_3_67, 66, 1, 0}, +/* 68 */ { 5, s_3_68, 66, 1, 0}, +/* 69 */ { 4, s_3_69, 66, 1, 0}, +/* 70 */ { 5, s_3_70, 66, 1, 0}, +/* 71 */ { 4, s_3_71, 66, 1, 0}, +/* 72 */ { 3, s_3_72, 66, 1, 0}, +/* 73 */ { 5, s_3_73, 72, 1, 0}, +/* 74 */ { 5, s_3_74, 72, 1, 0}, +/* 75 */ { 5, s_3_75, 72, 1, 0}, +/* 76 */ { 2, s_3_76, -1, 1, 0}, +/* 77 */ { 3, s_3_77, 76, 1, 0}, +/* 78 */ { 5, s_3_78, 77, 1, 0}, +/* 79 */ { 5, s_3_79, 77, 1, 0}, +/* 80 */ { 4, s_3_80, 76, 1, 0}, +/* 81 */ { 4, s_3_81, 76, 1, 0}, +/* 82 */ { 4, s_3_82, 76, 1, 0}, +/* 83 */ { 4, s_3_83, 76, 1, 0}, +/* 84 */ { 4, s_3_84, 76, 1, 0}, +/* 85 */ { 4, s_3_85, 76, 1, 0}, +/* 86 */ { 5, s_3_86, 76, 1, 0}, +/* 87 */ { 5, s_3_87, 76, 1, 0}, +/* 88 */ { 5, s_3_88, 76, 1, 0}, +/* 89 */ { 5, s_3_89, 76, 1, 0}, +/* 90 */ { 5, s_3_90, 76, 1, 0}, +/* 91 */ { 5, s_3_91, 76, 1, 0}, +/* 92 */ { 6, s_3_92, 76, 1, 0}, +/* 93 */ { 6, s_3_93, 76, 1, 0}, +/* 94 */ { 6, s_3_94, 76, 1, 0}, +/* 95 */ { 4, s_3_95, 76, 1, 0}, +/* 96 */ { 4, s_3_96, 76, 1, 0}, +/* 97 */ { 5, s_3_97, 96, 1, 0}, +/* 98 */ { 4, s_3_98, 76, 1, 0}, +/* 99 */ { 3, s_3_99, 76, 1, 0}, +/*100 */ { 2, s_3_100, -1, 1, 0}, +/*101 */ { 4, s_3_101, 100, 1, 0}, +/*102 */ { 3, s_3_102, 100, 1, 0}, +/*103 */ { 4, s_3_103, 102, 1, 0}, +/*104 */ { 5, s_3_104, 102, 1, 0}, +/*105 */ { 5, s_3_105, 102, 1, 0}, +/*106 */ { 5, s_3_106, 102, 1, 0}, +/*107 */ { 5, s_3_107, 102, 1, 0}, +/*108 */ { 6, s_3_108, 100, 1, 0}, +/*109 */ { 5, s_3_109, 100, 1, 0}, +/*110 */ { 4, s_3_110, -1, 1, 0}, +/*111 */ { 5, s_3_111, -1, 1, 0}, +/*112 */ { 4, s_3_112, -1, 1, 0}, +/*113 */ { 4, s_3_113, -1, 1, 0}, +/*114 */ { 4, s_3_114, -1, 1, 0}, +/*115 */ { 3, s_3_115, -1, 1, 0}, +/*116 */ { 3, s_3_116, -1, 1, 0}, +/*117 */ { 3, s_3_117, -1, 1, 0}, +/*118 */ { 4, s_3_118, -1, 2, 0}, +/*119 */ { 5, s_3_119, -1, 1, 0}, +/*120 */ { 2, s_3_120, -1, 1, 0}, +/*121 */ { 3, s_3_121, -1, 1, 0}, +/*122 */ { 4, s_3_122, 121, 1, 0}, +/*123 */ { 3, s_3_123, -1, 1, 0}, +/*124 */ { 4, s_3_124, -1, 1, 0}, +/*125 */ { 2, s_3_125, -1, 1, 0}, +/*126 */ { 4, s_3_126, 125, 1, 0}, +/*127 */ { 2, s_3_127, -1, 1, 0}, +/*128 */ { 5, s_3_128, 127, 1, 0}, +/*129 */ { 2, s_3_129, -1, 1, 0}, +/*130 */ { 4, s_3_130, -1, 1, 0}, +/*131 */ { 2, s_3_131, -1, 1, 0}, +/*132 */ { 4, s_3_132, 131, 1, 0}, +/*133 */ { 4, s_3_133, 131, 1, 0}, +/*134 */ { 4, s_3_134, 131, 1, 0}, +/*135 */ { 4, s_3_135, 131, 1, 0}, +/*136 */ { 5, s_3_136, 131, 1, 0}, +/*137 */ { 3, s_3_137, 131, 1, 0}, +/*138 */ { 5, s_3_138, 137, 1, 0}, +/*139 */ { 5, s_3_139, 137, 1, 0}, +/*140 */ { 5, s_3_140, 137, 1, 0}, +/*141 */ { 3, s_3_141, -1, 1, 0}, +/*142 */ { 2, s_3_142, -1, 1, 0}, +/*143 */ { 4, s_3_143, 142, 1, 0}, +/*144 */ { 4, s_3_144, 142, 1, 0}, +/*145 */ { 4, s_3_145, 142, 1, 0}, +/*146 */ { 4, s_3_146, 142, 1, 0}, +/*147 */ { 5, s_3_147, 142, 1, 0}, +/*148 */ { 3, s_3_148, 142, 1, 0}, +/*149 */ { 5, s_3_149, 148, 1, 0}, +/*150 */ { 5, s_3_150, 148, 1, 0}, +/*151 */ { 4, s_3_151, 142, 1, 0}, +/*152 */ { 4, s_3_152, 142, 1, 0}, +/*153 */ { 6, s_3_153, 142, 1, 0}, +/*154 */ { 4, s_3_154, 142, 1, 0}, +/*155 */ { 4, s_3_155, 142, 1, 0}, +/*156 */ { 5, s_3_156, 142, 1, 0}, +/*157 */ { 5, s_3_157, 142, 1, 0}, +/*158 */ { 5, s_3_158, 142, 1, 0}, +/*159 */ { 5, s_3_159, 142, 1, 0}, +/*160 */ { 5, s_3_160, 142, 1, 0}, +/*161 */ { 4, s_3_161, 142, 1, 0}, +/*162 */ { 6, s_3_162, 161, 1, 0}, +/*163 */ { 6, s_3_163, 161, 1, 0}, +/*164 */ { 4, s_3_164, 142, 1, 0}, +/*165 */ { 4, s_3_165, 142, 1, 0}, +/*166 */ { 5, s_3_166, 165, 1, 0}, +/*167 */ { 4, s_3_167, 142, 1, 0}, +/*168 */ { 3, s_3_168, 142, 1, 0}, +/*169 */ { 5, s_3_169, -1, 1, 0}, +/*170 */ { 5, s_3_170, -1, 1, 0}, +/*171 */ { 6, s_3_171, -1, 1, 0}, +/*172 */ { 4, s_3_172, -1, 1, 0}, +/*173 */ { 6, s_3_173, 172, 1, 0}, +/*174 */ { 6, s_3_174, 172, 1, 0}, +/*175 */ { 6, s_3_175, 172, 1, 0}, +/*176 */ { 5, s_3_176, -1, 1, 0}, +/*177 */ { 6, s_3_177, -1, 1, 0}, +/*178 */ { 6, s_3_178, -1, 1, 0}, +/*179 */ { 6, s_3_179, -1, 1, 0}, +/*180 */ { 4, s_3_180, -1, 1, 0}, +/*181 */ { 3, s_3_181, -1, 1, 0}, +/*182 */ { 4, s_3_182, 181, 1, 0}, +/*183 */ { 5, s_3_183, 181, 1, 0}, +/*184 */ { 5, s_3_184, 181, 1, 0}, +/*185 */ { 5, s_3_185, 181, 1, 0}, +/*186 */ { 5, s_3_186, 181, 1, 0}, +/*187 */ { 6, s_3_187, -1, 1, 0}, +/*188 */ { 5, s_3_188, -1, 1, 0}, +/*189 */ { 5, s_3_189, -1, 1, 0}, +/*190 */ { 3, s_3_190, -1, 1, 0}, +/*191 */ { 5, s_3_191, -1, 1, 0}, +/*192 */ { 5, s_3_192, -1, 1, 0}, +/*193 */ { 5, s_3_193, -1, 1, 0}, +/*194 */ { 3, s_3_194, -1, 1, 0}, +/*195 */ { 4, s_3_195, -1, 1, 0}, +/*196 */ { 4, s_3_196, -1, 1, 0}, +/*197 */ { 4, s_3_197, -1, 1, 0}, +/*198 */ { 6, s_3_198, 197, 1, 0}, +/*199 */ { 6, s_3_199, 197, 1, 0}, +/*200 */ { 7, s_3_200, 197, 1, 0}, +/*201 */ { 5, s_3_201, 197, 1, 0}, +/*202 */ { 7, s_3_202, 201, 1, 0}, +/*203 */ { 7, s_3_203, 201, 1, 0}, +/*204 */ { 7, s_3_204, 201, 1, 0}, +/*205 */ { 6, s_3_205, -1, 1, 0}, +/*206 */ { 6, s_3_206, -1, 1, 0}, +/*207 */ { 6, s_3_207, -1, 1, 0}, +/*208 */ { 6, s_3_208, -1, 1, 0}, +/*209 */ { 7, s_3_209, -1, 1, 0}, +/*210 */ { 4, s_3_210, -1, 1, 0}, +/*211 */ { 5, s_3_211, -1, 1, 0}, +/*212 */ { 3, s_3_212, -1, 1, 0}, +/*213 */ { 5, s_3_213, 212, 1, 0}, +/*214 */ { 3, s_3_214, -1, 1, 0}, +/*215 */ { 3, s_3_215, -1, 1, 0}, +/*216 */ { 3, s_3_216, -1, 1, 0}, +/*217 */ { 4, s_3_217, -1, 1, 0}, +/*218 */ { 2, s_3_218, -1, 1, 0}, +/*219 */ { 4, s_3_219, 218, 1, 0}, +/*220 */ { 4, s_3_220, 218, 1, 0}, +/*221 */ { 4, s_3_221, -1, 1, 0}, +/*222 */ { 4, s_3_222, -1, 1, 0}, +/*223 */ { 4, s_3_223, -1, 1, 0}, +/*224 */ { 2, s_3_224, -1, 1, 0}, +/*225 */ { 4, s_3_225, 224, 1, 0}, +/*226 */ { 2, s_3_226, -1, 1, 0}, +/*227 */ { 3, s_3_227, -1, 1, 0}, +/*228 */ { 2, s_3_228, -1, 1, 0}, +/*229 */ { 2, s_3_229, -1, 1, 0}, +/*230 */ { 3, s_3_230, -1, 1, 0}, +/*231 */ { 3, s_3_231, -1, 1, 0}, +/*232 */ { 3, s_3_232, -1, 1, 0}, +/*233 */ { 2, s_3_233, -1, 1, 0}, +/*234 */ { 2, s_3_234, -1, 1, 0}, +/*235 */ { 2, s_3_235, -1, 1, 0}, +/*236 */ { 4, s_3_236, 235, 1, 0}, +/*237 */ { 3, s_3_237, -1, 1, 0}, +/*238 */ { 4, s_3_238, -1, 1, 0}, +/*239 */ { 4, s_3_239, -1, 1, 0}, +/*240 */ { 4, s_3_240, -1, 1, 0}, +/*241 */ { 4, s_3_241, -1, 1, 0}, +/*242 */ { 4, s_3_242, -1, 1, 0}, +/*243 */ { 5, s_3_243, -1, 1, 0}, +/*244 */ { 5, s_3_244, -1, 1, 0}, +/*245 */ { 7, s_3_245, 244, 1, 0}, +/*246 */ { 5, s_3_246, -1, 1, 0}, +/*247 */ { 5, s_3_247, -1, 1, 0}, +/*248 */ { 5, s_3_248, -1, 1, 0}, +/*249 */ { 5, s_3_249, -1, 1, 0}, +/*250 */ { 4, s_3_250, -1, 1, 0}, +/*251 */ { 4, s_3_251, -1, 1, 0}, +/*252 */ { 5, s_3_252, -1, 1, 0}, +/*253 */ { 3, s_3_253, -1, 1, 0}, +/*254 */ { 5, s_3_254, 253, 1, 0}, +/*255 */ { 3, s_3_255, -1, 1, 0}, +/*256 */ { 5, s_3_256, 255, 1, 0}, +/*257 */ { 5, s_3_257, 255, 1, 0}, +/*258 */ { 5, s_3_258, -1, 1, 0}, +/*259 */ { 5, s_3_259, -1, 1, 0}, +/*260 */ { 5, s_3_260, -1, 1, 0}, +/*261 */ { 5, s_3_261, -1, 1, 0}, +/*262 */ { 5, s_3_262, -1, 1, 0}, +/*263 */ { 5, s_3_263, -1, 1, 0}, +/*264 */ { 2, s_3_264, -1, 1, 0}, +/*265 */ { 2, s_3_265, -1, 1, 0}, +/*266 */ { 3, s_3_266, 265, 1, 0}, +/*267 */ { 2, s_3_267, -1, 1, 0}, +/*268 */ { 3, s_3_268, -1, 1, 0}, +/*269 */ { 2, s_3_269, -1, 1, 0}, +/*270 */ { 3, s_3_270, -1, 1, 0}, +/*271 */ { 3, s_3_271, -1, 1, 0}, +/*272 */ { 4, s_3_272, -1, 1, 0}, +/*273 */ { 3, s_3_273, -1, 1, 0}, +/*274 */ { 3, s_3_274, -1, 1, 0}, +/*275 */ { 3, s_3_275, -1, 1, 0}, +/*276 */ { 3, s_3_276, -1, 1, 0}, +/*277 */ { 3, s_3_277, -1, 1, 0}, +/*278 */ { 3, s_3_278, -1, 1, 0}, +/*279 */ { 3, s_3_279, -1, 1, 0}, +/*280 */ { 1, s_3_280, -1, 1, 0}, +/*281 */ { 2, s_3_281, -1, 1, 0}, +/*282 */ { 2, s_3_282, -1, 1, 0} +}; + +static const symbol s_4_0[1] = { 'a' }; +static const symbol s_4_1[1] = { 'e' }; +static const symbol s_4_2[1] = { 'i' }; +static const symbol s_4_3[2] = { 0xEF, 'n' }; +static const symbol s_4_4[1] = { 'o' }; +static const symbol s_4_5[2] = { 'i', 'r' }; +static const symbol s_4_6[1] = { 's' }; +static const symbol s_4_7[2] = { 'i', 's' }; +static const symbol s_4_8[2] = { 'o', 's' }; +static const symbol s_4_9[2] = { 0xEF, 's' }; +static const symbol s_4_10[2] = { 'i', 't' }; +static const symbol s_4_11[2] = { 'e', 'u' }; +static const symbol s_4_12[2] = { 'i', 'u' }; +static const symbol s_4_13[3] = { 'i', 'q', 'u' }; +static const symbol s_4_14[3] = { 'i', 't', 'z' }; +static const symbol s_4_15[1] = { 0xE0 }; +static const symbol s_4_16[1] = { 0xE1 }; +static const symbol s_4_17[1] = { 0xE9 }; +static const symbol s_4_18[1] = { 0xEC }; +static const symbol s_4_19[1] = { 0xED }; +static const symbol s_4_20[1] = { 0xEF }; +static const symbol s_4_21[1] = { 0xF3 }; + +static const struct among a_4[22] = +{ +/* 0 */ { 1, s_4_0, -1, 1, 0}, +/* 1 */ { 1, s_4_1, -1, 1, 0}, +/* 2 */ { 1, s_4_2, -1, 1, 0}, +/* 3 */ { 2, s_4_3, -1, 1, 0}, +/* 4 */ { 1, s_4_4, -1, 1, 0}, +/* 5 */ { 2, s_4_5, -1, 1, 0}, +/* 6 */ { 1, s_4_6, -1, 1, 0}, +/* 7 */ { 2, s_4_7, 6, 1, 0}, +/* 8 */ { 2, s_4_8, 6, 1, 0}, +/* 9 */ { 2, s_4_9, 6, 1, 0}, +/* 10 */ { 2, s_4_10, -1, 1, 0}, +/* 11 */ { 2, s_4_11, -1, 1, 0}, +/* 12 */ { 2, s_4_12, -1, 1, 0}, +/* 13 */ { 3, s_4_13, -1, 2, 0}, +/* 14 */ { 3, s_4_14, -1, 1, 0}, +/* 15 */ { 1, s_4_15, -1, 1, 0}, +/* 16 */ { 1, s_4_16, -1, 1, 0}, +/* 17 */ { 1, s_4_17, -1, 1, 0}, +/* 18 */ { 1, s_4_18, -1, 1, 0}, +/* 19 */ { 1, s_4_19, -1, 1, 0}, +/* 20 */ { 1, s_4_20, -1, 1, 0}, +/* 21 */ { 1, s_4_21, -1, 1, 0} +}; + +static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 129, 81, 6, 10 }; + +static const symbol s_0[] = { 'a' }; +static const symbol s_1[] = { 'e' }; +static const symbol s_2[] = { 'i' }; +static const symbol s_3[] = { 'o' }; +static const symbol s_4[] = { 'u' }; +static const symbol s_5[] = { '.' }; +static const symbol s_6[] = { 'l', 'o', 'g' }; +static const symbol s_7[] = { 'i', 'c' }; +static const symbol s_8[] = { 'c' }; +static const symbol s_9[] = { 'i', 'c' }; + +static int r_mark_regions(struct SN_env * z) { /* forwardmode */ + z->I[0] = z->l; /* $p1 = , line 38 */ + z->I[1] = z->l; /* $p2 = , line 39 */ + { int c1 = z->c; /* do, line 41 */ + { /* gopast */ /* grouping v, line 42 */ + int ret = out_grouping(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + { /* gopast */ /* non v, line 42 */ + int ret = in_grouping(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + z->I[0] = z->c; /* setmark p1, line 42 */ + { /* gopast */ /* grouping v, line 43 */ + int ret = out_grouping(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + { /* gopast */ /* non v, line 43 */ + int ret = in_grouping(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + z->I[1] = z->c; /* setmark p2, line 43 */ + lab0: + z->c = c1; + } + return 1; +} + +static int r_cleaning(struct SN_env * z) { /* forwardmode */ + int among_var; +/* repeat, line 47 */ + + while(1) { int c1 = z->c; + z->bra = z->c; /* [, line 48 */ + among_var = find_among(z, a_0, 13); /* substring, line 48 */ + if (!(among_var)) goto lab0; + z->ket = z->c; /* ], line 48 */ + switch (among_var) { /* among, line 48 */ + case 1: + { int ret = slice_from_s(z, 1, s_0); /* <-, line 49 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 1, s_1); /* <-, line 51 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 1, s_2); /* <-, line 53 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 1, s_3); /* <-, line 55 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 1, s_4); /* <-, line 57 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 1, s_5); /* <-, line 60 */ + if (ret < 0) return ret; + } + break; + case 7: + if (z->c >= z->l) goto lab0; + z->c++; /* next, line 61 */ + break; + } + continue; + lab0: + z->c = c1; + break; + } + return 1; +} + +static int r_R1(struct SN_env * z) { /* backwardmode */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 67 */ + return 1; +} + +static int r_R2(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 68 */ + return 1; +} + +static int r_attached_pronoun(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 71 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1634850 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 71 */ + if (!(find_among_b(z, a_1, 39))) return 0; + z->bra = z->c; /* ], line 71 */ + { int ret = r_R1(z); /* call R1, line 81 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 81 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 86 */ + among_var = find_among_b(z, a_2, 200); /* substring, line 86 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 86 */ + switch (among_var) { /* among, line 86 */ + case 1: + { int ret = r_R1(z); /* call R1, line 110 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 110 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 112 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 112 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = r_R2(z); /* call R2, line 114 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 3, s_6); /* <-, line 114 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = r_R2(z); /* call R2, line 116 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 2, s_7); /* <-, line 116 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = r_R1(z); /* call R1, line 118 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 1, s_8); /* <-, line 118 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 123 */ + among_var = find_among_b(z, a_3, 283); /* substring, line 123 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 123 */ + switch (among_var) { /* among, line 123 */ + case 1: + { int ret = r_R1(z); /* call R1, line 168 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 168 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 170 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 170 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 175 */ + among_var = find_among_b(z, a_4, 22); /* substring, line 175 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 175 */ + switch (among_var) { /* among, line 175 */ + case 1: + { int ret = r_R1(z); /* call R1, line 178 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 178 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R1(z); /* call R1, line 180 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 2, s_9); /* <-, line 180 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +extern int catalan_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ + /* do, line 186 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 186 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 187 */ + + { int m1 = z->l - z->c; (void)m1; /* do, line 188 */ + { int ret = r_attached_pronoun(z); /* call attached_pronoun, line 188 */ + if (ret < 0) return ret; + } + z->c = z->l - m1; + } + { int m2 = z->l - z->c; (void)m2; /* do, line 189 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 189 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 189 */ + if (ret == 0) goto lab2; + if (ret < 0) return ret; + } + goto lab1; + lab2: + z->c = z->l - m3; + { int ret = r_verb_suffix(z); /* call verb_suffix, line 190 */ + if (ret == 0) goto lab0; + if (ret < 0) return ret; + } + } + lab1: + lab0: + z->c = z->l - m2; + } + { int m4 = z->l - z->c; (void)m4; /* do, line 192 */ + { int ret = r_residual_suffix(z); /* call residual_suffix, line 192 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + z->c = z->lb; + { int c5 = z->c; /* do, line 194 */ + { int ret = r_cleaning(z); /* call cleaning, line 194 */ + if (ret < 0) return ret; + } + z->c = c5; + } + return 1; +} + +extern struct SN_env * catalan_ISO_8859_1_create_env(void) { return SN_create_env(0, 2, 0); } + +extern void catalan_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_catalan.h b/src/dep/snowball/src_c/stem_ISO_8859_1_catalan.h new file mode 100644 index 0000000000..d68f6fa6ee --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_catalan.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * catalan_ISO_8859_1_create_env(void); +extern void catalan_ISO_8859_1_close_env(struct SN_env * z); + +extern int catalan_ISO_8859_1_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_danish.c b/src/dep/snowball/src_c/stem_ISO_8859_1_danish.c index 0003293a0f..6fb56f131e 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_danish.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_danish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -124,6 +123,8 @@ static const struct among a_2[5] = /* 4 */ { 4, s_2_4, -1, 2, 0} }; +static const unsigned char g_c[] = { 119, 223, 119, 1 }; + static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 128 }; static const unsigned char g_s_ending[] = { 239, 254, 42, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16 }; @@ -133,54 +134,51 @@ static const symbol s_1[] = { 'i', 'g' }; static const symbol s_2[] = { 'l', 0xF8, 's' }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ - z->I[0] = z->l; /* $p1 = , line 31 */ - { int c_test1 = z->c; /* test, line 33 */ - { int ret = z->c + 3; /* hop, line 33 */ + z->I[0] = z->l; /* $p1 = , line 33 */ + { int c_test1 = z->c; /* test, line 35 */ + { int ret = z->c + 3; /* hop, line 35 */ if (0 > ret || ret > z->l) return 0; z->c = ret; } - z->I[1] = z->c; /* setmark x, line 33 */ + z->I[1] = z->c; /* setmark x, line 35 */ z->c = c_test1; } - if (out_grouping(z, g_v, 97, 248, 1) < 0) return 0; /* goto */ /* grouping v, line 34 */ - { /* gopast */ /* non v, line 34 */ + if (out_grouping(z, g_v, 97, 248, 1) < 0) return 0; /* goto */ /* grouping v, line 36 */ + { /* gopast */ /* non v, line 36 */ int ret = in_grouping(z, g_v, 97, 248, 1); if (ret < 0) return 0; z->c += ret; } - z->I[0] = z->c; /* setmark p1, line 34 */ - /* try, line 35 */ - if (!(z->I[0] < z->I[1])) goto lab0; /* $p1 < , line 35 */ - z->I[0] = z->I[1]; /* $p1 = , line 35 */ + z->I[0] = z->c; /* setmark p1, line 36 */ + /* try, line 37 */ + if (!(z->I[0] < z->I[1])) goto lab0; /* $( < ), line 37 */ + z->I[0] = z->I[1]; /* $p1 = , line 37 */ lab0: return 1; } static int r_main_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 41 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 43 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 41 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 41 */ - if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851440 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 41 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 43 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851440 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 43 */ among_var = find_among_b(z, a_0, 32); if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 41 */ + z->bra = z->c; /* ], line 43 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 42 */ - case 0: return 0; + switch (among_var) { /* among, line 44 */ case 1: - { int ret = slice_del(z); /* delete, line 48 */ + { int ret = slice_del(z); /* delete, line 50 */ if (ret < 0) return ret; } break; case 2: - if (in_grouping_b(z, g_s_ending, 97, 229, 0)) return 0; /* grouping s_ending, line 50 */ - { int ret = slice_del(z); /* delete, line 50 */ + if (in_grouping_b(z, g_s_ending, 97, 229, 0)) return 0; /* grouping s_ending, line 52 */ + { int ret = slice_del(z); /* delete, line 52 */ if (ret < 0) return ret; } break; @@ -189,25 +187,23 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ } static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ - { int m_test1 = z->l - z->c; /* test, line 55 */ - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 56 */ - int mlimit2; + { int m_test1 = z->l - z->c; /* test, line 57 */ + + { int mlimit2; /* setlimit, line 58 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 56 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; - z->ket = z->c; /* [, line 56 */ - if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 116)) { z->lb = mlimit2; return 0; } /* substring, line 56 */ + mlimit2 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 58 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 116)) { z->lb = mlimit2; return 0; } /* substring, line 58 */ if (!(find_among_b(z, a_1, 4))) { z->lb = mlimit2; return 0; } - z->bra = z->c; /* ], line 56 */ + z->bra = z->c; /* ], line 58 */ z->lb = mlimit2; } z->c = z->l - m_test1; } if (z->c <= z->lb) return 0; - z->c--; /* next, line 62 */ - z->bra = z->c; /* ], line 62 */ - { int ret = slice_del(z); /* delete, line 62 */ + z->c--; /* next, line 64 */ + z->bra = z->c; /* ], line 64 */ + { int ret = slice_del(z); /* delete, line 64 */ if (ret < 0) return ret; } return 1; @@ -215,47 +211,42 @@ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* do, line 66 */ - z->ket = z->c; /* [, line 66 */ - if (!(eq_s_b(z, 2, s_0))) goto lab0; /* literal, line 66 */ - z->bra = z->c; /* ], line 66 */ - if (!(eq_s_b(z, 2, s_1))) goto lab0; /* literal, line 66 */ - { int ret = slice_del(z); /* delete, line 66 */ + { int m1 = z->l - z->c; (void)m1; /* do, line 68 */ + z->ket = z->c; /* [, line 68 */ + if (!(eq_s_b(z, 2, s_0))) goto lab0; /* literal, line 68 */ + z->bra = z->c; /* ], line 68 */ + if (!(eq_s_b(z, 2, s_1))) goto lab0; /* literal, line 68 */ + { int ret = slice_del(z); /* delete, line 68 */ if (ret < 0) return ret; } lab0: z->c = z->l - m1; } - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 67 */ - int mlimit2; + + { int mlimit2; /* setlimit, line 69 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 67 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; - z->ket = z->c; /* [, line 67 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit2; return 0; } /* substring, line 67 */ + mlimit2 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 69 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit2; return 0; } /* substring, line 69 */ among_var = find_among_b(z, a_2, 5); if (!(among_var)) { z->lb = mlimit2; return 0; } - z->bra = z->c; /* ], line 67 */ + z->bra = z->c; /* ], line 69 */ z->lb = mlimit2; } - switch (among_var) { /* among, line 68 */ - case 0: return 0; + switch (among_var) { /* among, line 70 */ case 1: - { int ret = slice_del(z); /* delete, line 70 */ + { int ret = slice_del(z); /* delete, line 72 */ if (ret < 0) return ret; } - { int m3 = z->l - z->c; (void)m3; /* do, line 70 */ - { int ret = r_consonant_pair(z); /* call consonant_pair, line 70 */ - if (ret == 0) goto lab1; + { int m3 = z->l - z->c; (void)m3; /* do, line 72 */ + { int ret = r_consonant_pair(z); /* call consonant_pair, line 72 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m3; } break; case 2: - { int ret = slice_from_s(z, 3, s_2); /* <-, line 72 */ + { int ret = slice_from_s(z, 3, s_2); /* <-, line 74 */ if (ret < 0) return ret; } break; @@ -264,67 +255,55 @@ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ } static int r_undouble(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 76 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 78 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 76 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 76 */ - if (out_grouping_b(z, g_v, 97, 248, 0)) { z->lb = mlimit1; return 0; } /* non v, line 76 */ - z->bra = z->c; /* ], line 76 */ - z->S[0] = slice_to(z, z->S[0]); /* -> ch, line 76 */ - if (z->S[0] == 0) return -1; /* -> ch, line 76 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 78 */ + if (in_grouping_b(z, g_c, 98, 122, 0)) { z->lb = mlimit1; return 0; } /* grouping c, line 78 */ + z->bra = z->c; /* ], line 78 */ + z->S[0] = slice_to(z, z->S[0]); /* -> ch, line 78 */ + if (z->S[0] == 0) return -1; /* -> ch, line 78 */ z->lb = mlimit1; } - if (!(eq_v_b(z, z->S[0]))) return 0; /* name ch, line 77 */ - { int ret = slice_del(z); /* delete, line 78 */ + if (!(eq_v_b(z, z->S[0]))) return 0; /* name ch, line 79 */ + { int ret = slice_del(z); /* delete, line 80 */ if (ret < 0) return ret; } return 1; } extern int danish_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 84 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 84 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 86 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 86 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - z->lb = z->c; z->c = z->l; /* backwards, line 85 */ + z->lb = z->c; z->c = z->l; /* backwards, line 87 */ - { int m2 = z->l - z->c; (void)m2; /* do, line 86 */ - { int ret = r_main_suffix(z); /* call main_suffix, line 86 */ - if (ret == 0) goto lab1; + { int m2 = z->l - z->c; (void)m2; /* do, line 88 */ + { int ret = r_main_suffix(z); /* call main_suffix, line 88 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } - { int m3 = z->l - z->c; (void)m3; /* do, line 87 */ - { int ret = r_consonant_pair(z); /* call consonant_pair, line 87 */ - if (ret == 0) goto lab2; + { int m3 = z->l - z->c; (void)m3; /* do, line 89 */ + { int ret = r_consonant_pair(z); /* call consonant_pair, line 89 */ if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } - { int m4 = z->l - z->c; (void)m4; /* do, line 88 */ - { int ret = r_other_suffix(z); /* call other_suffix, line 88 */ - if (ret == 0) goto lab3; + { int m4 = z->l - z->c; (void)m4; /* do, line 90 */ + { int ret = r_other_suffix(z); /* call other_suffix, line 90 */ if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } - { int m5 = z->l - z->c; (void)m5; /* do, line 89 */ - { int ret = r_undouble(z); /* call undouble, line 89 */ - if (ret == 0) goto lab4; + { int m5 = z->l - z->c; (void)m5; /* do, line 91 */ + { int ret = r_undouble(z); /* call undouble, line 91 */ if (ret < 0) return ret; } - lab4: z->c = z->l - m5; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_danish.h b/src/dep/snowball/src_c/stem_ISO_8859_1_danish.h index 57f16f8960..76ed47675b 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_danish.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_danish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.c b/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.c index a8f05e1145..1ce33387e9 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -148,15 +147,15 @@ static const symbol s_14[] = { 'i', 'g' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ int among_var; { int c_test1 = z->c; /* test, line 42 */ - while(1) { /* repeat, line 42 */ - int c2 = z->c; +/* repeat, line 42 */ + + while(1) { int c2 = z->c; z->bra = z->c; /* [, line 43 */ if (z->c >= z->l || z->p[z->c + 0] >> 5 != 7 || !((340306450 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 6; else /* substring, line 43 */ among_var = find_among(z, a_0, 11); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 43 */ switch (among_var) { /* among, line 43 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_0); /* <-, line 45 */ if (ret < 0) return ret; @@ -205,8 +204,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ lab1: ; } - while(1) { /* repeat, line 58 */ - int c4 = z->c; +/* repeat, line 58 */ + + while(1) { int c4 = z->c; while(1) { /* goto, line 58 */ int c5 = z->c; if (in_grouping(z, g_v, 97, 232, 0)) goto lab3; /* grouping v, line 59 */ @@ -260,7 +260,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 69 */ /* try, line 70 */ - if (!(z->I[0] < 3)) goto lab0; /* $p1 < , line 70 */ + if (!(z->I[0] < 3)) goto lab0; /* $( < ), line 70 */ z->I[0] = 3; /* $p1 = , line 70 */ lab0: { /* gopast */ /* grouping v, line 71 */ @@ -279,15 +279,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 75 */ - int c1 = z->c; +/* repeat, line 75 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 77 */ if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 89)) among_var = 3; else /* substring, line 77 */ among_var = find_among(z, a_1, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 77 */ switch (among_var) { /* among, line 77 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_8); /* <-, line 78 */ if (ret < 0) return ret; @@ -312,12 +312,12 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 87 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 87 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 88 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 88 */ return 1; } @@ -392,7 +392,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) goto lab0; z->bra = z->c; /* ], line 108 */ switch (among_var) { /* among, line 108 */ - case 0: goto lab0; case 1: { int ret = r_R1(z); /* call R1, line 110 */ if (ret == 0) goto lab0; @@ -424,51 +423,48 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } { int m2 = z->l - z->c; (void)m2; /* do, line 120 */ { int ret = r_e_ending(z); /* call e_ending, line 120 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 122 */ z->ket = z->c; /* [, line 122 */ - if (!(eq_s_b(z, 4, s_12))) goto lab2; /* literal, line 122 */ + if (!(eq_s_b(z, 4, s_12))) goto lab1; /* literal, line 122 */ z->bra = z->c; /* ], line 122 */ { int ret = r_R2(z); /* call R2, line 122 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab1; if (ret < 0) return ret; } { int m4 = z->l - z->c; (void)m4; /* not, line 122 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab3; /* literal, line 122 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab2; /* literal, line 122 */ z->c--; - goto lab2; - lab3: + goto lab1; + lab2: z->c = z->l - m4; } { int ret = slice_del(z); /* delete, line 122 */ if (ret < 0) return ret; } z->ket = z->c; /* [, line 123 */ - if (!(eq_s_b(z, 2, s_13))) goto lab2; /* literal, line 123 */ + if (!(eq_s_b(z, 2, s_13))) goto lab1; /* literal, line 123 */ z->bra = z->c; /* ], line 123 */ { int ret = r_en_ending(z); /* call en_ending, line 123 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab2: + lab1: z->c = z->l - m3; } { int m5 = z->l - z->c; (void)m5; /* do, line 126 */ z->ket = z->c; /* [, line 127 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((264336 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab4; /* substring, line 127 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((264336 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab3; /* substring, line 127 */ among_var = find_among_b(z, a_4, 6); - if (!(among_var)) goto lab4; + if (!(among_var)) goto lab3; z->bra = z->c; /* ], line 127 */ switch (among_var) { /* among, line 127 */ - case 0: goto lab4; case 1: { int ret = r_R2(z); /* call R2, line 129 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 129 */ @@ -476,42 +472,42 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } { int m6 = z->l - z->c; (void)m6; /* or, line 130 */ z->ket = z->c; /* [, line 130 */ - if (!(eq_s_b(z, 2, s_14))) goto lab6; /* literal, line 130 */ + if (!(eq_s_b(z, 2, s_14))) goto lab5; /* literal, line 130 */ z->bra = z->c; /* ], line 130 */ { int ret = r_R2(z); /* call R2, line 130 */ - if (ret == 0) goto lab6; + if (ret == 0) goto lab5; if (ret < 0) return ret; } { int m7 = z->l - z->c; (void)m7; /* not, line 130 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab7; /* literal, line 130 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab6; /* literal, line 130 */ z->c--; - goto lab6; - lab7: + goto lab5; + lab6: z->c = z->l - m7; } { int ret = slice_del(z); /* delete, line 130 */ if (ret < 0) return ret; } - goto lab5; - lab6: + goto lab4; + lab5: z->c = z->l - m6; { int ret = r_undouble(z); /* call undouble, line 130 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } } - lab5: + lab4: break; case 2: { int ret = r_R2(z); /* call R2, line 133 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int m8 = z->l - z->c; (void)m8; /* not, line 133 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab8; /* literal, line 133 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab7; /* literal, line 133 */ z->c--; - goto lab4; - lab8: + goto lab3; + lab7: z->c = z->l - m8; } { int ret = slice_del(z); /* delete, line 133 */ @@ -520,20 +516,20 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ break; case 3: { int ret = r_R2(z); /* call R2, line 136 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 136 */ if (ret < 0) return ret; } { int ret = r_e_ending(z); /* call e_ending, line 136 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } break; case 4: { int ret = r_R2(z); /* call R2, line 139 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 139 */ @@ -542,34 +538,34 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ break; case 5: { int ret = r_R2(z); /* call R2, line 142 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } - if (!(z->B[0])) goto lab4; /* Boolean test e_found, line 142 */ + if (!(z->B[0])) goto lab3; /* Boolean test e_found, line 142 */ { int ret = slice_del(z); /* delete, line 142 */ if (ret < 0) return ret; } break; } - lab4: + lab3: z->c = z->l - m5; } { int m9 = z->l - z->c; (void)m9; /* do, line 146 */ - if (out_grouping_b(z, g_v_I, 73, 232, 0)) goto lab9; /* non v_I, line 147 */ + if (out_grouping_b(z, g_v_I, 73, 232, 0)) goto lab8; /* non v_I, line 147 */ { int m_test10 = z->l - z->c; /* test, line 148 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2129954 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab9; /* among, line 149 */ - if (!(find_among_b(z, a_5, 4))) goto lab9; - if (out_grouping_b(z, g_v, 97, 232, 0)) goto lab9; /* non v, line 150 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2129954 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab8; /* among, line 149 */ + if (!(find_among_b(z, a_5, 4))) goto lab8; + if (out_grouping_b(z, g_v, 97, 232, 0)) goto lab8; /* non v, line 150 */ z->c = z->l - m_test10; } z->ket = z->c; /* [, line 152 */ - if (z->c <= z->lb) goto lab9; + if (z->c <= z->lb) goto lab8; z->c--; /* next, line 152 */ z->bra = z->c; /* ], line 152 */ { int ret = slice_del(z); /* delete, line 152 */ if (ret < 0) return ret; } - lab9: + lab8: z->c = z->l - m9; } return 1; @@ -578,38 +574,28 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ extern int dutch_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 159 */ { int ret = r_prelude(z); /* call prelude, line 159 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } { int c2 = z->c; /* do, line 160 */ { int ret = r_mark_regions(z); /* call mark_regions, line 160 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = c2; } z->lb = z->c; z->c = z->l; /* backwards, line 161 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 162 */ - { int ret = r_standard_suffix(z); /* call standard_suffix, line 162 */ - if (ret == 0) goto lab2; - if (ret < 0) return ret; - } - lab2: - z->c = z->l - m3; + /* do, line 162 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 162 */ + if (ret < 0) return ret; } z->c = z->lb; - { int c4 = z->c; /* do, line 163 */ + { int c3 = z->c; /* do, line 163 */ { int ret = r_postlude(z); /* call postlude, line 163 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: - z->c = c4; + z->c = c3; } return 1; } diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.h b/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.h index 5423842969..0376706c37 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_dutch.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_english.c b/src/dep/snowball/src_c/stem_ISO_8859_1_english.c index cdfac166e3..cdb44cfe98 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_english.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_english.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -153,12 +152,12 @@ static const struct among a_5[24] = /* 0 */ { 4, s_5_0, -1, 3, 0}, /* 1 */ { 4, s_5_1, -1, 2, 0}, /* 2 */ { 3, s_5_2, -1, 13, 0}, -/* 3 */ { 2, s_5_3, -1, 16, 0}, +/* 3 */ { 2, s_5_3, -1, 15, 0}, /* 4 */ { 3, s_5_4, 3, 12, 0}, /* 5 */ { 4, s_5_5, 4, 4, 0}, /* 6 */ { 4, s_5_6, 3, 8, 0}, -/* 7 */ { 5, s_5_7, 3, 14, 0}, -/* 8 */ { 6, s_5_8, 3, 15, 0}, +/* 7 */ { 5, s_5_7, 3, 9, 0}, +/* 8 */ { 6, s_5_8, 3, 14, 0}, /* 9 */ { 5, s_5_9, 3, 10, 0}, /* 10 */ { 5, s_5_10, 3, 5, 0}, /* 11 */ { 5, s_5_11, -1, 8, 0}, @@ -339,24 +338,23 @@ static const symbol s_18[] = { 'o', 'u', 's' }; static const symbol s_19[] = { 'i', 'v', 'e' }; static const symbol s_20[] = { 'b', 'l', 'e' }; static const symbol s_21[] = { 'o', 'g' }; -static const symbol s_22[] = { 'f', 'u', 'l' }; -static const symbol s_23[] = { 'l', 'e', 's', 's' }; -static const symbol s_24[] = { 't', 'i', 'o', 'n' }; -static const symbol s_25[] = { 'a', 't', 'e' }; -static const symbol s_26[] = { 'a', 'l' }; -static const symbol s_27[] = { 'i', 'c' }; -static const symbol s_28[] = { 's', 'k', 'i' }; -static const symbol s_29[] = { 's', 'k', 'y' }; -static const symbol s_30[] = { 'd', 'i', 'e' }; -static const symbol s_31[] = { 'l', 'i', 'e' }; -static const symbol s_32[] = { 't', 'i', 'e' }; -static const symbol s_33[] = { 'i', 'd', 'l' }; -static const symbol s_34[] = { 'g', 'e', 'n', 't', 'l' }; -static const symbol s_35[] = { 'u', 'g', 'l', 'i' }; -static const symbol s_36[] = { 'e', 'a', 'r', 'l', 'i' }; -static const symbol s_37[] = { 'o', 'n', 'l', 'i' }; -static const symbol s_38[] = { 's', 'i', 'n', 'g', 'l' }; -static const symbol s_39[] = { 'y' }; +static const symbol s_22[] = { 'l', 'e', 's', 's' }; +static const symbol s_23[] = { 't', 'i', 'o', 'n' }; +static const symbol s_24[] = { 'a', 't', 'e' }; +static const symbol s_25[] = { 'a', 'l' }; +static const symbol s_26[] = { 'i', 'c' }; +static const symbol s_27[] = { 's', 'k', 'i' }; +static const symbol s_28[] = { 's', 'k', 'y' }; +static const symbol s_29[] = { 'd', 'i', 'e' }; +static const symbol s_30[] = { 'l', 'i', 'e' }; +static const symbol s_31[] = { 't', 'i', 'e' }; +static const symbol s_32[] = { 'i', 'd', 'l' }; +static const symbol s_33[] = { 'g', 'e', 'n', 't', 'l' }; +static const symbol s_34[] = { 'u', 'g', 'l', 'i' }; +static const symbol s_35[] = { 'e', 'a', 'r', 'l', 'i' }; +static const symbol s_36[] = { 'o', 'n', 'l', 'i' }; +static const symbol s_37[] = { 's', 'i', 'n', 'g', 'l' }; +static const symbol s_38[] = { 'y' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ z->B[0] = 0; /* unset Y_found, line 26 */ @@ -384,8 +382,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ z->c = c2; } { int c3 = z->c; /* do, line 29 */ - while(1) { /* repeat, line 29 */ - int c4 = z->c; +/* repeat, line 29 */ + + while(1) { int c4 = z->c; while(1) { /* goto, line 29 */ int c5 = z->c; if (in_grouping(z, g_v, 97, 121, 0)) goto lab4; /* grouping v, line 29 */ @@ -471,12 +470,12 @@ static int r_shortv(struct SN_env * z) { /* backwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 55 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 55 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 56 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 56 */ return 1; } @@ -485,16 +484,10 @@ static int r_Step_1a(struct SN_env * z) { /* backwardmode */ { int m1 = z->l - z->c; (void)m1; /* try, line 59 */ z->ket = z->c; /* [, line 60 */ if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115)) { z->c = z->l - m1; goto lab0; } /* substring, line 60 */ - among_var = find_among_b(z, a_1, 3); - if (!(among_var)) { z->c = z->l - m1; goto lab0; } + if (!(find_among_b(z, a_1, 3))) { z->c = z->l - m1; goto lab0; } z->bra = z->c; /* ], line 60 */ - switch (among_var) { /* among, line 60 */ - case 0: { z->c = z->l - m1; goto lab0; } - case 1: - { int ret = slice_del(z); /* delete, line 62 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 62 */ + if (ret < 0) return ret; } lab0: ; @@ -505,7 +498,6 @@ static int r_Step_1a(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 65 */ switch (among_var) { /* among, line 65 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 2, s_2); /* <-, line 66 */ if (ret < 0) return ret; @@ -553,7 +545,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 75 */ switch (among_var) { /* among, line 75 */ - case 0: return 0; case 1: { int ret = r_R1(z); /* call R1, line 77 */ if (ret <= 0) return ret; @@ -581,7 +572,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ z->c = z->l - m_test2; } switch (among_var) { /* among, line 81 */ - case 0: return 0; case 1: { int ret; { int saved_c = z->c; @@ -636,12 +626,10 @@ static int r_Step_1c(struct SN_env * z) { /* backwardmode */ lab0: z->bra = z->c; /* ], line 94 */ if (out_grouping_b(z, g_v, 97, 121, 0)) return 0; /* non v, line 95 */ - { int m2 = z->l - z->c; (void)m2; /* not, line 95 */ - if (z->c > z->lb) goto lab2; /* atlimit, line 95 */ - return 0; - lab2: - z->c = z->l - m2; - } + /* not, line 95 */ + if (z->c > z->lb) goto lab2; /* atlimit, line 95 */ + return 0; +lab2: { int ret = slice_from_s(z, 1, s_8); /* <-, line 96 */ if (ret < 0) return ret; } @@ -659,7 +647,6 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 100 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 4, s_9); /* <-, line 101 */ if (ret < 0) return ret; @@ -728,16 +715,11 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ } break; case 14: - { int ret = slice_from_s(z, 3, s_22); /* <-, line 120 */ + { int ret = slice_from_s(z, 4, s_22); /* <-, line 121 */ if (ret < 0) return ret; } break; case 15: - { int ret = slice_from_s(z, 4, s_23); /* <-, line 121 */ - if (ret < 0) return ret; - } - break; - case 16: if (in_grouping_b(z, g_valid_LI, 99, 116, 0)) return 0; /* grouping valid_LI, line 122 */ { int ret = slice_del(z); /* delete, line 122 */ if (ret < 0) return ret; @@ -758,24 +740,23 @@ static int r_Step_3(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 127 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 4, s_24); /* <-, line 128 */ + { int ret = slice_from_s(z, 4, s_23); /* <-, line 128 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 3, s_25); /* <-, line 129 */ + { int ret = slice_from_s(z, 3, s_24); /* <-, line 129 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 2, s_26); /* <-, line 130 */ + { int ret = slice_from_s(z, 2, s_25); /* <-, line 130 */ if (ret < 0) return ret; } break; case 4: - { int ret = slice_from_s(z, 2, s_27); /* <-, line 132 */ + { int ret = slice_from_s(z, 2, s_26); /* <-, line 132 */ if (ret < 0) return ret; } break; @@ -807,7 +788,6 @@ static int r_Step_4(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 141 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 144 */ if (ret < 0) return ret; @@ -840,7 +820,6 @@ static int r_Step_5(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 150 */ switch (among_var) { /* among, line 150 */ - case 0: return 0; case 1: { int m1 = z->l - z->c; (void)m1; /* or, line 151 */ { int ret = r_R2(z); /* call R2, line 151 */ @@ -900,59 +879,58 @@ static int r_exception1(struct SN_env * z) { /* forwardmode */ z->ket = z->c; /* ], line 170 */ if (z->c < z->l) return 0; /* atlimit, line 170 */ switch (among_var) { /* among, line 170 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 3, s_28); /* <-, line 174 */ + { int ret = slice_from_s(z, 3, s_27); /* <-, line 174 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 3, s_29); /* <-, line 175 */ + { int ret = slice_from_s(z, 3, s_28); /* <-, line 175 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 3, s_30); /* <-, line 176 */ + { int ret = slice_from_s(z, 3, s_29); /* <-, line 176 */ if (ret < 0) return ret; } break; case 4: - { int ret = slice_from_s(z, 3, s_31); /* <-, line 177 */ + { int ret = slice_from_s(z, 3, s_30); /* <-, line 177 */ if (ret < 0) return ret; } break; case 5: - { int ret = slice_from_s(z, 3, s_32); /* <-, line 178 */ + { int ret = slice_from_s(z, 3, s_31); /* <-, line 178 */ if (ret < 0) return ret; } break; case 6: - { int ret = slice_from_s(z, 3, s_33); /* <-, line 182 */ + { int ret = slice_from_s(z, 3, s_32); /* <-, line 182 */ if (ret < 0) return ret; } break; case 7: - { int ret = slice_from_s(z, 5, s_34); /* <-, line 183 */ + { int ret = slice_from_s(z, 5, s_33); /* <-, line 183 */ if (ret < 0) return ret; } break; case 8: - { int ret = slice_from_s(z, 4, s_35); /* <-, line 184 */ + { int ret = slice_from_s(z, 4, s_34); /* <-, line 184 */ if (ret < 0) return ret; } break; case 9: - { int ret = slice_from_s(z, 5, s_36); /* <-, line 185 */ + { int ret = slice_from_s(z, 5, s_35); /* <-, line 185 */ if (ret < 0) return ret; } break; case 10: - { int ret = slice_from_s(z, 4, s_37); /* <-, line 186 */ + { int ret = slice_from_s(z, 4, s_36); /* <-, line 186 */ if (ret < 0) return ret; } break; case 11: - { int ret = slice_from_s(z, 5, s_38); /* <-, line 187 */ + { int ret = slice_from_s(z, 5, s_37); /* <-, line 187 */ if (ret < 0) return ret; } break; @@ -962,8 +940,9 @@ static int r_exception1(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ if (!(z->B[0])) return 0; /* Boolean test Y_found, line 203 */ - while(1) { /* repeat, line 203 */ - int c1 = z->c; +/* repeat, line 203 */ + + while(1) { int c1 = z->c; while(1) { /* goto, line 203 */ int c2 = z->c; z->bra = z->c; /* [, line 203 */ @@ -977,7 +956,7 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ if (z->c >= z->l) goto lab0; z->c++; /* goto, line 203 */ } - { int ret = slice_from_s(z, 1, s_39); /* <-, line 203 */ + { int ret = slice_from_s(z, 1, s_38); /* <-, line 203 */ if (ret < 0) return ret; } continue; @@ -1009,98 +988,74 @@ extern int english_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ goto lab0; lab2: z->c = c1; - { int c3 = z->c; /* do, line 209 */ - { int ret = r_prelude(z); /* call prelude, line 209 */ - if (ret == 0) goto lab4; - if (ret < 0) return ret; - } - lab4: - z->c = c3; + /* do, line 209 */ + { int ret = r_prelude(z); /* call prelude, line 209 */ + if (ret < 0) return ret; } - { int c4 = z->c; /* do, line 210 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 210 */ - if (ret == 0) goto lab5; - if (ret < 0) return ret; - } - lab5: - z->c = c4; + /* do, line 210 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 210 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 211 */ - { int m5 = z->l - z->c; (void)m5; /* do, line 213 */ + { int m3 = z->l - z->c; (void)m3; /* do, line 213 */ { int ret = r_Step_1a(z); /* call Step_1a, line 213 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: - z->c = z->l - m5; + z->c = z->l - m3; } - { int m6 = z->l - z->c; (void)m6; /* or, line 215 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 215 */ { int ret = r_exception2(z); /* call exception2, line 215 */ - if (ret == 0) goto lab8; + if (ret == 0) goto lab5; if (ret < 0) return ret; } - goto lab7; - lab8: - z->c = z->l - m6; - { int m7 = z->l - z->c; (void)m7; /* do, line 217 */ + goto lab4; + lab5: + z->c = z->l - m4; + { int m5 = z->l - z->c; (void)m5; /* do, line 217 */ { int ret = r_Step_1b(z); /* call Step_1b, line 217 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: - z->c = z->l - m7; + z->c = z->l - m5; } - { int m8 = z->l - z->c; (void)m8; /* do, line 218 */ + { int m6 = z->l - z->c; (void)m6; /* do, line 218 */ { int ret = r_Step_1c(z); /* call Step_1c, line 218 */ - if (ret == 0) goto lab10; if (ret < 0) return ret; } - lab10: - z->c = z->l - m8; + z->c = z->l - m6; } - { int m9 = z->l - z->c; (void)m9; /* do, line 220 */ + { int m7 = z->l - z->c; (void)m7; /* do, line 220 */ { int ret = r_Step_2(z); /* call Step_2, line 220 */ - if (ret == 0) goto lab11; if (ret < 0) return ret; } - lab11: - z->c = z->l - m9; + z->c = z->l - m7; } - { int m10 = z->l - z->c; (void)m10; /* do, line 221 */ + { int m8 = z->l - z->c; (void)m8; /* do, line 221 */ { int ret = r_Step_3(z); /* call Step_3, line 221 */ - if (ret == 0) goto lab12; if (ret < 0) return ret; } - lab12: - z->c = z->l - m10; + z->c = z->l - m8; } - { int m11 = z->l - z->c; (void)m11; /* do, line 222 */ + { int m9 = z->l - z->c; (void)m9; /* do, line 222 */ { int ret = r_Step_4(z); /* call Step_4, line 222 */ - if (ret == 0) goto lab13; if (ret < 0) return ret; } - lab13: - z->c = z->l - m11; + z->c = z->l - m9; } - { int m12 = z->l - z->c; (void)m12; /* do, line 224 */ + { int m10 = z->l - z->c; (void)m10; /* do, line 224 */ { int ret = r_Step_5(z); /* call Step_5, line 224 */ - if (ret == 0) goto lab14; if (ret < 0) return ret; } - lab14: - z->c = z->l - m12; + z->c = z->l - m10; } } - lab7: + lab4: z->c = z->lb; - { int c13 = z->c; /* do, line 227 */ + { int c11 = z->c; /* do, line 227 */ { int ret = r_postlude(z); /* call postlude, line 227 */ - if (ret == 0) goto lab15; if (ret < 0) return ret; } - lab15: - z->c = c13; + z->c = c11; } } lab0: diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_english.h b/src/dep/snowball/src_c/stem_ISO_8859_1_english.h index d5a56a98f0..ccd4acb27d 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_english.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_english.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.c b/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.c index 2d7c6cb9f7..d9da002ac9 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -183,7 +182,7 @@ static const struct among a_6[30] = /* 4 */ { 2, s_6_4, 0, -1, 0}, /* 5 */ { 3, s_6_5, 4, -1, 0}, /* 6 */ { 3, s_6_6, 4, -1, 0}, -/* 7 */ { 3, s_6_7, 4, 9, 0}, +/* 7 */ { 3, s_6_7, 4, 2, 0}, /* 8 */ { 3, s_6_8, -1, -1, 0}, /* 9 */ { 3, s_6_9, -1, -1, 0}, /* 10 */ { 3, s_6_10, -1, -1, 0}, @@ -205,7 +204,7 @@ static const struct among a_6[30] = /* 26 */ { 2, s_6_26, 22, -1, 0}, /* 27 */ { 3, s_6_27, 26, -1, 0}, /* 28 */ { 3, s_6_28, 26, -1, 0}, -/* 29 */ { 3, s_6_29, 26, 9, 0} +/* 29 */ { 3, s_6_29, 26, 2, 0} }; static const symbol s_7_0[3] = { 'e', 'j', 'a' }; @@ -261,6 +260,8 @@ static const struct among a_9[2] = static const unsigned char g_AEI[] = { 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8 }; +static const unsigned char g_C[] = { 119, 223, 119, 1 }; + static const unsigned char g_V1[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }; static const unsigned char g_V2[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }; @@ -274,56 +275,53 @@ static const symbol s_3[] = { 'p', 'o' }; static const symbol s_4[] = { 'p', 'o' }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ - z->I[0] = z->l; /* $p1 = , line 43 */ - z->I[1] = z->l; /* $p2 = , line 44 */ - if (out_grouping(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 46 */ - { /* gopast */ /* non V1, line 46 */ + z->I[0] = z->l; /* $p1 = , line 44 */ + z->I[1] = z->l; /* $p2 = , line 45 */ + if (out_grouping(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 47 */ + { /* gopast */ /* non V1, line 47 */ int ret = in_grouping(z, g_V1, 97, 246, 1); if (ret < 0) return 0; z->c += ret; } - z->I[0] = z->c; /* setmark p1, line 46 */ - if (out_grouping(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 47 */ - { /* gopast */ /* non V1, line 47 */ + z->I[0] = z->c; /* setmark p1, line 47 */ + if (out_grouping(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 48 */ + { /* gopast */ /* non V1, line 48 */ int ret = in_grouping(z, g_V1, 97, 246, 1); if (ret < 0) return 0; z->c += ret; } - z->I[1] = z->c; /* setmark p2, line 47 */ + z->I[1] = z->c; /* setmark p2, line 48 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 52 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 53 */ return 1; } static int r_particle_etc(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 55 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 56 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 55 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 55 */ - among_var = find_among_b(z, a_0, 10); /* substring, line 55 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 56 */ + among_var = find_among_b(z, a_0, 10); /* substring, line 56 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 55 */ + z->bra = z->c; /* ], line 56 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 56 */ - case 0: return 0; + switch (among_var) { /* among, line 57 */ case 1: - if (in_grouping_b(z, g_particle_end, 97, 246, 0)) return 0; /* grouping particle_end, line 62 */ + if (in_grouping_b(z, g_particle_end, 97, 246, 0)) return 0; /* grouping particle_end, line 63 */ break; case 2: - { int ret = r_R2(z); /* call R2, line 64 */ + { int ret = r_R2(z); /* call R2, line 65 */ if (ret <= 0) return ret; } break; } - { int ret = slice_del(z); /* delete, line 66 */ + { int ret = slice_del(z); /* delete, line 67 */ if (ret < 0) return ret; } return 1; @@ -331,66 +329,63 @@ static int r_particle_etc(struct SN_env * z) { /* backwardmode */ static int r_possessive(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 69 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 70 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 69 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 69 */ - among_var = find_among_b(z, a_4, 9); /* substring, line 69 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 70 */ + among_var = find_among_b(z, a_4, 9); /* substring, line 70 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 69 */ + z->bra = z->c; /* ], line 70 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 70 */ - case 0: return 0; + switch (among_var) { /* among, line 71 */ case 1: - { int m2 = z->l - z->c; (void)m2; /* not, line 72 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'k') goto lab0; /* literal, line 72 */ + { int m2 = z->l - z->c; (void)m2; /* not, line 73 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'k') goto lab0; /* literal, line 73 */ z->c--; return 0; lab0: z->c = z->l - m2; } - { int ret = slice_del(z); /* delete, line 72 */ + { int ret = slice_del(z); /* delete, line 73 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 74 */ + { int ret = slice_del(z); /* delete, line 75 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 74 */ - if (!(eq_s_b(z, 3, s_0))) return 0; /* literal, line 74 */ - z->bra = z->c; /* ], line 74 */ - { int ret = slice_from_s(z, 3, s_1); /* <-, line 74 */ + z->ket = z->c; /* [, line 75 */ + if (!(eq_s_b(z, 3, s_0))) return 0; /* literal, line 75 */ + z->bra = z->c; /* ], line 75 */ + { int ret = slice_from_s(z, 3, s_1); /* <-, line 75 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 78 */ + { int ret = slice_del(z); /* delete, line 79 */ if (ret < 0) return ret; } break; case 4: - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 97) return 0; /* among, line 81 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 97) return 0; /* among, line 82 */ if (!(find_among_b(z, a_1, 6))) return 0; - { int ret = slice_del(z); /* delete, line 81 */ + { int ret = slice_del(z); /* delete, line 82 */ if (ret < 0) return ret; } break; case 5: - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 228) return 0; /* among, line 83 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 228) return 0; /* among, line 84 */ if (!(find_among_b(z, a_2, 6))) return 0; - { int ret = slice_del(z); /* delete, line 84 */ + { int ret = slice_del(z); /* delete, line 85 */ if (ret < 0) return ret; } break; case 6: - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 101) return 0; /* among, line 86 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 101) return 0; /* among, line 87 */ if (!(find_among_b(z, a_3, 2))) return 0; - { int ret = slice_del(z); /* delete, line 86 */ + { int ret = slice_del(z); /* delete, line 87 */ if (ret < 0) return ret; } break; @@ -399,141 +394,129 @@ static int r_possessive(struct SN_env * z) { /* backwardmode */ } static int r_LONG(struct SN_env * z) { /* backwardmode */ - if (!(find_among_b(z, a_5, 7))) return 0; /* among, line 91 */ + if (!(find_among_b(z, a_5, 7))) return 0; /* among, line 92 */ return 1; } static int r_VI(struct SN_env * z) { /* backwardmode */ - if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 93 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 94 */ z->c--; - if (in_grouping_b(z, g_V2, 97, 246, 0)) return 0; /* grouping V2, line 93 */ + if (in_grouping_b(z, g_V2, 97, 246, 0)) return 0; /* grouping V2, line 94 */ return 1; } static int r_case_ending(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 96 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 97 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 96 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 96 */ - among_var = find_among_b(z, a_6, 30); /* substring, line 96 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 97 */ + among_var = find_among_b(z, a_6, 30); /* substring, line 97 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 96 */ + z->bra = z->c; /* ], line 97 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 97 */ - case 0: return 0; + switch (among_var) { /* among, line 98 */ case 1: - if (z->c <= z->lb || z->p[z->c - 1] != 'a') return 0; /* literal, line 98 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'a') return 0; /* literal, line 99 */ z->c--; break; case 2: - if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0; /* literal, line 99 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0; /* literal, line 100 */ z->c--; break; case 3: - if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 100 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 101 */ z->c--; break; case 4: - if (z->c <= z->lb || z->p[z->c - 1] != 'o') return 0; /* literal, line 101 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') return 0; /* literal, line 102 */ z->c--; break; case 5: - if (z->c <= z->lb || z->p[z->c - 1] != 0xE4) return 0; /* literal, line 102 */ + if (z->c <= z->lb || z->p[z->c - 1] != 0xE4) return 0; /* literal, line 103 */ z->c--; break; case 6: - if (z->c <= z->lb || z->p[z->c - 1] != 0xF6) return 0; /* literal, line 103 */ + if (z->c <= z->lb || z->p[z->c - 1] != 0xF6) return 0; /* literal, line 104 */ z->c--; break; case 7: - { int m2 = z->l - z->c; (void)m2; /* try, line 111 */ - { int m3 = z->l - z->c; (void)m3; /* and, line 113 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 112 */ - { int ret = r_LONG(z); /* call LONG, line 111 */ + { int m2 = z->l - z->c; (void)m2; /* try, line 112 */ + { int m3 = z->l - z->c; (void)m3; /* and, line 114 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 113 */ + { int ret = r_LONG(z); /* call LONG, line 112 */ if (ret == 0) goto lab2; if (ret < 0) return ret; } goto lab1; lab2: z->c = z->l - m4; - if (!(eq_s_b(z, 2, s_2))) { z->c = z->l - m2; goto lab0; } /* literal, line 112 */ + if (!(eq_s_b(z, 2, s_2))) { z->c = z->l - m2; goto lab0; } /* literal, line 113 */ } lab1: z->c = z->l - m3; if (z->c <= z->lb) { z->c = z->l - m2; goto lab0; } - z->c--; /* next, line 113 */ + z->c--; /* next, line 114 */ } - z->bra = z->c; /* ], line 113 */ + z->bra = z->c; /* ], line 114 */ lab0: ; } break; case 8: - if (in_grouping_b(z, g_V1, 97, 246, 0)) return 0; /* grouping V1, line 119 */ - if (out_grouping_b(z, g_V1, 97, 246, 0)) return 0; /* non V1, line 119 */ - break; - case 9: - if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0; /* literal, line 121 */ - z->c--; + if (in_grouping_b(z, g_V1, 97, 246, 0)) return 0; /* grouping V1, line 120 */ + if (in_grouping_b(z, g_C, 98, 122, 0)) return 0; /* grouping C, line 120 */ break; } - { int ret = slice_del(z); /* delete, line 138 */ + { int ret = slice_del(z); /* delete, line 139 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set ending_removed, line 139 */ + z->B[0] = 1; /* set ending_removed, line 140 */ return 1; } static int r_other_endings(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 142 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 143 */ if (z->c < z->I[1]) return 0; - z->c = z->I[1]; /* tomark, line 142 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 142 */ - among_var = find_among_b(z, a_7, 14); /* substring, line 142 */ + mlimit1 = z->lb; z->lb = z->I[1]; + z->ket = z->c; /* [, line 143 */ + among_var = find_among_b(z, a_7, 14); /* substring, line 143 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 142 */ + z->bra = z->c; /* ], line 143 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 143 */ - case 0: return 0; + switch (among_var) { /* among, line 144 */ case 1: - { int m2 = z->l - z->c; (void)m2; /* not, line 146 */ - if (!(eq_s_b(z, 2, s_3))) goto lab0; /* literal, line 146 */ + { int m2 = z->l - z->c; (void)m2; /* not, line 147 */ + if (!(eq_s_b(z, 2, s_3))) goto lab0; /* literal, line 147 */ return 0; lab0: z->c = z->l - m2; } break; } - { int ret = slice_del(z); /* delete, line 151 */ + { int ret = slice_del(z); /* delete, line 152 */ if (ret < 0) return ret; } return 1; } static int r_i_plural(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 154 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 155 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 154 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 154 */ - if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 106)) { z->lb = mlimit1; return 0; } /* substring, line 154 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 155 */ + if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 106)) { z->lb = mlimit1; return 0; } /* substring, line 155 */ if (!(find_among_b(z, a_8, 2))) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 154 */ + z->bra = z->c; /* ], line 155 */ z->lb = mlimit1; } - { int ret = slice_del(z); /* delete, line 158 */ + { int ret = slice_del(z); /* delete, line 159 */ if (ret < 0) return ret; } return 1; @@ -541,120 +524,113 @@ static int r_i_plural(struct SN_env * z) { /* backwardmode */ static int r_t_plural(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 161 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 162 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 161 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 162 */ - if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit1; return 0; } /* literal, line 162 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 163 */ + if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit1; return 0; } /* literal, line 163 */ z->c--; - z->bra = z->c; /* ], line 162 */ - { int m_test2 = z->l - z->c; /* test, line 162 */ - if (in_grouping_b(z, g_V1, 97, 246, 0)) { z->lb = mlimit1; return 0; } /* grouping V1, line 162 */ + z->bra = z->c; /* ], line 163 */ + { int m_test2 = z->l - z->c; /* test, line 163 */ + if (in_grouping_b(z, g_V1, 97, 246, 0)) { z->lb = mlimit1; return 0; } /* grouping V1, line 163 */ z->c = z->l - m_test2; } - { int ret = slice_del(z); /* delete, line 163 */ + { int ret = slice_del(z); /* delete, line 164 */ if (ret < 0) return ret; } z->lb = mlimit1; } - { int m3 = z->l - z->c; (void)m3; /* setlimit, line 165 */ - int mlimit3; + + { int mlimit3; /* setlimit, line 166 */ if (z->c < z->I[1]) return 0; - z->c = z->I[1]; /* tomark, line 165 */ - mlimit3 = z->lb; z->lb = z->c; - z->c = z->l - m3; - z->ket = z->c; /* [, line 165 */ - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 97) { z->lb = mlimit3; return 0; } /* substring, line 165 */ + mlimit3 = z->lb; z->lb = z->I[1]; + z->ket = z->c; /* [, line 166 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 97) { z->lb = mlimit3; return 0; } /* substring, line 166 */ among_var = find_among_b(z, a_9, 2); if (!(among_var)) { z->lb = mlimit3; return 0; } - z->bra = z->c; /* ], line 165 */ + z->bra = z->c; /* ], line 166 */ z->lb = mlimit3; } - switch (among_var) { /* among, line 166 */ - case 0: return 0; + switch (among_var) { /* among, line 167 */ case 1: - { int m4 = z->l - z->c; (void)m4; /* not, line 167 */ - if (!(eq_s_b(z, 2, s_4))) goto lab0; /* literal, line 167 */ + { int m4 = z->l - z->c; (void)m4; /* not, line 168 */ + if (!(eq_s_b(z, 2, s_4))) goto lab0; /* literal, line 168 */ return 0; lab0: z->c = z->l - m4; } break; } - { int ret = slice_del(z); /* delete, line 170 */ + { int ret = slice_del(z); /* delete, line 171 */ if (ret < 0) return ret; } return 1; } static int r_tidy(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 173 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 174 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 173 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - { int m2 = z->l - z->c; (void)m2; /* do, line 174 */ - { int m3 = z->l - z->c; (void)m3; /* and, line 174 */ - { int ret = r_LONG(z); /* call LONG, line 174 */ + mlimit1 = z->lb; z->lb = z->I[0]; + { int m2 = z->l - z->c; (void)m2; /* do, line 175 */ + { int m3 = z->l - z->c; (void)m3; /* and, line 175 */ + { int ret = r_LONG(z); /* call LONG, line 175 */ if (ret == 0) goto lab0; if (ret < 0) return ret; } z->c = z->l - m3; - z->ket = z->c; /* [, line 174 */ + z->ket = z->c; /* [, line 175 */ if (z->c <= z->lb) goto lab0; - z->c--; /* next, line 174 */ - z->bra = z->c; /* ], line 174 */ - { int ret = slice_del(z); /* delete, line 174 */ + z->c--; /* next, line 175 */ + z->bra = z->c; /* ], line 175 */ + { int ret = slice_del(z); /* delete, line 175 */ if (ret < 0) return ret; } } lab0: z->c = z->l - m2; } - { int m4 = z->l - z->c; (void)m4; /* do, line 175 */ - z->ket = z->c; /* [, line 175 */ - if (in_grouping_b(z, g_AEI, 97, 228, 0)) goto lab1; /* grouping AEI, line 175 */ - z->bra = z->c; /* ], line 175 */ - if (out_grouping_b(z, g_V1, 97, 246, 0)) goto lab1; /* non V1, line 175 */ - { int ret = slice_del(z); /* delete, line 175 */ + { int m4 = z->l - z->c; (void)m4; /* do, line 176 */ + z->ket = z->c; /* [, line 176 */ + if (in_grouping_b(z, g_AEI, 97, 228, 0)) goto lab1; /* grouping AEI, line 176 */ + z->bra = z->c; /* ], line 176 */ + if (in_grouping_b(z, g_C, 98, 122, 0)) goto lab1; /* grouping C, line 176 */ + { int ret = slice_del(z); /* delete, line 176 */ if (ret < 0) return ret; } lab1: z->c = z->l - m4; } - { int m5 = z->l - z->c; (void)m5; /* do, line 176 */ - z->ket = z->c; /* [, line 176 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab2; /* literal, line 176 */ + { int m5 = z->l - z->c; (void)m5; /* do, line 177 */ + z->ket = z->c; /* [, line 177 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab2; /* literal, line 177 */ z->c--; - z->bra = z->c; /* ], line 176 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 176 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab4; /* literal, line 176 */ + z->bra = z->c; /* ], line 177 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 177 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab4; /* literal, line 177 */ z->c--; goto lab3; lab4: z->c = z->l - m6; - if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab2; /* literal, line 176 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab2; /* literal, line 177 */ z->c--; } lab3: - { int ret = slice_del(z); /* delete, line 176 */ + { int ret = slice_del(z); /* delete, line 177 */ if (ret < 0) return ret; } lab2: z->c = z->l - m5; } - { int m7 = z->l - z->c; (void)m7; /* do, line 177 */ - z->ket = z->c; /* [, line 177 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab5; /* literal, line 177 */ + { int m7 = z->l - z->c; (void)m7; /* do, line 178 */ + z->ket = z->c; /* [, line 178 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab5; /* literal, line 178 */ z->c--; - z->bra = z->c; /* ], line 177 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab5; /* literal, line 177 */ + z->bra = z->c; /* ], line 178 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab5; /* literal, line 178 */ z->c--; - { int ret = slice_del(z); /* delete, line 177 */ + { int ret = slice_del(z); /* delete, line 178 */ if (ret < 0) return ret; } lab5: @@ -662,94 +638,75 @@ static int r_tidy(struct SN_env * z) { /* backwardmode */ } z->lb = mlimit1; } - if (in_grouping_b(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* non V1, line 179 */ - z->ket = z->c; /* [, line 179 */ - if (z->c <= z->lb) return 0; - z->c--; /* next, line 179 */ - z->bra = z->c; /* ], line 179 */ - z->S[0] = slice_to(z, z->S[0]); /* -> x, line 179 */ - if (z->S[0] == 0) return -1; /* -> x, line 179 */ - if (!(eq_v_b(z, z->S[0]))) return 0; /* name x, line 179 */ - { int ret = slice_del(z); /* delete, line 179 */ + if (in_grouping_b(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* non V1, line 180 */ + z->ket = z->c; /* [, line 180 */ + if (in_grouping_b(z, g_C, 98, 122, 0)) return 0; /* grouping C, line 180 */ + z->bra = z->c; /* ], line 180 */ + z->S[0] = slice_to(z, z->S[0]); /* -> x, line 180 */ + if (z->S[0] == 0) return -1; /* -> x, line 180 */ + if (!(eq_v_b(z, z->S[0]))) return 0; /* name x, line 180 */ + { int ret = slice_del(z); /* delete, line 180 */ if (ret < 0) return ret; } return 1; } extern int finnish_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 185 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 185 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 186 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 186 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - z->B[0] = 0; /* unset ending_removed, line 186 */ - z->lb = z->c; z->c = z->l; /* backwards, line 187 */ + z->B[0] = 0; /* unset ending_removed, line 187 */ + z->lb = z->c; z->c = z->l; /* backwards, line 188 */ - { int m2 = z->l - z->c; (void)m2; /* do, line 188 */ - { int ret = r_particle_etc(z); /* call particle_etc, line 188 */ - if (ret == 0) goto lab1; + { int m2 = z->l - z->c; (void)m2; /* do, line 189 */ + { int ret = r_particle_etc(z); /* call particle_etc, line 189 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } - { int m3 = z->l - z->c; (void)m3; /* do, line 189 */ - { int ret = r_possessive(z); /* call possessive, line 189 */ - if (ret == 0) goto lab2; + { int m3 = z->l - z->c; (void)m3; /* do, line 190 */ + { int ret = r_possessive(z); /* call possessive, line 190 */ if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } - { int m4 = z->l - z->c; (void)m4; /* do, line 190 */ - { int ret = r_case_ending(z); /* call case_ending, line 190 */ - if (ret == 0) goto lab3; + { int m4 = z->l - z->c; (void)m4; /* do, line 191 */ + { int ret = r_case_ending(z); /* call case_ending, line 191 */ if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } - { int m5 = z->l - z->c; (void)m5; /* do, line 191 */ - { int ret = r_other_endings(z); /* call other_endings, line 191 */ - if (ret == 0) goto lab4; + { int m5 = z->l - z->c; (void)m5; /* do, line 192 */ + { int ret = r_other_endings(z); /* call other_endings, line 192 */ if (ret < 0) return ret; } - lab4: z->c = z->l - m5; } - { int m6 = z->l - z->c; (void)m6; /* or, line 192 */ - if (!(z->B[0])) goto lab6; /* Boolean test ending_removed, line 192 */ - { int m7 = z->l - z->c; (void)m7; /* do, line 192 */ - { int ret = r_i_plural(z); /* call i_plural, line 192 */ - if (ret == 0) goto lab7; - if (ret < 0) return ret; - } - lab7: - z->c = z->l - m7; + /* or, line 193 */ + if (!(z->B[0])) goto lab1; /* Boolean test ending_removed, line 193 */ + { int m6 = z->l - z->c; (void)m6; /* do, line 193 */ + { int ret = r_i_plural(z); /* call i_plural, line 193 */ + if (ret < 0) return ret; } - goto lab5; - lab6: z->c = z->l - m6; - { int m8 = z->l - z->c; (void)m8; /* do, line 192 */ - { int ret = r_t_plural(z); /* call t_plural, line 192 */ - if (ret == 0) goto lab8; - if (ret < 0) return ret; - } - lab8: - z->c = z->l - m8; + } + goto lab0; +lab1: + { int m7 = z->l - z->c; (void)m7; /* do, line 193 */ + { int ret = r_t_plural(z); /* call t_plural, line 193 */ + if (ret < 0) return ret; } + z->c = z->l - m7; } -lab5: - { int m9 = z->l - z->c; (void)m9; /* do, line 193 */ - { int ret = r_tidy(z); /* call tidy, line 193 */ - if (ret == 0) goto lab9; +lab0: + { int m8 = z->l - z->c; (void)m8; /* do, line 194 */ + { int ret = r_tidy(z); /* call tidy, line 194 */ if (ret < 0) return ret; } - lab9: - z->c = z->l - m9; + z->c = z->l - m8; } z->c = z->lb; return 1; diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.h b/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.h index ba197d8a70..7f7b36ed2a 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_finnish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_french.c b/src/dep/snowball/src_c/stem_ISO_8859_1_french.c index 1b938ccb47..80e7d71fa8 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_french.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_french.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -45,16 +44,22 @@ static const struct among a_0[3] = /* 2 */ { 3, s_0_2, -1, -1, 0} }; -static const symbol s_1_1[1] = { 'I' }; -static const symbol s_1_2[1] = { 'U' }; -static const symbol s_1_3[1] = { 'Y' }; +static const symbol s_1_1[1] = { 'H' }; +static const symbol s_1_2[2] = { 'H', 'e' }; +static const symbol s_1_3[2] = { 'H', 'i' }; +static const symbol s_1_4[1] = { 'I' }; +static const symbol s_1_5[1] = { 'U' }; +static const symbol s_1_6[1] = { 'Y' }; -static const struct among a_1[4] = +static const struct among a_1[7] = { -/* 0 */ { 0, 0, -1, 4, 0}, -/* 1 */ { 1, s_1_1, 0, 1, 0}, -/* 2 */ { 1, s_1_2, 0, 2, 0}, -/* 3 */ { 1, s_1_3, 0, 3, 0} +/* 0 */ { 0, 0, -1, 7, 0}, +/* 1 */ { 1, s_1_1, 0, 6, 0}, +/* 2 */ { 2, s_1_2, 1, 4, 0}, +/* 3 */ { 2, s_1_3, 1, 5, 0}, +/* 4 */ { 1, s_1_4, 0, 1, 0}, +/* 5 */ { 1, s_1_5, 0, 2, 0}, +/* 6 */ { 1, s_1_6, 0, 3, 0} }; static const symbol s_2_0[3] = { 'i', 'q', 'U' }; @@ -338,17 +343,15 @@ static const symbol s_7_2[4] = { 'i', 0xE8, 'r', 'e' }; static const symbol s_7_3[3] = { 'i', 'o', 'n' }; static const symbol s_7_4[3] = { 'I', 'e', 'r' }; static const symbol s_7_5[3] = { 'i', 'e', 'r' }; -static const symbol s_7_6[1] = { 0xEB }; -static const struct among a_7[7] = +static const struct among a_7[6] = { /* 0 */ { 1, s_7_0, -1, 3, 0}, /* 1 */ { 4, s_7_1, 0, 2, 0}, /* 2 */ { 4, s_7_2, 0, 2, 0}, /* 3 */ { 3, s_7_3, -1, 1, 0}, /* 4 */ { 3, s_7_4, -1, 2, 0}, -/* 5 */ { 3, s_7_5, -1, 2, 0}, -/* 6 */ { 1, s_7_6, -1, 4, 0} +/* 5 */ { 3, s_7_5, -1, 2, 0} }; static const symbol s_8_0[3] = { 'e', 'l', 'l' }; @@ -373,38 +376,43 @@ static const unsigned char g_keep_with_s[] = { 1, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0 static const symbol s_0[] = { 'U' }; static const symbol s_1[] = { 'I' }; static const symbol s_2[] = { 'Y' }; -static const symbol s_3[] = { 'Y' }; -static const symbol s_4[] = { 'U' }; -static const symbol s_5[] = { 'i' }; -static const symbol s_6[] = { 'u' }; -static const symbol s_7[] = { 'y' }; -static const symbol s_8[] = { 'i', 'c' }; -static const symbol s_9[] = { 'i', 'q', 'U' }; -static const symbol s_10[] = { 'l', 'o', 'g' }; -static const symbol s_11[] = { 'u' }; -static const symbol s_12[] = { 'e', 'n', 't' }; -static const symbol s_13[] = { 'a', 't' }; -static const symbol s_14[] = { 'e', 'u', 'x' }; -static const symbol s_15[] = { 'i' }; -static const symbol s_16[] = { 'a', 'b', 'l' }; -static const symbol s_17[] = { 'i', 'q', 'U' }; -static const symbol s_18[] = { 'a', 't' }; -static const symbol s_19[] = { 'i', 'c' }; -static const symbol s_20[] = { 'i', 'q', 'U' }; -static const symbol s_21[] = { 'e', 'a', 'u' }; -static const symbol s_22[] = { 'a', 'l' }; -static const symbol s_23[] = { 'e', 'u', 'x' }; -static const symbol s_24[] = { 'a', 'n', 't' }; -static const symbol s_25[] = { 'e', 'n', 't' }; -static const symbol s_26[] = { 'i' }; -static const symbol s_27[] = { 'g', 'u' }; -static const symbol s_28[] = { 'e' }; -static const symbol s_29[] = { 'i' }; -static const symbol s_30[] = { 'c' }; +static const symbol s_3[] = { 'H', 'e' }; +static const symbol s_4[] = { 'H', 'i' }; +static const symbol s_5[] = { 'Y' }; +static const symbol s_6[] = { 'U' }; +static const symbol s_7[] = { 'i' }; +static const symbol s_8[] = { 'u' }; +static const symbol s_9[] = { 'y' }; +static const symbol s_10[] = { 0xEB }; +static const symbol s_11[] = { 0xEF }; +static const symbol s_12[] = { 'i', 'c' }; +static const symbol s_13[] = { 'i', 'q', 'U' }; +static const symbol s_14[] = { 'l', 'o', 'g' }; +static const symbol s_15[] = { 'u' }; +static const symbol s_16[] = { 'e', 'n', 't' }; +static const symbol s_17[] = { 'a', 't' }; +static const symbol s_18[] = { 'e', 'u', 'x' }; +static const symbol s_19[] = { 'i' }; +static const symbol s_20[] = { 'a', 'b', 'l' }; +static const symbol s_21[] = { 'i', 'q', 'U' }; +static const symbol s_22[] = { 'a', 't' }; +static const symbol s_23[] = { 'i', 'c' }; +static const symbol s_24[] = { 'i', 'q', 'U' }; +static const symbol s_25[] = { 'e', 'a', 'u' }; +static const symbol s_26[] = { 'a', 'l' }; +static const symbol s_27[] = { 'e', 'u', 'x' }; +static const symbol s_28[] = { 'a', 'n', 't' }; +static const symbol s_29[] = { 'e', 'n', 't' }; +static const symbol s_30[] = { 'H', 'i' }; +static const symbol s_31[] = { 'i' }; +static const symbol s_32[] = { 'e' }; +static const symbol s_33[] = { 'i' }; +static const symbol s_34[] = { 'c' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ - while(1) { /* repeat, line 38 */ - int c1 = z->c; +/* repeat, line 38 */ + + while(1) { int c1 = z->c; while(1) { /* goto, line 38 */ int c2 = z->c; { int c3 = z->c; /* or, line 44 */ @@ -443,23 +451,43 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ lab3: z->c = c3; z->bra = z->c; /* [, line 45 */ - if (z->c == z->l || z->p[z->c] != 'y') goto lab7; /* literal, line 45 */ + if (z->c == z->l || z->p[z->c] != 0xEB) goto lab7; /* literal, line 45 */ z->c++; z->ket = z->c; /* ], line 45 */ - if (in_grouping(z, g_v, 97, 251, 0)) goto lab7; /* grouping v, line 45 */ - { int ret = slice_from_s(z, 1, s_3); /* <-, line 45 */ + { int ret = slice_from_s(z, 2, s_3); /* <-, line 45 */ if (ret < 0) return ret; } goto lab2; lab7: z->c = c3; - if (z->c == z->l || z->p[z->c] != 'q') goto lab1; /* literal, line 47 */ - z->c++; z->bra = z->c; /* [, line 47 */ - if (z->c == z->l || z->p[z->c] != 'u') goto lab1; /* literal, line 47 */ + if (z->c == z->l || z->p[z->c] != 0xEF) goto lab8; /* literal, line 47 */ z->c++; z->ket = z->c; /* ], line 47 */ - { int ret = slice_from_s(z, 1, s_4); /* <-, line 47 */ + { int ret = slice_from_s(z, 2, s_4); /* <-, line 47 */ + if (ret < 0) return ret; + } + goto lab2; + lab8: + z->c = c3; + z->bra = z->c; /* [, line 49 */ + if (z->c == z->l || z->p[z->c] != 'y') goto lab9; /* literal, line 49 */ + z->c++; + z->ket = z->c; /* ], line 49 */ + if (in_grouping(z, g_v, 97, 251, 0)) goto lab9; /* grouping v, line 49 */ + { int ret = slice_from_s(z, 1, s_5); /* <-, line 49 */ + if (ret < 0) return ret; + } + goto lab2; + lab9: + z->c = c3; + if (z->c == z->l || z->p[z->c] != 'q') goto lab1; /* literal, line 51 */ + z->c++; + z->bra = z->c; /* [, line 51 */ + if (z->c == z->l || z->p[z->c] != 'u') goto lab1; /* literal, line 51 */ + z->c++; + z->ket = z->c; /* ], line 51 */ + { int ret = slice_from_s(z, 1, s_6); /* <-, line 51 */ if (ret < 0) return ret; } } @@ -480,59 +508,59 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ } static int r_mark_regions(struct SN_env * z) { /* forwardmode */ - z->I[0] = z->l; /* $pV = , line 52 */ - z->I[1] = z->l; /* $p1 = , line 53 */ - z->I[2] = z->l; /* $p2 = , line 54 */ - { int c1 = z->c; /* do, line 56 */ - { int c2 = z->c; /* or, line 58 */ - if (in_grouping(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 57 */ - if (in_grouping(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 57 */ + z->I[0] = z->l; /* $pV = , line 56 */ + z->I[1] = z->l; /* $p1 = , line 57 */ + z->I[2] = z->l; /* $p2 = , line 58 */ + { int c1 = z->c; /* do, line 60 */ + { int c2 = z->c; /* or, line 62 */ + if (in_grouping(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 61 */ + if (in_grouping(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 61 */ if (z->c >= z->l) goto lab2; - z->c++; /* next, line 57 */ + z->c++; /* next, line 61 */ goto lab1; lab2: z->c = c2; - if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((331776 >> (z->p[z->c + 2] & 0x1f)) & 1)) goto lab3; /* among, line 59 */ + if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((331776 >> (z->p[z->c + 2] & 0x1f)) & 1)) goto lab3; /* among, line 63 */ if (!(find_among(z, a_0, 3))) goto lab3; goto lab1; lab3: z->c = c2; if (z->c >= z->l) goto lab0; - z->c++; /* next, line 66 */ - { /* gopast */ /* grouping v, line 66 */ + z->c++; /* next, line 70 */ + { /* gopast */ /* grouping v, line 70 */ int ret = out_grouping(z, g_v, 97, 251, 1); if (ret < 0) goto lab0; z->c += ret; } } lab1: - z->I[0] = z->c; /* setmark pV, line 67 */ + z->I[0] = z->c; /* setmark pV, line 71 */ lab0: z->c = c1; } - { int c3 = z->c; /* do, line 69 */ - { /* gopast */ /* grouping v, line 70 */ + { int c3 = z->c; /* do, line 73 */ + { /* gopast */ /* grouping v, line 74 */ int ret = out_grouping(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - { /* gopast */ /* non v, line 70 */ + { /* gopast */ /* non v, line 74 */ int ret = in_grouping(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - z->I[1] = z->c; /* setmark p1, line 70 */ - { /* gopast */ /* grouping v, line 71 */ + z->I[1] = z->c; /* setmark p1, line 74 */ + { /* gopast */ /* grouping v, line 75 */ int ret = out_grouping(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - { /* gopast */ /* non v, line 71 */ + { /* gopast */ /* non v, line 75 */ int ret = in_grouping(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - z->I[2] = z->c; /* setmark p2, line 71 */ + z->I[2] = z->c; /* setmark p2, line 75 */ lab4: z->c = c3; } @@ -541,33 +569,48 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 75 */ - int c1 = z->c; - z->bra = z->c; /* [, line 77 */ - if (z->c >= z->l || z->p[z->c + 0] >> 5 != 2 || !((35652096 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 4; else /* substring, line 77 */ - among_var = find_among(z, a_1, 4); +/* repeat, line 79 */ + + while(1) { int c1 = z->c; + z->bra = z->c; /* [, line 81 */ + if (z->c >= z->l || z->p[z->c + 0] >> 5 != 2 || !((35652352 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 7; else /* substring, line 81 */ + among_var = find_among(z, a_1, 7); if (!(among_var)) goto lab0; - z->ket = z->c; /* ], line 77 */ - switch (among_var) { /* among, line 77 */ - case 0: goto lab0; + z->ket = z->c; /* ], line 81 */ + switch (among_var) { /* among, line 81 */ case 1: - { int ret = slice_from_s(z, 1, s_5); /* <-, line 78 */ + { int ret = slice_from_s(z, 1, s_7); /* <-, line 82 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_6); /* <-, line 79 */ + { int ret = slice_from_s(z, 1, s_8); /* <-, line 83 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_7); /* <-, line 80 */ + { int ret = slice_from_s(z, 1, s_9); /* <-, line 84 */ if (ret < 0) return ret; } break; case 4: + { int ret = slice_from_s(z, 1, s_10); /* <-, line 85 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 1, s_11); /* <-, line 86 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_del(z); /* delete, line 87 */ + if (ret < 0) return ret; + } + break; + case 7: if (z->c >= z->l) goto lab0; - z->c++; /* next, line 81 */ + z->c++; /* next, line 88 */ break; } continue; @@ -579,59 +622,58 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 87 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 94 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 88 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 95 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 89 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 96 */ return 1; } static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - z->ket = z->c; /* [, line 92 */ - among_var = find_among_b(z, a_4, 43); /* substring, line 92 */ + z->ket = z->c; /* [, line 99 */ + among_var = find_among_b(z, a_4, 43); /* substring, line 99 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 92 */ - switch (among_var) { /* among, line 92 */ - case 0: return 0; + z->bra = z->c; /* ], line 99 */ + switch (among_var) { /* among, line 99 */ case 1: - { int ret = r_R2(z); /* call R2, line 96 */ + { int ret = r_R2(z); /* call R2, line 103 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 96 */ + { int ret = slice_del(z); /* delete, line 103 */ if (ret < 0) return ret; } break; case 2: - { int ret = r_R2(z); /* call R2, line 99 */ + { int ret = r_R2(z); /* call R2, line 106 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 99 */ + { int ret = slice_del(z); /* delete, line 106 */ if (ret < 0) return ret; } - { int m1 = z->l - z->c; (void)m1; /* try, line 100 */ - z->ket = z->c; /* [, line 100 */ - if (!(eq_s_b(z, 2, s_8))) { z->c = z->l - m1; goto lab0; } /* literal, line 100 */ - z->bra = z->c; /* ], line 100 */ - { int m2 = z->l - z->c; (void)m2; /* or, line 100 */ - { int ret = r_R2(z); /* call R2, line 100 */ + { int m1 = z->l - z->c; (void)m1; /* try, line 107 */ + z->ket = z->c; /* [, line 107 */ + if (!(eq_s_b(z, 2, s_12))) { z->c = z->l - m1; goto lab0; } /* literal, line 107 */ + z->bra = z->c; /* ], line 107 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 107 */ + { int ret = r_R2(z); /* call R2, line 107 */ if (ret == 0) goto lab2; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 100 */ + { int ret = slice_del(z); /* delete, line 107 */ if (ret < 0) return ret; } goto lab1; lab2: z->c = z->l - m2; - { int ret = slice_from_s(z, 3, s_9); /* <-, line 100 */ + { int ret = slice_from_s(z, 3, s_13); /* <-, line 107 */ if (ret < 0) return ret; } } @@ -641,99 +683,98 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 3: - { int ret = r_R2(z); /* call R2, line 104 */ + { int ret = r_R2(z); /* call R2, line 111 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_10); /* <-, line 104 */ + { int ret = slice_from_s(z, 3, s_14); /* <-, line 111 */ if (ret < 0) return ret; } break; case 4: - { int ret = r_R2(z); /* call R2, line 107 */ + { int ret = r_R2(z); /* call R2, line 114 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 1, s_11); /* <-, line 107 */ + { int ret = slice_from_s(z, 1, s_15); /* <-, line 114 */ if (ret < 0) return ret; } break; case 5: - { int ret = r_R2(z); /* call R2, line 110 */ + { int ret = r_R2(z); /* call R2, line 117 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_12); /* <-, line 110 */ + { int ret = slice_from_s(z, 3, s_16); /* <-, line 117 */ if (ret < 0) return ret; } break; case 6: - { int ret = r_RV(z); /* call RV, line 114 */ + { int ret = r_RV(z); /* call RV, line 121 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 114 */ + { int ret = slice_del(z); /* delete, line 121 */ if (ret < 0) return ret; } - { int m3 = z->l - z->c; (void)m3; /* try, line 115 */ - z->ket = z->c; /* [, line 116 */ - among_var = find_among_b(z, a_2, 6); /* substring, line 116 */ + { int m3 = z->l - z->c; (void)m3; /* try, line 122 */ + z->ket = z->c; /* [, line 123 */ + among_var = find_among_b(z, a_2, 6); /* substring, line 123 */ if (!(among_var)) { z->c = z->l - m3; goto lab3; } - z->bra = z->c; /* ], line 116 */ - switch (among_var) { /* among, line 116 */ - case 0: { z->c = z->l - m3; goto lab3; } + z->bra = z->c; /* ], line 123 */ + switch (among_var) { /* among, line 123 */ case 1: - { int ret = r_R2(z); /* call R2, line 117 */ + { int ret = r_R2(z); /* call R2, line 124 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 117 */ + { int ret = slice_del(z); /* delete, line 124 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 117 */ - if (!(eq_s_b(z, 2, s_13))) { z->c = z->l - m3; goto lab3; } /* literal, line 117 */ - z->bra = z->c; /* ], line 117 */ - { int ret = r_R2(z); /* call R2, line 117 */ + z->ket = z->c; /* [, line 124 */ + if (!(eq_s_b(z, 2, s_17))) { z->c = z->l - m3; goto lab3; } /* literal, line 124 */ + z->bra = z->c; /* ], line 124 */ + { int ret = r_R2(z); /* call R2, line 124 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 117 */ + { int ret = slice_del(z); /* delete, line 124 */ if (ret < 0) return ret; } break; case 2: - { int m4 = z->l - z->c; (void)m4; /* or, line 118 */ - { int ret = r_R2(z); /* call R2, line 118 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 125 */ + { int ret = r_R2(z); /* call R2, line 125 */ if (ret == 0) goto lab5; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 118 */ + { int ret = slice_del(z); /* delete, line 125 */ if (ret < 0) return ret; } goto lab4; lab5: z->c = z->l - m4; - { int ret = r_R1(z); /* call R1, line 118 */ + { int ret = r_R1(z); /* call R1, line 125 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_from_s(z, 3, s_14); /* <-, line 118 */ + { int ret = slice_from_s(z, 3, s_18); /* <-, line 125 */ if (ret < 0) return ret; } } lab4: break; case 3: - { int ret = r_R2(z); /* call R2, line 120 */ + { int ret = r_R2(z); /* call R2, line 127 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 120 */ + { int ret = slice_del(z); /* delete, line 127 */ if (ret < 0) return ret; } break; case 4: - { int ret = r_RV(z); /* call RV, line 122 */ + { int ret = r_RV(z); /* call RV, line 129 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_from_s(z, 1, s_15); /* <-, line 122 */ + { int ret = slice_from_s(z, 1, s_19); /* <-, line 129 */ if (ret < 0) return ret; } break; @@ -743,62 +784,61 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 7: - { int ret = r_R2(z); /* call R2, line 129 */ + { int ret = r_R2(z); /* call R2, line 136 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 129 */ + { int ret = slice_del(z); /* delete, line 136 */ if (ret < 0) return ret; } - { int m5 = z->l - z->c; (void)m5; /* try, line 130 */ - z->ket = z->c; /* [, line 131 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m5; goto lab6; } /* substring, line 131 */ + { int m5 = z->l - z->c; (void)m5; /* try, line 137 */ + z->ket = z->c; /* [, line 138 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m5; goto lab6; } /* substring, line 138 */ among_var = find_among_b(z, a_3, 3); if (!(among_var)) { z->c = z->l - m5; goto lab6; } - z->bra = z->c; /* ], line 131 */ - switch (among_var) { /* among, line 131 */ - case 0: { z->c = z->l - m5; goto lab6; } + z->bra = z->c; /* ], line 138 */ + switch (among_var) { /* among, line 138 */ case 1: - { int m6 = z->l - z->c; (void)m6; /* or, line 132 */ - { int ret = r_R2(z); /* call R2, line 132 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 139 */ + { int ret = r_R2(z); /* call R2, line 139 */ if (ret == 0) goto lab8; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 132 */ + { int ret = slice_del(z); /* delete, line 139 */ if (ret < 0) return ret; } goto lab7; lab8: z->c = z->l - m6; - { int ret = slice_from_s(z, 3, s_16); /* <-, line 132 */ + { int ret = slice_from_s(z, 3, s_20); /* <-, line 139 */ if (ret < 0) return ret; } } lab7: break; case 2: - { int m7 = z->l - z->c; (void)m7; /* or, line 133 */ - { int ret = r_R2(z); /* call R2, line 133 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 140 */ + { int ret = r_R2(z); /* call R2, line 140 */ if (ret == 0) goto lab10; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 133 */ + { int ret = slice_del(z); /* delete, line 140 */ if (ret < 0) return ret; } goto lab9; lab10: z->c = z->l - m7; - { int ret = slice_from_s(z, 3, s_17); /* <-, line 133 */ + { int ret = slice_from_s(z, 3, s_21); /* <-, line 140 */ if (ret < 0) return ret; } } lab9: break; case 3: - { int ret = r_R2(z); /* call R2, line 134 */ + { int ret = r_R2(z); /* call R2, line 141 */ if (ret == 0) { z->c = z->l - m5; goto lab6; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 134 */ + { int ret = slice_del(z); /* delete, line 141 */ if (ret < 0) return ret; } break; @@ -808,38 +848,38 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 8: - { int ret = r_R2(z); /* call R2, line 141 */ + { int ret = r_R2(z); /* call R2, line 148 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 141 */ + { int ret = slice_del(z); /* delete, line 148 */ if (ret < 0) return ret; } - { int m8 = z->l - z->c; (void)m8; /* try, line 142 */ - z->ket = z->c; /* [, line 142 */ - if (!(eq_s_b(z, 2, s_18))) { z->c = z->l - m8; goto lab11; } /* literal, line 142 */ - z->bra = z->c; /* ], line 142 */ - { int ret = r_R2(z); /* call R2, line 142 */ + { int m8 = z->l - z->c; (void)m8; /* try, line 149 */ + z->ket = z->c; /* [, line 149 */ + if (!(eq_s_b(z, 2, s_22))) { z->c = z->l - m8; goto lab11; } /* literal, line 149 */ + z->bra = z->c; /* ], line 149 */ + { int ret = r_R2(z); /* call R2, line 149 */ if (ret == 0) { z->c = z->l - m8; goto lab11; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 142 */ + { int ret = slice_del(z); /* delete, line 149 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 142 */ - if (!(eq_s_b(z, 2, s_19))) { z->c = z->l - m8; goto lab11; } /* literal, line 142 */ - z->bra = z->c; /* ], line 142 */ - { int m9 = z->l - z->c; (void)m9; /* or, line 142 */ - { int ret = r_R2(z); /* call R2, line 142 */ + z->ket = z->c; /* [, line 149 */ + if (!(eq_s_b(z, 2, s_23))) { z->c = z->l - m8; goto lab11; } /* literal, line 149 */ + z->bra = z->c; /* ], line 149 */ + { int m9 = z->l - z->c; (void)m9; /* or, line 149 */ + { int ret = r_R2(z); /* call R2, line 149 */ if (ret == 0) goto lab13; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 142 */ + { int ret = slice_del(z); /* delete, line 149 */ if (ret < 0) return ret; } goto lab12; lab13: z->c = z->l - m9; - { int ret = slice_from_s(z, 3, s_20); /* <-, line 142 */ + { int ret = slice_from_s(z, 3, s_24); /* <-, line 149 */ if (ret < 0) return ret; } } @@ -849,104 +889,102 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 9: - { int ret = slice_from_s(z, 3, s_21); /* <-, line 144 */ + { int ret = slice_from_s(z, 3, s_25); /* <-, line 151 */ if (ret < 0) return ret; } break; case 10: - { int ret = r_R1(z); /* call R1, line 145 */ + { int ret = r_R1(z); /* call R1, line 152 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 2, s_22); /* <-, line 145 */ + { int ret = slice_from_s(z, 2, s_26); /* <-, line 152 */ if (ret < 0) return ret; } break; case 11: - { int m10 = z->l - z->c; (void)m10; /* or, line 147 */ - { int ret = r_R2(z); /* call R2, line 147 */ + { int m10 = z->l - z->c; (void)m10; /* or, line 154 */ + { int ret = r_R2(z); /* call R2, line 154 */ if (ret == 0) goto lab15; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 147 */ + { int ret = slice_del(z); /* delete, line 154 */ if (ret < 0) return ret; } goto lab14; lab15: z->c = z->l - m10; - { int ret = r_R1(z); /* call R1, line 147 */ + { int ret = r_R1(z); /* call R1, line 154 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_23); /* <-, line 147 */ + { int ret = slice_from_s(z, 3, s_27); /* <-, line 154 */ if (ret < 0) return ret; } } lab14: break; case 12: - { int ret = r_R1(z); /* call R1, line 150 */ + { int ret = r_R1(z); /* call R1, line 157 */ if (ret <= 0) return ret; } - if (out_grouping_b(z, g_v, 97, 251, 0)) return 0; /* non v, line 150 */ - { int ret = slice_del(z); /* delete, line 150 */ + if (out_grouping_b(z, g_v, 97, 251, 0)) return 0; /* non v, line 157 */ + { int ret = slice_del(z); /* delete, line 157 */ if (ret < 0) return ret; } break; case 13: - { int ret = r_RV(z); /* call RV, line 155 */ + { int ret = r_RV(z); /* call RV, line 162 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_24); /* <-, line 155 */ + { int ret = slice_from_s(z, 3, s_28); /* <-, line 162 */ if (ret < 0) return ret; } - return 0; /* fail, line 155 */ + return 0; /* fail, line 162 */ break; case 14: - { int ret = r_RV(z); /* call RV, line 156 */ + { int ret = r_RV(z); /* call RV, line 163 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_25); /* <-, line 156 */ + { int ret = slice_from_s(z, 3, s_29); /* <-, line 163 */ if (ret < 0) return ret; } - return 0; /* fail, line 156 */ + return 0; /* fail, line 163 */ break; case 15: - { int m_test11 = z->l - z->c; /* test, line 158 */ - if (in_grouping_b(z, g_v, 97, 251, 0)) return 0; /* grouping v, line 158 */ - { int ret = r_RV(z); /* call RV, line 158 */ + { int m_test11 = z->l - z->c; /* test, line 165 */ + if (in_grouping_b(z, g_v, 97, 251, 0)) return 0; /* grouping v, line 165 */ + { int ret = r_RV(z); /* call RV, line 165 */ if (ret <= 0) return ret; } z->c = z->l - m_test11; } - { int ret = slice_del(z); /* delete, line 158 */ + { int ret = slice_del(z); /* delete, line 165 */ if (ret < 0) return ret; } - return 0; /* fail, line 158 */ + return 0; /* fail, line 165 */ break; } return 1; } static int r_i_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 163 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 170 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 163 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 164 */ - if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68944418 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 164 */ - among_var = find_among_b(z, a_5, 35); - if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 164 */ - switch (among_var) { /* among, line 164 */ - case 0: { z->lb = mlimit1; return 0; } - case 1: - if (out_grouping_b(z, g_v, 97, 251, 0)) { z->lb = mlimit1; return 0; } /* non v, line 170 */ - { int ret = slice_del(z); /* delete, line 170 */ - if (ret < 0) return ret; - } - break; + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 171 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68944418 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 171 */ + if (!(find_among_b(z, a_5, 35))) { z->lb = mlimit1; return 0; } + z->bra = z->c; /* ], line 171 */ + { int m2 = z->l - z->c; (void)m2; /* not, line 177 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'H') goto lab0; /* literal, line 177 */ + z->c--; + { z->lb = mlimit1; return 0; } + lab0: + z->c = z->l - m2; + } + if (out_grouping_b(z, g_v, 97, 251, 0)) { z->lb = mlimit1; return 0; } /* non v, line 177 */ + { int ret = slice_del(z); /* delete, line 177 */ + if (ret < 0) return ret; } z->lb = mlimit1; } @@ -955,42 +993,39 @@ static int r_i_verb_suffix(struct SN_env * z) { /* backwardmode */ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 174 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 181 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 174 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 175 */ - among_var = find_among_b(z, a_6, 38); /* substring, line 175 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 182 */ + among_var = find_among_b(z, a_6, 38); /* substring, line 182 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 175 */ - switch (among_var) { /* among, line 175 */ - case 0: { z->lb = mlimit1; return 0; } + z->bra = z->c; /* ], line 182 */ + switch (among_var) { /* among, line 182 */ case 1: - { int ret = r_R2(z); /* call R2, line 177 */ + { int ret = r_R2(z); /* call R2, line 184 */ if (ret == 0) { z->lb = mlimit1; return 0; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 177 */ + { int ret = slice_del(z); /* delete, line 184 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 185 */ + { int ret = slice_del(z); /* delete, line 192 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 190 */ + { int ret = slice_del(z); /* delete, line 197 */ if (ret < 0) return ret; } - { int m2 = z->l - z->c; (void)m2; /* try, line 191 */ - z->ket = z->c; /* [, line 191 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'e') { z->c = z->l - m2; goto lab0; } /* literal, line 191 */ + { int m2 = z->l - z->c; (void)m2; /* try, line 198 */ + z->ket = z->c; /* [, line 198 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') { z->c = z->l - m2; goto lab0; } /* literal, line 198 */ z->c--; - z->bra = z->c; /* ], line 191 */ - { int ret = slice_del(z); /* delete, line 191 */ + z->bra = z->c; /* ], line 198 */ + { int ret = slice_del(z); /* delete, line 198 */ if (ret < 0) return ret; } lab0: @@ -1005,85 +1040,84 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* try, line 199 */ - z->ket = z->c; /* [, line 199 */ - if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - m1; goto lab0; } /* literal, line 199 */ + { int m1 = z->l - z->c; (void)m1; /* try, line 206 */ + z->ket = z->c; /* [, line 206 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - m1; goto lab0; } /* literal, line 206 */ z->c--; - z->bra = z->c; /* ], line 199 */ - { int m_test2 = z->l - z->c; /* test, line 199 */ - if (out_grouping_b(z, g_keep_with_s, 97, 232, 0)) { z->c = z->l - m1; goto lab0; } /* non keep_with_s, line 199 */ + z->bra = z->c; /* ], line 206 */ + { int m_test2 = z->l - z->c; /* test, line 206 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 206 */ + if (!(eq_s_b(z, 2, s_30))) goto lab2; /* literal, line 206 */ + goto lab1; + lab2: + z->c = z->l - m3; + if (out_grouping_b(z, g_keep_with_s, 97, 232, 0)) { z->c = z->l - m1; goto lab0; } /* non keep_with_s, line 206 */ + } + lab1: z->c = z->l - m_test2; } - { int ret = slice_del(z); /* delete, line 199 */ + { int ret = slice_del(z); /* delete, line 206 */ if (ret < 0) return ret; } lab0: ; } - { int m3 = z->l - z->c; (void)m3; /* setlimit, line 200 */ - int mlimit3; + + { int mlimit4; /* setlimit, line 207 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 200 */ - mlimit3 = z->lb; z->lb = z->c; - z->c = z->l - m3; - z->ket = z->c; /* [, line 201 */ - among_var = find_among_b(z, a_7, 7); /* substring, line 201 */ - if (!(among_var)) { z->lb = mlimit3; return 0; } - z->bra = z->c; /* ], line 201 */ - switch (among_var) { /* among, line 201 */ - case 0: { z->lb = mlimit3; return 0; } + mlimit4 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 208 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((278560 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit4; return 0; } /* substring, line 208 */ + among_var = find_among_b(z, a_7, 6); + if (!(among_var)) { z->lb = mlimit4; return 0; } + z->bra = z->c; /* ], line 208 */ + switch (among_var) { /* among, line 208 */ case 1: - { int ret = r_R2(z); /* call R2, line 202 */ - if (ret == 0) { z->lb = mlimit3; return 0; } + { int ret = r_R2(z); /* call R2, line 209 */ + if (ret == 0) { z->lb = mlimit4; return 0; } if (ret < 0) return ret; } - { int m4 = z->l - z->c; (void)m4; /* or, line 202 */ - if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab2; /* literal, line 202 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 209 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab4; /* literal, line 209 */ z->c--; - goto lab1; - lab2: - z->c = z->l - m4; - if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit3; return 0; } /* literal, line 202 */ + goto lab3; + lab4: + z->c = z->l - m5; + if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit4; return 0; } /* literal, line 209 */ z->c--; } - lab1: - { int ret = slice_del(z); /* delete, line 202 */ + lab3: + { int ret = slice_del(z); /* delete, line 209 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_26); /* <-, line 204 */ + { int ret = slice_from_s(z, 1, s_31); /* <-, line 211 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 205 */ - if (ret < 0) return ret; - } - break; - case 4: - if (!(eq_s_b(z, 2, s_27))) { z->lb = mlimit3; return 0; } /* literal, line 206 */ - { int ret = slice_del(z); /* delete, line 206 */ + { int ret = slice_del(z); /* delete, line 212 */ if (ret < 0) return ret; } break; } - z->lb = mlimit3; + z->lb = mlimit4; } return 1; } static int r_un_double(struct SN_env * z) { /* backwardmode */ - { int m_test1 = z->l - z->c; /* test, line 212 */ - if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1069056 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 212 */ + { int m_test1 = z->l - z->c; /* test, line 218 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1069056 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 218 */ if (!(find_among_b(z, a_8, 5))) return 0; z->c = z->l - m_test1; } - z->ket = z->c; /* [, line 212 */ + z->ket = z->c; /* [, line 218 */ if (z->c <= z->lb) return 0; - z->c--; /* next, line 212 */ - z->bra = z->c; /* ], line 212 */ - { int ret = slice_del(z); /* delete, line 212 */ + z->c--; /* next, line 218 */ + z->bra = z->c; /* ], line 218 */ + { int ret = slice_del(z); /* delete, line 218 */ if (ret < 0) return ret; } return 1; @@ -1091,8 +1125,7 @@ static int r_un_double(struct SN_env * z) { /* backwardmode */ static int r_un_accent(struct SN_env * z) { /* backwardmode */ { int i = 1; - while(1) { /* atleast, line 216 */ - if (out_grouping_b(z, g_v, 97, 251, 0)) goto lab0; /* non v, line 216 */ + while(1) { if (out_grouping_b(z, g_v, 97, 251, 0)) goto lab0; /* non v, line 222 */ i--; continue; lab0: @@ -1100,128 +1133,116 @@ static int r_un_accent(struct SN_env * z) { /* backwardmode */ } if (i > 0) return 0; } - z->ket = z->c; /* [, line 217 */ - { int m1 = z->l - z->c; (void)m1; /* or, line 217 */ - if (z->c <= z->lb || z->p[z->c - 1] != 0xE9) goto lab2; /* literal, line 217 */ + z->ket = z->c; /* [, line 223 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 223 */ + if (z->c <= z->lb || z->p[z->c - 1] != 0xE9) goto lab2; /* literal, line 223 */ z->c--; goto lab1; lab2: z->c = z->l - m1; - if (z->c <= z->lb || z->p[z->c - 1] != 0xE8) return 0; /* literal, line 217 */ + if (z->c <= z->lb || z->p[z->c - 1] != 0xE8) return 0; /* literal, line 223 */ z->c--; } lab1: - z->bra = z->c; /* ], line 217 */ - { int ret = slice_from_s(z, 1, s_28); /* <-, line 217 */ + z->bra = z->c; /* ], line 223 */ + { int ret = slice_from_s(z, 1, s_32); /* <-, line 223 */ if (ret < 0) return ret; } return 1; } extern int french_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 223 */ - { int ret = r_prelude(z); /* call prelude, line 223 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 229 */ + { int ret = r_prelude(z); /* call prelude, line 229 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 224 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 224 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 230 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 230 */ + if (ret < 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 225 */ + z->lb = z->c; z->c = z->l; /* backwards, line 231 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 227 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 237 */ - { int m5 = z->l - z->c; (void)m5; /* and, line 233 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 229 */ - { int ret = r_standard_suffix(z); /* call standard_suffix, line 229 */ - if (ret == 0) goto lab6; + { int m2 = z->l - z->c; (void)m2; /* do, line 233 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 243 */ + { int m4 = z->l - z->c; (void)m4; /* and, line 239 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 235 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 235 */ + if (ret == 0) goto lab4; if (ret < 0) return ret; } - goto lab5; - lab6: - z->c = z->l - m6; - { int ret = r_i_verb_suffix(z); /* call i_verb_suffix, line 230 */ - if (ret == 0) goto lab7; + goto lab3; + lab4: + z->c = z->l - m5; + { int ret = r_i_verb_suffix(z); /* call i_verb_suffix, line 236 */ + if (ret == 0) goto lab5; if (ret < 0) return ret; } - goto lab5; - lab7: - z->c = z->l - m6; - { int ret = r_verb_suffix(z); /* call verb_suffix, line 231 */ - if (ret == 0) goto lab4; + goto lab3; + lab5: + z->c = z->l - m5; + { int ret = r_verb_suffix(z); /* call verb_suffix, line 237 */ + if (ret == 0) goto lab2; if (ret < 0) return ret; } } - lab5: - z->c = z->l - m5; - { int m7 = z->l - z->c; (void)m7; /* try, line 234 */ - z->ket = z->c; /* [, line 234 */ - { int m8 = z->l - z->c; (void)m8; /* or, line 234 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'Y') goto lab10; /* literal, line 234 */ + lab3: + z->c = z->l - m4; + { int m6 = z->l - z->c; (void)m6; /* try, line 240 */ + z->ket = z->c; /* [, line 240 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 240 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'Y') goto lab8; /* literal, line 240 */ z->c--; - z->bra = z->c; /* ], line 234 */ - { int ret = slice_from_s(z, 1, s_29); /* <-, line 234 */ + z->bra = z->c; /* ], line 240 */ + { int ret = slice_from_s(z, 1, s_33); /* <-, line 240 */ if (ret < 0) return ret; } - goto lab9; - lab10: - z->c = z->l - m8; - if (z->c <= z->lb || z->p[z->c - 1] != 0xE7) { z->c = z->l - m7; goto lab8; } /* literal, line 235 */ + goto lab7; + lab8: + z->c = z->l - m7; + if (z->c <= z->lb || z->p[z->c - 1] != 0xE7) { z->c = z->l - m6; goto lab6; } /* literal, line 241 */ z->c--; - z->bra = z->c; /* ], line 235 */ - { int ret = slice_from_s(z, 1, s_30); /* <-, line 235 */ + z->bra = z->c; /* ], line 241 */ + { int ret = slice_from_s(z, 1, s_34); /* <-, line 241 */ if (ret < 0) return ret; } } - lab9: - lab8: + lab7: + lab6: ; } } - goto lab3; - lab4: - z->c = z->l - m4; - { int ret = r_residual_suffix(z); /* call residual_suffix, line 238 */ - if (ret == 0) goto lab2; + goto lab1; + lab2: + z->c = z->l - m3; + { int ret = r_residual_suffix(z); /* call residual_suffix, line 244 */ + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab3: - lab2: - z->c = z->l - m3; + lab1: + lab0: + z->c = z->l - m2; } - { int m9 = z->l - z->c; (void)m9; /* do, line 243 */ - { int ret = r_un_double(z); /* call un_double, line 243 */ - if (ret == 0) goto lab11; + { int m8 = z->l - z->c; (void)m8; /* do, line 249 */ + { int ret = r_un_double(z); /* call un_double, line 249 */ if (ret < 0) return ret; } - lab11: - z->c = z->l - m9; + z->c = z->l - m8; } - { int m10 = z->l - z->c; (void)m10; /* do, line 244 */ - { int ret = r_un_accent(z); /* call un_accent, line 244 */ - if (ret == 0) goto lab12; + { int m9 = z->l - z->c; (void)m9; /* do, line 250 */ + { int ret = r_un_accent(z); /* call un_accent, line 250 */ if (ret < 0) return ret; } - lab12: - z->c = z->l - m10; + z->c = z->l - m9; } z->c = z->lb; - { int c11 = z->c; /* do, line 246 */ - { int ret = r_postlude(z); /* call postlude, line 246 */ - if (ret == 0) goto lab13; + { int c10 = z->c; /* do, line 252 */ + { int ret = r_postlude(z); /* call postlude, line 252 */ if (ret < 0) return ret; } - lab13: - z->c = c11; + z->c = c10; } return 1; } diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_french.h b/src/dep/snowball/src_c/stem_ISO_8859_1_french.h index 29321023a2..36e9074da7 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_french.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_french.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_german.c b/src/dep/snowball/src_c/stem_ISO_8859_1_german.c index d3771a86a5..3db2afde50 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_german.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_german.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -36,12 +35,12 @@ static const symbol s_0_5[1] = { 0xFC }; static const struct among a_0[6] = { -/* 0 */ { 0, 0, -1, 6, 0}, +/* 0 */ { 0, 0, -1, 5, 0}, /* 1 */ { 1, s_0_1, 0, 2, 0}, /* 2 */ { 1, s_0_2, 0, 1, 0}, /* 3 */ { 1, s_0_3, 0, 3, 0}, /* 4 */ { 1, s_0_4, 0, 4, 0}, -/* 5 */ { 1, s_0_5, 0, 5, 0} +/* 5 */ { 1, s_0_5, 0, 2, 0} }; static const symbol s_1_0[1] = { 'e' }; @@ -119,16 +118,16 @@ static const symbol s_3[] = { 'y' }; static const symbol s_4[] = { 'u' }; static const symbol s_5[] = { 'a' }; static const symbol s_6[] = { 'o' }; -static const symbol s_7[] = { 'u' }; -static const symbol s_8[] = { 'n', 'i', 's' }; -static const symbol s_9[] = { 'i', 'g' }; -static const symbol s_10[] = { 'e', 'r' }; -static const symbol s_11[] = { 'e', 'n' }; +static const symbol s_7[] = { 'n', 'i', 's' }; +static const symbol s_8[] = { 'i', 'g' }; +static const symbol s_9[] = { 'e', 'r' }; +static const symbol s_10[] = { 'e', 'n' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ { int c_test1 = z->c; /* test, line 35 */ - while(1) { /* repeat, line 35 */ - int c2 = z->c; +/* repeat, line 35 */ + + while(1) { int c2 = z->c; { int c3 = z->c; /* or, line 38 */ z->bra = z->c; /* [, line 37 */ if (z->c == z->l || z->p[z->c] != 0xDF) goto lab2; /* literal, line 37 */ @@ -151,8 +150,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ } z->c = c_test1; } - while(1) { /* repeat, line 41 */ - int c4 = z->c; +/* repeat, line 41 */ + + while(1) { int c4 = z->c; while(1) { /* goto, line 41 */ int c5 = z->c; if (in_grouping(z, g_v, 97, 252, 0)) goto lab4; /* grouping v, line 42 */ @@ -215,7 +215,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 54 */ /* try, line 55 */ - if (!(z->I[0] < z->I[2])) goto lab0; /* $p1 < , line 55 */ + if (!(z->I[0] < z->I[2])) goto lab0; /* $( < ), line 55 */ z->I[0] = z->I[2]; /* $p1 = , line 55 */ lab0: { /* gopast */ /* grouping v, line 56 */ @@ -234,14 +234,14 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 60 */ - int c1 = z->c; +/* repeat, line 60 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 62 */ among_var = find_among(z, a_0, 6); /* substring, line 62 */ if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 62 */ switch (among_var) { /* among, line 62 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_3); /* <-, line 63 */ if (ret < 0) return ret; @@ -263,11 +263,6 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } break; case 5: - { int ret = slice_from_s(z, 1, s_7); /* <-, line 67 */ - if (ret < 0) return ret; - } - break; - case 6: if (z->c >= z->l) goto lab0; z->c++; /* next, line 68 */ break; @@ -281,12 +276,12 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 75 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 75 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 76 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 76 */ return 1; } @@ -303,7 +298,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 80 */ - case 0: goto lab0; case 1: { int ret = slice_del(z); /* delete, line 82 */ if (ret < 0) return ret; @@ -318,7 +312,7 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - m2; goto lab1; } /* literal, line 86 */ z->c--; z->bra = z->c; /* ], line 86 */ - if (!(eq_s_b(z, 3, s_8))) { z->c = z->l - m2; goto lab1; } /* literal, line 86 */ + if (!(eq_s_b(z, 3, s_7))) { z->c = z->l - m2; goto lab1; } /* literal, line 86 */ { int ret = slice_del(z); /* delete, line 86 */ if (ret < 0) return ret; } @@ -347,7 +341,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 94 */ - case 0: goto lab2; case 1: { int ret = slice_del(z); /* delete, line 96 */ if (ret < 0) return ret; @@ -378,14 +371,13 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 104 */ - case 0: goto lab3; case 1: { int ret = slice_del(z); /* delete, line 106 */ if (ret < 0) return ret; } { int m5 = z->l - z->c; (void)m5; /* try, line 107 */ z->ket = z->c; /* [, line 107 */ - if (!(eq_s_b(z, 2, s_9))) { z->c = z->l - m5; goto lab4; } /* literal, line 107 */ + if (!(eq_s_b(z, 2, s_8))) { z->c = z->l - m5; goto lab4; } /* literal, line 107 */ z->bra = z->c; /* ], line 107 */ { int m6 = z->l - z->c; (void)m6; /* not, line 107 */ if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab5; /* literal, line 107 */ @@ -424,11 +416,11 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m8 = z->l - z->c; (void)m8; /* try, line 114 */ z->ket = z->c; /* [, line 115 */ { int m9 = z->l - z->c; (void)m9; /* or, line 115 */ - if (!(eq_s_b(z, 2, s_10))) goto lab9; /* literal, line 115 */ + if (!(eq_s_b(z, 2, s_9))) goto lab9; /* literal, line 115 */ goto lab8; lab9: z->c = z->l - m9; - if (!(eq_s_b(z, 2, s_11))) { z->c = z->l - m8; goto lab7; } /* literal, line 115 */ + if (!(eq_s_b(z, 2, s_10))) { z->c = z->l - m8; goto lab7; } /* literal, line 115 */ } lab8: z->bra = z->c; /* ], line 115 */ @@ -450,20 +442,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m10 = z->l - z->c; (void)m10; /* try, line 120 */ z->ket = z->c; /* [, line 121 */ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 103 && z->p[z->c - 1] != 104)) { z->c = z->l - m10; goto lab10; } /* substring, line 121 */ - among_var = find_among_b(z, a_3, 2); - if (!(among_var)) { z->c = z->l - m10; goto lab10; } + if (!(find_among_b(z, a_3, 2))) { z->c = z->l - m10; goto lab10; } z->bra = z->c; /* ], line 121 */ { int ret = r_R2(z); /* call R2, line 121 */ if (ret == 0) { z->c = z->l - m10; goto lab10; } if (ret < 0) return ret; } - switch (among_var) { /* among, line 121 */ - case 0: { z->c = z->l - m10; goto lab10; } - case 1: - { int ret = slice_del(z); /* delete, line 123 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 123 */ + if (ret < 0) return ret; } lab10: ; @@ -479,38 +465,28 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ extern int german_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 134 */ { int ret = r_prelude(z); /* call prelude, line 134 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } { int c2 = z->c; /* do, line 135 */ { int ret = r_mark_regions(z); /* call mark_regions, line 135 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = c2; } z->lb = z->c; z->c = z->l; /* backwards, line 136 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 137 */ - { int ret = r_standard_suffix(z); /* call standard_suffix, line 137 */ - if (ret == 0) goto lab2; - if (ret < 0) return ret; - } - lab2: - z->c = z->l - m3; + /* do, line 137 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 137 */ + if (ret < 0) return ret; } z->c = z->lb; - { int c4 = z->c; /* do, line 138 */ + { int c3 = z->c; /* do, line 138 */ { int ret = r_postlude(z); /* call postlude, line 138 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: - z->c = c4; + z->c = c3; } return 1; } diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_german.h b/src/dep/snowball/src_c/stem_ISO_8859_1_german.h index 0887ac8164..c8780e179b 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_german.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_german.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_indonesian.c b/src/dep/snowball/src_c/stem_ISO_8859_1_indonesian.c new file mode 100644 index 0000000000..b2e75606d6 --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_indonesian.c @@ -0,0 +1,408 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int indonesian_ISO_8859_1_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_VOWEL(struct SN_env * z); +static int r_SUFFIX_I_OK(struct SN_env * z); +static int r_SUFFIX_AN_OK(struct SN_env * z); +static int r_SUFFIX_KAN_OK(struct SN_env * z); +static int r_KER(struct SN_env * z); +static int r_remove_suffix(struct SN_env * z); +static int r_remove_second_order_prefix(struct SN_env * z); +static int r_remove_first_order_prefix(struct SN_env * z); +static int r_remove_possessive_pronoun(struct SN_env * z); +static int r_remove_particle(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * indonesian_ISO_8859_1_create_env(void); +extern void indonesian_ISO_8859_1_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[3] = { 'k', 'a', 'h' }; +static const symbol s_0_1[3] = { 'l', 'a', 'h' }; +static const symbol s_0_2[3] = { 'p', 'u', 'n' }; + +static const struct among a_0[3] = +{ +/* 0 */ { 3, s_0_0, -1, 1, 0}, +/* 1 */ { 3, s_0_1, -1, 1, 0}, +/* 2 */ { 3, s_0_2, -1, 1, 0} +}; + +static const symbol s_1_0[3] = { 'n', 'y', 'a' }; +static const symbol s_1_1[2] = { 'k', 'u' }; +static const symbol s_1_2[2] = { 'm', 'u' }; + +static const struct among a_1[3] = +{ +/* 0 */ { 3, s_1_0, -1, 1, 0}, +/* 1 */ { 2, s_1_1, -1, 1, 0}, +/* 2 */ { 2, s_1_2, -1, 1, 0} +}; + +static const symbol s_2_0[1] = { 'i' }; +static const symbol s_2_1[2] = { 'a', 'n' }; +static const symbol s_2_2[3] = { 'k', 'a', 'n' }; + +static const struct among a_2[3] = +{ +/* 0 */ { 1, s_2_0, -1, 1, r_SUFFIX_I_OK}, +/* 1 */ { 2, s_2_1, -1, 1, r_SUFFIX_AN_OK}, +/* 2 */ { 3, s_2_2, 1, 1, r_SUFFIX_KAN_OK} +}; + +static const symbol s_3_0[2] = { 'd', 'i' }; +static const symbol s_3_1[2] = { 'k', 'e' }; +static const symbol s_3_2[2] = { 'm', 'e' }; +static const symbol s_3_3[3] = { 'm', 'e', 'm' }; +static const symbol s_3_4[3] = { 'm', 'e', 'n' }; +static const symbol s_3_5[4] = { 'm', 'e', 'n', 'g' }; +static const symbol s_3_6[4] = { 'm', 'e', 'n', 'y' }; +static const symbol s_3_7[3] = { 'p', 'e', 'm' }; +static const symbol s_3_8[3] = { 'p', 'e', 'n' }; +static const symbol s_3_9[4] = { 'p', 'e', 'n', 'g' }; +static const symbol s_3_10[4] = { 'p', 'e', 'n', 'y' }; +static const symbol s_3_11[3] = { 't', 'e', 'r' }; + +static const struct among a_3[12] = +{ +/* 0 */ { 2, s_3_0, -1, 1, 0}, +/* 1 */ { 2, s_3_1, -1, 2, 0}, +/* 2 */ { 2, s_3_2, -1, 1, 0}, +/* 3 */ { 3, s_3_3, 2, 5, 0}, +/* 4 */ { 3, s_3_4, 2, 1, 0}, +/* 5 */ { 4, s_3_5, 4, 1, 0}, +/* 6 */ { 4, s_3_6, 4, 3, r_VOWEL}, +/* 7 */ { 3, s_3_7, -1, 6, 0}, +/* 8 */ { 3, s_3_8, -1, 2, 0}, +/* 9 */ { 4, s_3_9, 8, 2, 0}, +/* 10 */ { 4, s_3_10, 8, 4, r_VOWEL}, +/* 11 */ { 3, s_3_11, -1, 1, 0} +}; + +static const symbol s_4_0[2] = { 'b', 'e' }; +static const symbol s_4_1[7] = { 'b', 'e', 'l', 'a', 'j', 'a', 'r' }; +static const symbol s_4_2[3] = { 'b', 'e', 'r' }; +static const symbol s_4_3[2] = { 'p', 'e' }; +static const symbol s_4_4[7] = { 'p', 'e', 'l', 'a', 'j', 'a', 'r' }; +static const symbol s_4_5[3] = { 'p', 'e', 'r' }; + +static const struct among a_4[6] = +{ +/* 0 */ { 2, s_4_0, -1, 3, r_KER}, +/* 1 */ { 7, s_4_1, 0, 4, 0}, +/* 2 */ { 3, s_4_2, 0, 3, 0}, +/* 3 */ { 2, s_4_3, -1, 1, 0}, +/* 4 */ { 7, s_4_4, 3, 2, 0}, +/* 5 */ { 3, s_4_5, 3, 1, 0} +}; + +static const unsigned char g_vowel[] = { 17, 65, 16 }; + +static const symbol s_0[] = { 'e', 'r' }; +static const symbol s_1[] = { 's' }; +static const symbol s_2[] = { 's' }; +static const symbol s_3[] = { 'p' }; +static const symbol s_4[] = { 'p' }; +static const symbol s_5[] = { 'a', 'j', 'a', 'r' }; +static const symbol s_6[] = { 'a', 'j', 'a', 'r' }; + +static int r_remove_particle(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 51 */ + if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 104 && z->p[z->c - 1] != 110)) return 0; /* substring, line 51 */ + if (!(find_among_b(z, a_0, 3))) return 0; + z->bra = z->c; /* ], line 51 */ + { int ret = slice_del(z); /* delete, line 52 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 52 */ + return 1; +} + +static int r_remove_possessive_pronoun(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 57 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 117)) return 0; /* substring, line 57 */ + if (!(find_among_b(z, a_1, 3))) return 0; + z->bra = z->c; /* ], line 57 */ + { int ret = slice_del(z); /* delete, line 58 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 58 */ + return 1; +} + +static int r_SUFFIX_KAN_OK(struct SN_env * z) { /* backwardmode */ + /* and, line 85 */ + if (!(z->I[1] != 3)) return 0; /* $( != ), line 85 */ + if (!(z->I[1] != 2)) return 0; /* $( != ), line 85 */ + return 1; +} + +static int r_SUFFIX_AN_OK(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] != 1)) return 0; /* $( != ), line 89 */ + return 1; +} + +static int r_SUFFIX_I_OK(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= 2)) return 0; /* $( <= ), line 93 */ + { int m1 = z->l - z->c; (void)m1; /* not, line 128 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab0; /* literal, line 128 */ + z->c--; + return 0; + lab0: + z->c = z->l - m1; + } + return 1; +} + +static int r_remove_suffix(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 132 */ + if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 110)) return 0; /* substring, line 132 */ + if (!(find_among_b(z, a_2, 3))) return 0; + z->bra = z->c; /* ], line 132 */ + { int ret = slice_del(z); /* delete, line 134 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 134 */ + return 1; +} + +static int r_VOWEL(struct SN_env * z) { /* forwardmode */ + if (in_grouping(z, g_vowel, 97, 117, 0)) return 0; /* grouping vowel, line 141 */ + return 1; +} + +static int r_KER(struct SN_env * z) { /* forwardmode */ + if (out_grouping(z, g_vowel, 97, 117, 0)) return 0; /* non vowel, line 143 */ + if (!(eq_s(z, 2, s_0))) return 0; /* literal, line 143 */ + return 1; +} + +static int r_remove_first_order_prefix(struct SN_env * z) { /* forwardmode */ + int among_var; + z->bra = z->c; /* [, line 146 */ + if (z->c + 1 >= z->l || (z->p[z->c + 1] != 105 && z->p[z->c + 1] != 101)) return 0; /* substring, line 146 */ + among_var = find_among(z, a_3, 12); + if (!(among_var)) return 0; + z->ket = z->c; /* ], line 146 */ + switch (among_var) { /* among, line 146 */ + case 1: + { int ret = slice_del(z); /* delete, line 147 */ + if (ret < 0) return ret; + } + z->I[1] = 1; /* $prefix = , line 147 */ + z->I[0] -= 1; /* $measure -= , line 147 */ + break; + case 2: + { int ret = slice_del(z); /* delete, line 148 */ + if (ret < 0) return ret; + } + z->I[1] = 3; /* $prefix = , line 148 */ + z->I[0] -= 1; /* $measure -= , line 148 */ + break; + case 3: + z->I[1] = 1; /* $prefix = , line 149 */ + { int ret = slice_from_s(z, 1, s_1); /* <-, line 149 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 149 */ + break; + case 4: + z->I[1] = 3; /* $prefix = , line 150 */ + { int ret = slice_from_s(z, 1, s_2); /* <-, line 150 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 150 */ + break; + case 5: + z->I[1] = 1; /* $prefix = , line 151 */ + z->I[0] -= 1; /* $measure -= , line 151 */ + { int c1 = z->c; /* or, line 151 */ + { int c2 = z->c; /* and, line 151 */ + if (in_grouping(z, g_vowel, 97, 117, 0)) goto lab1; /* grouping vowel, line 151 */ + z->c = c2; + { int ret = slice_from_s(z, 1, s_3); /* <-, line 151 */ + if (ret < 0) return ret; + } + } + goto lab0; + lab1: + z->c = c1; + { int ret = slice_del(z); /* delete, line 151 */ + if (ret < 0) return ret; + } + } + lab0: + break; + case 6: + z->I[1] = 3; /* $prefix = , line 152 */ + z->I[0] -= 1; /* $measure -= , line 152 */ + { int c3 = z->c; /* or, line 152 */ + { int c4 = z->c; /* and, line 152 */ + if (in_grouping(z, g_vowel, 97, 117, 0)) goto lab3; /* grouping vowel, line 152 */ + z->c = c4; + { int ret = slice_from_s(z, 1, s_4); /* <-, line 152 */ + if (ret < 0) return ret; + } + } + goto lab2; + lab3: + z->c = c3; + { int ret = slice_del(z); /* delete, line 152 */ + if (ret < 0) return ret; + } + } + lab2: + break; + } + return 1; +} + +static int r_remove_second_order_prefix(struct SN_env * z) { /* forwardmode */ + int among_var; + z->bra = z->c; /* [, line 162 */ + if (z->c + 1 >= z->l || z->p[z->c + 1] != 101) return 0; /* substring, line 162 */ + among_var = find_among(z, a_4, 6); + if (!(among_var)) return 0; + z->ket = z->c; /* ], line 162 */ + switch (among_var) { /* among, line 162 */ + case 1: + { int ret = slice_del(z); /* delete, line 163 */ + if (ret < 0) return ret; + } + z->I[1] = 2; /* $prefix = , line 163 */ + z->I[0] -= 1; /* $measure -= , line 163 */ + break; + case 2: + { int ret = slice_from_s(z, 4, s_5); /* <-, line 164 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 164 */ + break; + case 3: + { int ret = slice_del(z); /* delete, line 165 */ + if (ret < 0) return ret; + } + z->I[1] = 4; /* $prefix = , line 165 */ + z->I[0] -= 1; /* $measure -= , line 165 */ + break; + case 4: + { int ret = slice_from_s(z, 4, s_6); /* <-, line 166 */ + if (ret < 0) return ret; + } + z->I[1] = 4; /* $prefix = , line 166 */ + z->I[0] -= 1; /* $measure -= , line 166 */ + break; + } + return 1; +} + +extern int indonesian_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ + z->I[0] = 0; /* $measure = , line 172 */ + { int c1 = z->c; /* do, line 173 */ +/* repeat, line 173 */ + + while(1) { int c2 = z->c; + { /* gopast */ /* grouping vowel, line 173 */ + int ret = out_grouping(z, g_vowel, 97, 117, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + z->I[0] += 1; /* $measure += , line 173 */ + continue; + lab1: + z->c = c2; + break; + } + z->c = c1; + } + if (!(z->I[0] > 2)) return 0; /* $( > ), line 174 */ + z->I[1] = 0; /* $prefix = , line 175 */ + z->lb = z->c; z->c = z->l; /* backwards, line 176 */ + + { int m3 = z->l - z->c; (void)m3; /* do, line 177 */ + { int ret = r_remove_particle(z); /* call remove_particle, line 177 */ + if (ret < 0) return ret; + } + z->c = z->l - m3; + } + if (!(z->I[0] > 2)) return 0; /* $( > ), line 178 */ + { int m4 = z->l - z->c; (void)m4; /* do, line 179 */ + { int ret = r_remove_possessive_pronoun(z); /* call remove_possessive_pronoun, line 179 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + z->c = z->lb; + if (!(z->I[0] > 2)) return 0; /* $( > ), line 181 */ + { int c5 = z->c; /* or, line 188 */ + { int c_test6 = z->c; /* test, line 182 */ + { int ret = r_remove_first_order_prefix(z); /* call remove_first_order_prefix, line 183 */ + if (ret == 0) goto lab3; + if (ret < 0) return ret; + } + { int c7 = z->c; /* do, line 184 */ + { int c_test8 = z->c; /* test, line 185 */ + if (!(z->I[0] > 2)) goto lab4; /* $( > ), line 185 */ + z->lb = z->c; z->c = z->l; /* backwards, line 185 */ + + { int ret = r_remove_suffix(z); /* call remove_suffix, line 185 */ + if (ret == 0) goto lab4; + if (ret < 0) return ret; + } + z->c = z->lb; + z->c = c_test8; + } + if (!(z->I[0] > 2)) goto lab4; /* $( > ), line 186 */ + { int ret = r_remove_second_order_prefix(z); /* call remove_second_order_prefix, line 186 */ + if (ret == 0) goto lab4; + if (ret < 0) return ret; + } + lab4: + z->c = c7; + } + z->c = c_test6; + } + goto lab2; + lab3: + z->c = c5; + { int c9 = z->c; /* do, line 189 */ + { int ret = r_remove_second_order_prefix(z); /* call remove_second_order_prefix, line 189 */ + if (ret < 0) return ret; + } + z->c = c9; + } + { int c10 = z->c; /* do, line 190 */ + if (!(z->I[0] > 2)) goto lab5; /* $( > ), line 190 */ + z->lb = z->c; z->c = z->l; /* backwards, line 190 */ + + { int ret = r_remove_suffix(z); /* call remove_suffix, line 190 */ + if (ret == 0) goto lab5; + if (ret < 0) return ret; + } + z->c = z->lb; + lab5: + z->c = c10; + } + } +lab2: + return 1; +} + +extern struct SN_env * indonesian_ISO_8859_1_create_env(void) { return SN_create_env(0, 2, 0); } + +extern void indonesian_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_indonesian.h b/src/dep/snowball/src_c/stem_ISO_8859_1_indonesian.h new file mode 100644 index 0000000000..a429ae9aa0 --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_indonesian.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * indonesian_ISO_8859_1_create_env(void); +extern void indonesian_ISO_8859_1_close_env(struct SN_env * z); + +extern int indonesian_ISO_8859_1_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_irish.c b/src/dep/snowball/src_c/stem_ISO_8859_1_irish.c new file mode 100644 index 0000000000..818490430f --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_irish.c @@ -0,0 +1,479 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int irish_ISO_8859_1_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_verb_sfx(struct SN_env * z); +static int r_deriv(struct SN_env * z); +static int r_noun_sfx(struct SN_env * z); +static int r_mark_regions(struct SN_env * z); +static int r_initial_morph(struct SN_env * z); +static int r_RV(struct SN_env * z); +static int r_R2(struct SN_env * z); +static int r_R1(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * irish_ISO_8859_1_create_env(void); +extern void irish_ISO_8859_1_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[2] = { 'b', '\'' }; +static const symbol s_0_1[2] = { 'b', 'h' }; +static const symbol s_0_2[3] = { 'b', 'h', 'f' }; +static const symbol s_0_3[2] = { 'b', 'p' }; +static const symbol s_0_4[2] = { 'c', 'h' }; +static const symbol s_0_5[2] = { 'd', '\'' }; +static const symbol s_0_6[4] = { 'd', '\'', 'f', 'h' }; +static const symbol s_0_7[2] = { 'd', 'h' }; +static const symbol s_0_8[2] = { 'd', 't' }; +static const symbol s_0_9[2] = { 'f', 'h' }; +static const symbol s_0_10[2] = { 'g', 'c' }; +static const symbol s_0_11[2] = { 'g', 'h' }; +static const symbol s_0_12[2] = { 'h', '-' }; +static const symbol s_0_13[2] = { 'm', '\'' }; +static const symbol s_0_14[2] = { 'm', 'b' }; +static const symbol s_0_15[2] = { 'm', 'h' }; +static const symbol s_0_16[2] = { 'n', '-' }; +static const symbol s_0_17[2] = { 'n', 'd' }; +static const symbol s_0_18[2] = { 'n', 'g' }; +static const symbol s_0_19[2] = { 'p', 'h' }; +static const symbol s_0_20[2] = { 's', 'h' }; +static const symbol s_0_21[2] = { 't', '-' }; +static const symbol s_0_22[2] = { 't', 'h' }; +static const symbol s_0_23[2] = { 't', 's' }; + +static const struct among a_0[24] = +{ +/* 0 */ { 2, s_0_0, -1, 1, 0}, +/* 1 */ { 2, s_0_1, -1, 4, 0}, +/* 2 */ { 3, s_0_2, 1, 2, 0}, +/* 3 */ { 2, s_0_3, -1, 8, 0}, +/* 4 */ { 2, s_0_4, -1, 5, 0}, +/* 5 */ { 2, s_0_5, -1, 1, 0}, +/* 6 */ { 4, s_0_6, 5, 2, 0}, +/* 7 */ { 2, s_0_7, -1, 6, 0}, +/* 8 */ { 2, s_0_8, -1, 9, 0}, +/* 9 */ { 2, s_0_9, -1, 2, 0}, +/* 10 */ { 2, s_0_10, -1, 5, 0}, +/* 11 */ { 2, s_0_11, -1, 7, 0}, +/* 12 */ { 2, s_0_12, -1, 1, 0}, +/* 13 */ { 2, s_0_13, -1, 1, 0}, +/* 14 */ { 2, s_0_14, -1, 4, 0}, +/* 15 */ { 2, s_0_15, -1, 10, 0}, +/* 16 */ { 2, s_0_16, -1, 1, 0}, +/* 17 */ { 2, s_0_17, -1, 6, 0}, +/* 18 */ { 2, s_0_18, -1, 7, 0}, +/* 19 */ { 2, s_0_19, -1, 8, 0}, +/* 20 */ { 2, s_0_20, -1, 3, 0}, +/* 21 */ { 2, s_0_21, -1, 1, 0}, +/* 22 */ { 2, s_0_22, -1, 9, 0}, +/* 23 */ { 2, s_0_23, -1, 3, 0} +}; + +static const symbol s_1_0[6] = { 0xED, 'o', 'c', 'h', 't', 'a' }; +static const symbol s_1_1[7] = { 'a', 0xED, 'o', 'c', 'h', 't', 'a' }; +static const symbol s_1_2[3] = { 'i', 'r', 'e' }; +static const symbol s_1_3[4] = { 'a', 'i', 'r', 'e' }; +static const symbol s_1_4[3] = { 'a', 'b', 'h' }; +static const symbol s_1_5[4] = { 'e', 'a', 'b', 'h' }; +static const symbol s_1_6[3] = { 'i', 'b', 'h' }; +static const symbol s_1_7[4] = { 'a', 'i', 'b', 'h' }; +static const symbol s_1_8[3] = { 'a', 'm', 'h' }; +static const symbol s_1_9[4] = { 'e', 'a', 'm', 'h' }; +static const symbol s_1_10[3] = { 'i', 'm', 'h' }; +static const symbol s_1_11[4] = { 'a', 'i', 'm', 'h' }; +static const symbol s_1_12[5] = { 0xED, 'o', 'c', 'h', 't' }; +static const symbol s_1_13[6] = { 'a', 0xED, 'o', 'c', 'h', 't' }; +static const symbol s_1_14[3] = { 'i', 'r', 0xED }; +static const symbol s_1_15[4] = { 'a', 'i', 'r', 0xED }; + +static const struct among a_1[16] = +{ +/* 0 */ { 6, s_1_0, -1, 1, 0}, +/* 1 */ { 7, s_1_1, 0, 1, 0}, +/* 2 */ { 3, s_1_2, -1, 2, 0}, +/* 3 */ { 4, s_1_3, 2, 2, 0}, +/* 4 */ { 3, s_1_4, -1, 1, 0}, +/* 5 */ { 4, s_1_5, 4, 1, 0}, +/* 6 */ { 3, s_1_6, -1, 1, 0}, +/* 7 */ { 4, s_1_7, 6, 1, 0}, +/* 8 */ { 3, s_1_8, -1, 1, 0}, +/* 9 */ { 4, s_1_9, 8, 1, 0}, +/* 10 */ { 3, s_1_10, -1, 1, 0}, +/* 11 */ { 4, s_1_11, 10, 1, 0}, +/* 12 */ { 5, s_1_12, -1, 1, 0}, +/* 13 */ { 6, s_1_13, 12, 1, 0}, +/* 14 */ { 3, s_1_14, -1, 2, 0}, +/* 15 */ { 4, s_1_15, 14, 2, 0} +}; + +static const symbol s_2_0[8] = { 0xF3, 'i', 'd', 'e', 'a', 'c', 'h', 'a' }; +static const symbol s_2_1[7] = { 'p', 'a', 't', 'a', 'c', 'h', 'a' }; +static const symbol s_2_2[5] = { 'a', 'c', 'h', 't', 'a' }; +static const symbol s_2_3[8] = { 'a', 'r', 'c', 'a', 'c', 'h', 't', 'a' }; +static const symbol s_2_4[6] = { 'e', 'a', 'c', 'h', 't', 'a' }; +static const symbol s_2_5[11] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h', 't', 'a' }; +static const symbol s_2_6[5] = { 'p', 'a', 'i', 't', 'e' }; +static const symbol s_2_7[3] = { 'a', 'c', 'h' }; +static const symbol s_2_8[4] = { 'e', 'a', 'c', 'h' }; +static const symbol s_2_9[7] = { 0xF3, 'i', 'd', 'e', 'a', 'c', 'h' }; +static const symbol s_2_10[7] = { 'g', 'i', 'n', 'e', 'a', 'c', 'h' }; +static const symbol s_2_11[6] = { 'p', 'a', 't', 'a', 'c', 'h' }; +static const symbol s_2_12[9] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h' }; +static const symbol s_2_13[7] = { 'p', 'a', 't', 'a', 'i', 'g', 'h' }; +static const symbol s_2_14[6] = { 0xF3, 'i', 'd', 'i', 'g', 'h' }; +static const symbol s_2_15[7] = { 'a', 'c', 'h', 't', 0xFA, 'i', 'l' }; +static const symbol s_2_16[8] = { 'e', 'a', 'c', 'h', 't', 0xFA, 'i', 'l' }; +static const symbol s_2_17[6] = { 'g', 'i', 'n', 'e', 'a', 's' }; +static const symbol s_2_18[5] = { 'g', 'i', 'n', 'i', 's' }; +static const symbol s_2_19[4] = { 'a', 'c', 'h', 't' }; +static const symbol s_2_20[7] = { 'a', 'r', 'c', 'a', 'c', 'h', 't' }; +static const symbol s_2_21[5] = { 'e', 'a', 'c', 'h', 't' }; +static const symbol s_2_22[10] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h', 't' }; +static const symbol s_2_23[9] = { 'a', 'r', 'c', 'a', 'c', 'h', 't', 'a', 0xED }; +static const symbol s_2_24[12] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h', 't', 'a', 0xED }; + +static const struct among a_2[25] = +{ +/* 0 */ { 8, s_2_0, -1, 6, 0}, +/* 1 */ { 7, s_2_1, -1, 5, 0}, +/* 2 */ { 5, s_2_2, -1, 1, 0}, +/* 3 */ { 8, s_2_3, 2, 2, 0}, +/* 4 */ { 6, s_2_4, 2, 1, 0}, +/* 5 */ { 11, s_2_5, -1, 4, 0}, +/* 6 */ { 5, s_2_6, -1, 5, 0}, +/* 7 */ { 3, s_2_7, -1, 1, 0}, +/* 8 */ { 4, s_2_8, 7, 1, 0}, +/* 9 */ { 7, s_2_9, 8, 6, 0}, +/* 10 */ { 7, s_2_10, 8, 3, 0}, +/* 11 */ { 6, s_2_11, 7, 5, 0}, +/* 12 */ { 9, s_2_12, -1, 4, 0}, +/* 13 */ { 7, s_2_13, -1, 5, 0}, +/* 14 */ { 6, s_2_14, -1, 6, 0}, +/* 15 */ { 7, s_2_15, -1, 1, 0}, +/* 16 */ { 8, s_2_16, 15, 1, 0}, +/* 17 */ { 6, s_2_17, -1, 3, 0}, +/* 18 */ { 5, s_2_18, -1, 3, 0}, +/* 19 */ { 4, s_2_19, -1, 1, 0}, +/* 20 */ { 7, s_2_20, 19, 2, 0}, +/* 21 */ { 5, s_2_21, 19, 1, 0}, +/* 22 */ { 10, s_2_22, -1, 4, 0}, +/* 23 */ { 9, s_2_23, -1, 2, 0}, +/* 24 */ { 12, s_2_24, -1, 4, 0} +}; + +static const symbol s_3_0[4] = { 'i', 'm', 'i', 'd' }; +static const symbol s_3_1[5] = { 'a', 'i', 'm', 'i', 'd' }; +static const symbol s_3_2[4] = { 0xED, 'm', 'i', 'd' }; +static const symbol s_3_3[5] = { 'a', 0xED, 'm', 'i', 'd' }; +static const symbol s_3_4[3] = { 'a', 'd', 'h' }; +static const symbol s_3_5[4] = { 'e', 'a', 'd', 'h' }; +static const symbol s_3_6[5] = { 'f', 'a', 'i', 'd', 'h' }; +static const symbol s_3_7[4] = { 'f', 'i', 'd', 'h' }; +static const symbol s_3_8[3] = { 0xE1, 'i', 'l' }; +static const symbol s_3_9[3] = { 'a', 'i', 'n' }; +static const symbol s_3_10[4] = { 't', 'e', 'a', 'r' }; +static const symbol s_3_11[3] = { 't', 'a', 'r' }; + +static const struct among a_3[12] = +{ +/* 0 */ { 4, s_3_0, -1, 1, 0}, +/* 1 */ { 5, s_3_1, 0, 1, 0}, +/* 2 */ { 4, s_3_2, -1, 1, 0}, +/* 3 */ { 5, s_3_3, 2, 1, 0}, +/* 4 */ { 3, s_3_4, -1, 2, 0}, +/* 5 */ { 4, s_3_5, 4, 2, 0}, +/* 6 */ { 5, s_3_6, -1, 1, 0}, +/* 7 */ { 4, s_3_7, -1, 1, 0}, +/* 8 */ { 3, s_3_8, -1, 2, 0}, +/* 9 */ { 3, s_3_9, -1, 2, 0}, +/* 10 */ { 4, s_3_10, -1, 2, 0}, +/* 11 */ { 3, s_3_11, -1, 2, 0} +}; + +static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 4, 2 }; + +static const symbol s_0[] = { 'f' }; +static const symbol s_1[] = { 's' }; +static const symbol s_2[] = { 'b' }; +static const symbol s_3[] = { 'c' }; +static const symbol s_4[] = { 'd' }; +static const symbol s_5[] = { 'g' }; +static const symbol s_6[] = { 'p' }; +static const symbol s_7[] = { 't' }; +static const symbol s_8[] = { 'm' }; +static const symbol s_9[] = { 'a', 'r', 'c' }; +static const symbol s_10[] = { 'g', 'i', 'n' }; +static const symbol s_11[] = { 'g', 'r', 'a', 'f' }; +static const symbol s_12[] = { 'p', 'a', 'i', 't', 'e' }; +static const symbol s_13[] = { 0xF3, 'i', 'd' }; + +static int r_mark_regions(struct SN_env * z) { /* forwardmode */ + z->I[0] = z->l; /* $pV = , line 30 */ + z->I[1] = z->l; /* $p1 = , line 31 */ + z->I[2] = z->l; /* $p2 = , line 32 */ + { int c1 = z->c; /* do, line 34 */ + { /* gopast */ /* grouping v, line 35 */ + int ret = out_grouping(z, g_v, 97, 250, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + z->I[0] = z->c; /* setmark pV, line 35 */ + lab0: + z->c = c1; + } + { int c2 = z->c; /* do, line 37 */ + { /* gopast */ /* grouping v, line 38 */ + int ret = out_grouping(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + { /* gopast */ /* non v, line 38 */ + int ret = in_grouping(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + z->I[1] = z->c; /* setmark p1, line 38 */ + { /* gopast */ /* grouping v, line 39 */ + int ret = out_grouping(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + { /* gopast */ /* non v, line 39 */ + int ret = in_grouping(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + z->I[2] = z->c; /* setmark p2, line 39 */ + lab1: + z->c = c2; + } + return 1; +} + +static int r_initial_morph(struct SN_env * z) { /* forwardmode */ + int among_var; + z->bra = z->c; /* [, line 44 */ + among_var = find_among(z, a_0, 24); /* substring, line 44 */ + if (!(among_var)) return 0; + z->ket = z->c; /* ], line 44 */ + switch (among_var) { /* among, line 44 */ + case 1: + { int ret = slice_del(z); /* delete, line 46 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 1, s_0); /* <-, line 52 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 1, s_1); /* <-, line 58 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 1, s_2); /* <-, line 61 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 1, s_3); /* <-, line 63 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 1, s_4); /* <-, line 65 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 1, s_5); /* <-, line 69 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 1, s_6); /* <-, line 71 */ + if (ret < 0) return ret; + } + break; + case 9: + { int ret = slice_from_s(z, 1, s_7); /* <-, line 75 */ + if (ret < 0) return ret; + } + break; + case 10: + { int ret = slice_from_s(z, 1, s_8); /* <-, line 89 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_RV(struct SN_env * z) { /* backwardmode */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 99 */ + return 1; +} + +static int r_R1(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 100 */ + return 1; +} + +static int r_R2(struct SN_env * z) { /* backwardmode */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 101 */ + return 1; +} + +static int r_noun_sfx(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 104 */ + among_var = find_among_b(z, a_1, 16); /* substring, line 104 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 104 */ + switch (among_var) { /* among, line 104 */ + case 1: + { int ret = r_R1(z); /* call R1, line 108 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 108 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 110 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 110 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_deriv(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 114 */ + among_var = find_among_b(z, a_2, 25); /* substring, line 114 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 114 */ + switch (among_var) { /* among, line 114 */ + case 1: + { int ret = r_R2(z); /* call R2, line 116 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 116 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 3, s_9); /* <-, line 118 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 3, s_10); /* <-, line 120 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 4, s_11); /* <-, line 122 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 5, s_12); /* <-, line 124 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 3, s_13); /* <-, line 126 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_verb_sfx(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 130 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((282896 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 130 */ + among_var = find_among_b(z, a_3, 12); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 130 */ + switch (among_var) { /* among, line 130 */ + case 1: + { int ret = r_RV(z); /* call RV, line 133 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 133 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R1(z); /* call R1, line 138 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 138 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +extern int irish_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ + { int c1 = z->c; /* do, line 144 */ + { int ret = r_initial_morph(z); /* call initial_morph, line 144 */ + if (ret < 0) return ret; + } + z->c = c1; + } + /* do, line 145 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 145 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 146 */ + + { int m2 = z->l - z->c; (void)m2; /* do, line 147 */ + { int ret = r_noun_sfx(z); /* call noun_sfx, line 147 */ + if (ret < 0) return ret; + } + z->c = z->l - m2; + } + { int m3 = z->l - z->c; (void)m3; /* do, line 148 */ + { int ret = r_deriv(z); /* call deriv, line 148 */ + if (ret < 0) return ret; + } + z->c = z->l - m3; + } + { int m4 = z->l - z->c; (void)m4; /* do, line 149 */ + { int ret = r_verb_sfx(z); /* call verb_sfx, line 149 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + z->c = z->lb; + return 1; +} + +extern struct SN_env * irish_ISO_8859_1_create_env(void) { return SN_create_env(0, 3, 0); } + +extern void irish_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_irish.h b/src/dep/snowball/src_c/stem_ISO_8859_1_irish.h new file mode 100644 index 0000000000..aa468f9db4 --- /dev/null +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_irish.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * irish_ISO_8859_1_create_env(void); +extern void irish_ISO_8859_1_close_env(struct SN_env * z); + +extern int irish_ISO_8859_1_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_italian.c b/src/dep/snowball/src_c/stem_ISO_8859_1_italian.c index c8395eef1e..e885b24797 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_italian.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_italian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -492,14 +491,14 @@ static const symbol s_17[] = { 'i', 'c' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ int among_var; { int c_test1 = z->c; /* test, line 35 */ - while(1) { /* repeat, line 35 */ - int c2 = z->c; +/* repeat, line 35 */ + + while(1) { int c2 = z->c; z->bra = z->c; /* [, line 36 */ among_var = find_among(z, a_0, 7); /* substring, line 36 */ if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 36 */ switch (among_var) { /* among, line 36 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_0); /* <-, line 37 */ if (ret < 0) return ret; @@ -542,8 +541,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ } z->c = c_test1; } - while(1) { /* repeat, line 46 */ - int c3 = z->c; +/* repeat, line 46 */ + + while(1) { int c3 = z->c; while(1) { /* goto, line 46 */ int c4 = z->c; if (in_grouping(z, g_v, 97, 249, 0)) goto lab2; /* grouping v, line 47 */ @@ -665,15 +665,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 70 */ - int c1 = z->c; +/* repeat, line 70 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 72 */ if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else /* substring, line 72 */ among_var = find_among(z, a_1, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 72 */ switch (among_var) { /* among, line 72 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_8); /* <-, line 73 */ if (ret < 0) return ret; @@ -698,17 +698,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 82 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 82 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 83 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 83 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 84 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 84 */ return 1; } @@ -725,7 +725,6 @@ static int r_attached_pronoun(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 97 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 98 */ if (ret < 0) return ret; @@ -747,7 +746,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 104 */ switch (among_var) { /* among, line 104 */ - case 0: return 0; case 1: { int ret = r_R2(z); /* call R2, line 111 */ if (ret <= 0) return ret; @@ -831,7 +829,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 127 */ - case 0: { z->c = z->l - m2; goto lab1; } case 1: z->ket = z->c; /* [, line 128 */ if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - m2; goto lab1; } /* literal, line 128 */ @@ -859,20 +856,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m3 = z->l - z->c; (void)m3; /* try, line 135 */ z->ket = z->c; /* [, line 136 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m3; goto lab2; } /* substring, line 136 */ - among_var = find_among_b(z, a_5, 3); - if (!(among_var)) { z->c = z->l - m3; goto lab2; } + if (!(find_among_b(z, a_5, 3))) { z->c = z->l - m3; goto lab2; } z->bra = z->c; /* ], line 136 */ - switch (among_var) { /* among, line 136 */ - case 0: { z->c = z->l - m3; goto lab2; } - case 1: - { int ret = r_R2(z); /* call R2, line 137 */ - if (ret == 0) { z->c = z->l - m3; goto lab2; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 137 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 137 */ + if (ret == 0) { z->c = z->l - m3; goto lab2; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 137 */ + if (ret < 0) return ret; } lab2: ; @@ -915,24 +906,15 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 148 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 148 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 148 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 149 */ - among_var = find_among_b(z, a_7, 87); /* substring, line 149 */ - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_7, 87))) { z->lb = mlimit1; return 0; } /* substring, line 149 */ z->bra = z->c; /* ], line 149 */ - switch (among_var) { /* among, line 149 */ - case 0: { z->lb = mlimit1; return 0; } - case 1: - { int ret = slice_del(z); /* delete, line 163 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 163 */ + if (ret < 0) return ret; } z->lb = mlimit1; } @@ -987,64 +969,52 @@ static int r_vowel_suffix(struct SN_env * z) { /* backwardmode */ extern int italian_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 182 */ { int ret = r_prelude(z); /* call prelude, line 182 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 183 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 183 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 183 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 183 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 184 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 185 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 185 */ { int ret = r_attached_pronoun(z); /* call attached_pronoun, line 185 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: - z->c = z->l - m3; + z->c = z->l - m2; } - { int m4 = z->l - z->c; (void)m4; /* do, line 186 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 186 */ + { int m3 = z->l - z->c; (void)m3; /* do, line 186 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 186 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 186 */ - if (ret == 0) goto lab5; + if (ret == 0) goto lab2; if (ret < 0) return ret; } - goto lab4; - lab5: - z->c = z->l - m5; + goto lab1; + lab2: + z->c = z->l - m4; { int ret = r_verb_suffix(z); /* call verb_suffix, line 186 */ - if (ret == 0) goto lab3; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab4: - lab3: - z->c = z->l - m4; + lab1: + lab0: + z->c = z->l - m3; } - { int m6 = z->l - z->c; (void)m6; /* do, line 187 */ + { int m5 = z->l - z->c; (void)m5; /* do, line 187 */ { int ret = r_vowel_suffix(z); /* call vowel_suffix, line 187 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: - z->c = z->l - m6; + z->c = z->l - m5; } z->c = z->lb; - { int c7 = z->c; /* do, line 189 */ + { int c6 = z->c; /* do, line 189 */ { int ret = r_postlude(z); /* call postlude, line 189 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: - z->c = c7; + z->c = c6; } return 1; } diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_italian.h b/src/dep/snowball/src_c/stem_ISO_8859_1_italian.h index 9e3fcf7f78..cffcd53dbb 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_italian.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_italian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.c b/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.c index 5a3067a685..38df173360 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -149,7 +148,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 31 */ /* try, line 32 */ - if (!(z->I[0] < z->I[1])) goto lab0; /* $p1 < , line 32 */ + if (!(z->I[0] < z->I[1])) goto lab0; /* $( < ), line 32 */ z->I[0] = z->I[1]; /* $p1 = , line 32 */ lab0: return 1; @@ -157,12 +156,10 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 38 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 38 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 38 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 38 */ if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851426 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 38 */ among_var = find_among_b(z, a_0, 29); @@ -171,7 +168,6 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ z->lb = mlimit1; } switch (among_var) { /* among, line 39 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 44 */ if (ret < 0) return ret; @@ -203,12 +199,10 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ { int m_test1 = z->l - z->c; /* test, line 53 */ - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 54 */ - int mlimit2; + + { int mlimit2; /* setlimit, line 54 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 54 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; + mlimit2 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 54 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] != 116) { z->lb = mlimit2; return 0; } /* substring, line 54 */ if (!(find_among_b(z, a_1, 2))) { z->lb = mlimit2; return 0; } @@ -227,27 +221,18 @@ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ } static int r_other_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 63 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 63 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 63 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 63 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4718720 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 63 */ - among_var = find_among_b(z, a_2, 11); - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_2, 11))) { z->lb = mlimit1; return 0; } z->bra = z->c; /* ], line 63 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 64 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 67 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 67 */ + if (ret < 0) return ret; } return 1; } @@ -255,36 +240,28 @@ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ extern int norwegian_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 74 */ { int ret = r_mark_regions(z); /* call mark_regions, line 74 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } z->lb = z->c; z->c = z->l; /* backwards, line 75 */ { int m2 = z->l - z->c; (void)m2; /* do, line 76 */ { int ret = r_main_suffix(z); /* call main_suffix, line 76 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 77 */ { int ret = r_consonant_pair(z); /* call consonant_pair, line 77 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } { int m4 = z->l - z->c; (void)m4; /* do, line 78 */ { int ret = r_other_suffix(z); /* call other_suffix, line 78 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.h b/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.h index 424c8cd468..72fe18fda5 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_norwegian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_porter.c b/src/dep/snowball/src_c/stem_ISO_8859_1_porter.c index 3701ce4768..231a798751 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_porter.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_porter.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -115,21 +114,21 @@ static const struct among a_3[20] = /* 2 */ { 4, s_3_2, -1, 4, 0}, /* 3 */ { 3, s_3_3, -1, 6, 0}, /* 4 */ { 4, s_3_4, -1, 9, 0}, -/* 5 */ { 5, s_3_5, -1, 12, 0}, +/* 5 */ { 5, s_3_5, -1, 11, 0}, /* 6 */ { 5, s_3_6, -1, 5, 0}, -/* 7 */ { 5, s_3_7, -1, 10, 0}, -/* 8 */ { 6, s_3_8, -1, 14, 0}, -/* 9 */ { 5, s_3_9, -1, 13, 0}, +/* 7 */ { 5, s_3_7, -1, 9, 0}, +/* 8 */ { 6, s_3_8, -1, 13, 0}, +/* 9 */ { 5, s_3_9, -1, 12, 0}, /* 10 */ { 6, s_3_10, -1, 1, 0}, /* 11 */ { 7, s_3_11, 10, 8, 0}, -/* 12 */ { 5, s_3_12, -1, 10, 0}, +/* 12 */ { 5, s_3_12, -1, 9, 0}, /* 13 */ { 5, s_3_13, -1, 8, 0}, /* 14 */ { 7, s_3_14, 13, 7, 0}, /* 15 */ { 4, s_3_15, -1, 7, 0}, /* 16 */ { 4, s_3_16, -1, 8, 0}, -/* 17 */ { 7, s_3_17, -1, 13, 0}, -/* 18 */ { 7, s_3_18, -1, 11, 0}, -/* 19 */ { 7, s_3_19, -1, 12, 0} +/* 17 */ { 7, s_3_17, -1, 12, 0}, +/* 18 */ { 7, s_3_18, -1, 10, 0}, +/* 19 */ { 7, s_3_19, -1, 11, 0} }; static const symbol s_4_0[5] = { 'i', 'c', 'a', 't', 'e' }; @@ -213,16 +212,15 @@ static const symbol s_11[] = { 'e' }; static const symbol s_12[] = { 'i', 'z', 'e' }; static const symbol s_13[] = { 'a', 't', 'e' }; static const symbol s_14[] = { 'a', 'l' }; -static const symbol s_15[] = { 'a', 'l' }; -static const symbol s_16[] = { 'f', 'u', 'l' }; -static const symbol s_17[] = { 'o', 'u', 's' }; -static const symbol s_18[] = { 'i', 'v', 'e' }; -static const symbol s_19[] = { 'b', 'l', 'e' }; -static const symbol s_20[] = { 'a', 'l' }; -static const symbol s_21[] = { 'i', 'c' }; +static const symbol s_15[] = { 'f', 'u', 'l' }; +static const symbol s_16[] = { 'o', 'u', 's' }; +static const symbol s_17[] = { 'i', 'v', 'e' }; +static const symbol s_18[] = { 'b', 'l', 'e' }; +static const symbol s_19[] = { 'a', 'l' }; +static const symbol s_20[] = { 'i', 'c' }; +static const symbol s_21[] = { 'Y' }; static const symbol s_22[] = { 'Y' }; -static const symbol s_23[] = { 'Y' }; -static const symbol s_24[] = { 'y' }; +static const symbol s_23[] = { 'y' }; static int r_shortv(struct SN_env * z) { /* backwardmode */ if (out_grouping_b(z, g_v_WXY, 89, 121, 0)) return 0; /* non v_WXY, line 19 */ @@ -232,12 +230,12 @@ static int r_shortv(struct SN_env * z) { /* backwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 21 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 21 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 22 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 22 */ return 1; } @@ -249,7 +247,6 @@ static int r_Step_1a(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 25 */ switch (among_var) { /* among, line 25 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 2, s_0); /* <-, line 26 */ if (ret < 0) return ret; @@ -277,7 +274,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 34 */ switch (among_var) { /* among, line 34 */ - case 0: return 0; case 1: { int ret = r_R1(z); /* call R1, line 35 */ if (ret <= 0) return ret; @@ -305,7 +301,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ z->c = z->l - m_test2; } switch (among_var) { /* among, line 39 */ - case 0: return 0; case 1: { int ret; { int saved_c = z->c; @@ -381,7 +376,6 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 58 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 4, s_6); /* <-, line 59 */ if (ret < 0) return ret; @@ -428,27 +422,22 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ } break; case 10: - { int ret = slice_from_s(z, 2, s_15); /* <-, line 71 */ + { int ret = slice_from_s(z, 3, s_15); /* <-, line 72 */ if (ret < 0) return ret; } break; case 11: - { int ret = slice_from_s(z, 3, s_16); /* <-, line 72 */ + { int ret = slice_from_s(z, 3, s_16); /* <-, line 74 */ if (ret < 0) return ret; } break; case 12: - { int ret = slice_from_s(z, 3, s_17); /* <-, line 74 */ + { int ret = slice_from_s(z, 3, s_17); /* <-, line 76 */ if (ret < 0) return ret; } break; case 13: - { int ret = slice_from_s(z, 3, s_18); /* <-, line 76 */ - if (ret < 0) return ret; - } - break; - case 14: - { int ret = slice_from_s(z, 3, s_19); /* <-, line 77 */ + { int ret = slice_from_s(z, 3, s_18); /* <-, line 77 */ if (ret < 0) return ret; } break; @@ -467,14 +456,13 @@ static int r_Step_3(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 82 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 2, s_20); /* <-, line 83 */ + { int ret = slice_from_s(z, 2, s_19); /* <-, line 83 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 2, s_21); /* <-, line 85 */ + { int ret = slice_from_s(z, 2, s_20); /* <-, line 85 */ if (ret < 0) return ret; } break; @@ -498,7 +486,6 @@ static int r_Step_4(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 92 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 95 */ if (ret < 0) return ret; @@ -579,7 +566,7 @@ extern int porter_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ if (z->c == z->l || z->p[z->c] != 'y') goto lab0; /* literal, line 116 */ z->c++; z->ket = z->c; /* ], line 116 */ - { int ret = slice_from_s(z, 1, s_22); /* <-, line 116 */ + { int ret = slice_from_s(z, 1, s_21); /* <-, line 116 */ if (ret < 0) return ret; } z->B[0] = 1; /* set Y_found, line 116 */ @@ -587,8 +574,9 @@ extern int porter_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ z->c = c1; } { int c2 = z->c; /* do, line 117 */ - while(1) { /* repeat, line 117 */ - int c3 = z->c; +/* repeat, line 117 */ + + while(1) { int c3 = z->c; while(1) { /* goto, line 117 */ int c4 = z->c; if (in_grouping(z, g_v, 97, 121, 0)) goto lab3; /* grouping v, line 117 */ @@ -603,7 +591,7 @@ extern int porter_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ if (z->c >= z->l) goto lab2; z->c++; /* goto, line 117 */ } - { int ret = slice_from_s(z, 1, s_23); /* <-, line 117 */ + { int ret = slice_from_s(z, 1, s_22); /* <-, line 117 */ if (ret < 0) return ret; } z->B[0] = 1; /* set Y_found, line 117 */ @@ -646,95 +634,80 @@ extern int porter_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ { int m6 = z->l - z->c; (void)m6; /* do, line 127 */ { int ret = r_Step_1a(z); /* call Step_1a, line 127 */ - if (ret == 0) goto lab5; if (ret < 0) return ret; } - lab5: z->c = z->l - m6; } { int m7 = z->l - z->c; (void)m7; /* do, line 128 */ { int ret = r_Step_1b(z); /* call Step_1b, line 128 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: z->c = z->l - m7; } { int m8 = z->l - z->c; (void)m8; /* do, line 129 */ { int ret = r_Step_1c(z); /* call Step_1c, line 129 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: z->c = z->l - m8; } { int m9 = z->l - z->c; (void)m9; /* do, line 130 */ { int ret = r_Step_2(z); /* call Step_2, line 130 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: z->c = z->l - m9; } { int m10 = z->l - z->c; (void)m10; /* do, line 131 */ { int ret = r_Step_3(z); /* call Step_3, line 131 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: z->c = z->l - m10; } { int m11 = z->l - z->c; (void)m11; /* do, line 132 */ { int ret = r_Step_4(z); /* call Step_4, line 132 */ - if (ret == 0) goto lab10; if (ret < 0) return ret; } - lab10: z->c = z->l - m11; } { int m12 = z->l - z->c; (void)m12; /* do, line 133 */ { int ret = r_Step_5a(z); /* call Step_5a, line 133 */ - if (ret == 0) goto lab11; if (ret < 0) return ret; } - lab11: z->c = z->l - m12; } { int m13 = z->l - z->c; (void)m13; /* do, line 134 */ { int ret = r_Step_5b(z); /* call Step_5b, line 134 */ - if (ret == 0) goto lab12; if (ret < 0) return ret; } - lab12: z->c = z->l - m13; } z->c = z->lb; { int c14 = z->c; /* do, line 137 */ - if (!(z->B[0])) goto lab13; /* Boolean test Y_found, line 137 */ - while(1) { /* repeat, line 137 */ - int c15 = z->c; + if (!(z->B[0])) goto lab5; /* Boolean test Y_found, line 137 */ +/* repeat, line 137 */ + + while(1) { int c15 = z->c; while(1) { /* goto, line 137 */ int c16 = z->c; z->bra = z->c; /* [, line 137 */ - if (z->c == z->l || z->p[z->c] != 'Y') goto lab15; /* literal, line 137 */ + if (z->c == z->l || z->p[z->c] != 'Y') goto lab7; /* literal, line 137 */ z->c++; z->ket = z->c; /* ], line 137 */ z->c = c16; break; - lab15: + lab7: z->c = c16; - if (z->c >= z->l) goto lab14; + if (z->c >= z->l) goto lab6; z->c++; /* goto, line 137 */ } - { int ret = slice_from_s(z, 1, s_24); /* <-, line 137 */ + { int ret = slice_from_s(z, 1, s_23); /* <-, line 137 */ if (ret < 0) return ret; } continue; - lab14: + lab6: z->c = c15; break; } - lab13: + lab5: z->c = c14; } return 1; diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_porter.h b/src/dep/snowball/src_c/stem_ISO_8859_1_porter.h index 99bc54ff0d..d52c3e336b 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_porter.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_porter.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.c b/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.c index b4dbb6931c..10440e7c54 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -475,15 +474,15 @@ static const symbol s_10[] = { 'c' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 36 */ - int c1 = z->c; +/* repeat, line 36 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 37 */ if (z->c >= z->l || (z->p[z->c + 0] != 227 && z->p[z->c + 0] != 245)) among_var = 3; else /* substring, line 37 */ among_var = find_among(z, a_0, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 37 */ switch (among_var) { /* among, line 37 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 2, s_0); /* <-, line 38 */ if (ret < 0) return ret; @@ -589,15 +588,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 62 */ - int c1 = z->c; +/* repeat, line 62 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 63 */ if (z->c + 1 >= z->l || z->p[z->c + 1] != 126) among_var = 3; else /* substring, line 63 */ among_var = find_among(z, a_1, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 63 */ switch (among_var) { /* among, line 63 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_2); /* <-, line 64 */ if (ret < 0) return ret; @@ -622,17 +621,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 72 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 72 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 73 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 73 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 74 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 74 */ return 1; } @@ -644,7 +643,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 77 */ switch (among_var) { /* among, line 77 */ - case 0: return 0; case 1: { int ret = r_R2(z); /* call R2, line 93 */ if (ret <= 0) return ret; @@ -698,7 +696,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 112 */ - case 0: { z->c = z->l - m1; goto lab0; } case 1: z->ket = z->c; /* [, line 113 */ if (!(eq_s_b(z, 2, s_7))) { z->c = z->l - m1; goto lab0; } /* literal, line 113 */ @@ -726,20 +723,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m2 = z->l - z->c; (void)m2; /* try, line 123 */ z->ket = z->c; /* [, line 124 */ if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108)) { z->c = z->l - m2; goto lab1; } /* substring, line 124 */ - among_var = find_among_b(z, a_3, 3); - if (!(among_var)) { z->c = z->l - m2; goto lab1; } + if (!(find_among_b(z, a_3, 3))) { z->c = z->l - m2; goto lab1; } z->bra = z->c; /* ], line 124 */ - switch (among_var) { /* among, line 124 */ - case 0: { z->c = z->l - m2; goto lab1; } - case 1: - { int ret = r_R2(z); /* call R2, line 127 */ - if (ret == 0) { z->c = z->l - m2; goto lab1; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 127 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 127 */ + if (ret == 0) { z->c = z->l - m2; goto lab1; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 127 */ + if (ret < 0) return ret; } lab1: ; @@ -755,20 +746,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m3 = z->l - z->c; (void)m3; /* try, line 135 */ z->ket = z->c; /* [, line 136 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m3; goto lab2; } /* substring, line 136 */ - among_var = find_among_b(z, a_4, 3); - if (!(among_var)) { z->c = z->l - m3; goto lab2; } + if (!(find_among_b(z, a_4, 3))) { z->c = z->l - m3; goto lab2; } z->bra = z->c; /* ], line 136 */ - switch (among_var) { /* among, line 136 */ - case 0: { z->c = z->l - m3; goto lab2; } - case 1: - { int ret = r_R2(z); /* call R2, line 139 */ - if (ret == 0) { z->c = z->l - m3; goto lab2; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 139 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 139 */ + if (ret == 0) { z->c = z->l - m3; goto lab2; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 139 */ + if (ret < 0) return ret; } lab2: ; @@ -811,24 +796,15 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 159 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 159 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 159 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 160 */ - among_var = find_among_b(z, a_6, 120); /* substring, line 160 */ - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_6, 120))) { z->lb = mlimit1; return 0; } /* substring, line 160 */ z->bra = z->c; /* ], line 160 */ - switch (among_var) { /* among, line 160 */ - case 0: { z->lb = mlimit1; return 0; } - case 1: - { int ret = slice_del(z); /* delete, line 179 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 179 */ + if (ret < 0) return ret; } z->lb = mlimit1; } @@ -836,21 +812,14 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ } static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 184 */ - among_var = find_among_b(z, a_7, 7); /* substring, line 184 */ - if (!(among_var)) return 0; + if (!(find_among_b(z, a_7, 7))) return 0; /* substring, line 184 */ z->bra = z->c; /* ], line 184 */ - switch (among_var) { /* among, line 184 */ - case 0: return 0; - case 1: - { int ret = r_RV(z); /* call RV, line 187 */ - if (ret <= 0) return ret; - } - { int ret = slice_del(z); /* delete, line 187 */ - if (ret < 0) return ret; - } - break; + { int ret = r_RV(z); /* call RV, line 187 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 187 */ + if (ret < 0) return ret; } return 1; } @@ -862,7 +831,6 @@ static int r_residual_form(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 192 */ switch (among_var) { /* among, line 192 */ - case 0: return 0; case 1: { int ret = r_RV(z); /* call RV, line 194 */ if (ret <= 0) return ret; @@ -912,89 +880,79 @@ static int r_residual_form(struct SN_env * z) { /* backwardmode */ extern int portuguese_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 202 */ { int ret = r_prelude(z); /* call prelude, line 202 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 203 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 203 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 203 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 203 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 204 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 205 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 209 */ - { int m5 = z->l - z->c; (void)m5; /* and, line 207 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 206 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 205 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 209 */ + { int m4 = z->l - z->c; (void)m4; /* and, line 207 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 206 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 206 */ - if (ret == 0) goto lab6; + if (ret == 0) goto lab4; if (ret < 0) return ret; } - goto lab5; - lab6: - z->c = z->l - m6; + goto lab3; + lab4: + z->c = z->l - m5; { int ret = r_verb_suffix(z); /* call verb_suffix, line 206 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab2; if (ret < 0) return ret; } } - lab5: - z->c = z->l - m5; - { int m7 = z->l - z->c; (void)m7; /* do, line 207 */ + lab3: + z->c = z->l - m4; + { int m6 = z->l - z->c; (void)m6; /* do, line 207 */ z->ket = z->c; /* [, line 207 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab7; /* literal, line 207 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab5; /* literal, line 207 */ z->c--; z->bra = z->c; /* ], line 207 */ - { int m_test8 = z->l - z->c; /* test, line 207 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab7; /* literal, line 207 */ + { int m_test7 = z->l - z->c; /* test, line 207 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab5; /* literal, line 207 */ z->c--; - z->c = z->l - m_test8; + z->c = z->l - m_test7; } { int ret = r_RV(z); /* call RV, line 207 */ - if (ret == 0) goto lab7; + if (ret == 0) goto lab5; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 207 */ if (ret < 0) return ret; } - lab7: - z->c = z->l - m7; + lab5: + z->c = z->l - m6; } } - goto lab3; - lab4: - z->c = z->l - m4; + goto lab1; + lab2: + z->c = z->l - m3; { int ret = r_residual_suffix(z); /* call residual_suffix, line 209 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab3: - lab2: - z->c = z->l - m3; + lab1: + lab0: + z->c = z->l - m2; } - { int m9 = z->l - z->c; (void)m9; /* do, line 211 */ + { int m8 = z->l - z->c; (void)m8; /* do, line 211 */ { int ret = r_residual_form(z); /* call residual_form, line 211 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: - z->c = z->l - m9; + z->c = z->l - m8; } z->c = z->lb; - { int c10 = z->c; /* do, line 213 */ + { int c9 = z->c; /* do, line 213 */ { int ret = r_postlude(z); /* call postlude, line 213 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: - z->c = c10; + z->c = c9; } return 1; } diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.h b/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.h index e9abc0de5f..dc5731e40c 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_portuguese.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.c b/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.c index e6882e54f7..b1ddb3d3a9 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -586,15 +585,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 49 */ - int c1 = z->c; +/* repeat, line 49 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 50 */ if (z->c >= z->l || z->p[z->c + 0] >> 5 != 7 || !((67641858 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 6; else /* substring, line 50 */ among_var = find_among(z, a_0, 6); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 50 */ switch (among_var) { /* among, line 50 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_0); /* <-, line 51 */ if (ret < 0) return ret; @@ -634,17 +633,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 63 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 63 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 64 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 64 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 65 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 65 */ return 1; } @@ -661,7 +660,6 @@ static int r_attached_pronoun(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 72 */ - case 0: return 0; case 1: z->bra = z->c; /* ], line 73 */ { int ret = slice_from_s(z, 5, s_5); /* <-, line 73 */ @@ -716,7 +714,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 87 */ switch (among_var) { /* among, line 87 */ - case 0: return 0; case 1: { int ret = r_R2(z); /* call R2, line 99 */ if (ret <= 0) return ret; @@ -792,7 +789,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 125 */ - case 0: { z->c = z->l - m2; goto lab1; } case 1: z->ket = z->c; /* [, line 126 */ if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m2; goto lab1; } /* literal, line 126 */ @@ -820,20 +816,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m3 = z->l - z->c; (void)m3; /* try, line 136 */ z->ket = z->c; /* [, line 137 */ if (z->c - 3 <= z->lb || z->p[z->c - 1] != 101) { z->c = z->l - m3; goto lab2; } /* substring, line 137 */ - among_var = find_among_b(z, a_4, 3); - if (!(among_var)) { z->c = z->l - m3; goto lab2; } + if (!(find_among_b(z, a_4, 3))) { z->c = z->l - m3; goto lab2; } z->bra = z->c; /* ], line 137 */ - switch (among_var) { /* among, line 137 */ - case 0: { z->c = z->l - m3; goto lab2; } - case 1: - { int ret = r_R2(z); /* call R2, line 140 */ - if (ret == 0) { z->c = z->l - m3; goto lab2; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 140 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 140 */ + if (ret == 0) { z->c = z->l - m3; goto lab2; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 140 */ + if (ret < 0) return ret; } lab2: ; @@ -849,20 +839,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m4 = z->l - z->c; (void)m4; /* try, line 148 */ z->ket = z->c; /* [, line 149 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m4; goto lab3; } /* substring, line 149 */ - among_var = find_among_b(z, a_5, 3); - if (!(among_var)) { z->c = z->l - m4; goto lab3; } + if (!(find_among_b(z, a_5, 3))) { z->c = z->l - m4; goto lab3; } z->bra = z->c; /* ], line 149 */ - switch (among_var) { /* among, line 149 */ - case 0: { z->c = z->l - m4; goto lab3; } - case 1: - { int ret = r_R2(z); /* call R2, line 152 */ - if (ret == 0) { z->c = z->l - m4; goto lab3; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 152 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 152 */ + if (ret == 0) { z->c = z->l - m4; goto lab3; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 152 */ + if (ret < 0) return ret; } lab3: ; @@ -895,40 +879,29 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } static int r_y_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 168 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 168 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 168 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 168 */ - among_var = find_among_b(z, a_7, 12); /* substring, line 168 */ - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_7, 12))) { z->lb = mlimit1; return 0; } /* substring, line 168 */ z->bra = z->c; /* ], line 168 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 168 */ - case 0: return 0; - case 1: - if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0; /* literal, line 171 */ - z->c--; - { int ret = slice_del(z); /* delete, line 171 */ - if (ret < 0) return ret; - } - break; + if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0; /* literal, line 171 */ + z->c--; + { int ret = slice_del(z); /* delete, line 171 */ + if (ret < 0) return ret; } return 1; } static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 176 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 176 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 176 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 176 */ among_var = find_among_b(z, a_8, 96); /* substring, line 176 */ if (!(among_var)) { z->lb = mlimit1; return 0; } @@ -936,7 +909,6 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ z->lb = mlimit1; } switch (among_var) { /* among, line 176 */ - case 0: return 0; case 1: { int m2 = z->l - z->c; (void)m2; /* try, line 179 */ if (z->c <= z->lb || z->p[z->c - 1] != 'u') { z->c = z->l - m2; goto lab0; } /* literal, line 179 */ @@ -970,7 +942,6 @@ static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 205 */ switch (among_var) { /* among, line 205 */ - case 0: return 0; case 1: { int ret = r_RV(z); /* call RV, line 208 */ if (ret <= 0) return ret; @@ -1012,65 +983,55 @@ static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ } extern int spanish_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 216 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 216 */ - if (ret == 0) goto lab0; - if (ret < 0) return ret; - } - lab0: - z->c = c1; + /* do, line 216 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 216 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 217 */ - { int m2 = z->l - z->c; (void)m2; /* do, line 218 */ + { int m1 = z->l - z->c; (void)m1; /* do, line 218 */ { int ret = r_attached_pronoun(z); /* call attached_pronoun, line 218 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: - z->c = z->l - m2; + z->c = z->l - m1; } - { int m3 = z->l - z->c; (void)m3; /* do, line 219 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 219 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 219 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 219 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 219 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab2; if (ret < 0) return ret; } - goto lab3; - lab4: - z->c = z->l - m4; + goto lab1; + lab2: + z->c = z->l - m3; { int ret = r_y_verb_suffix(z); /* call y_verb_suffix, line 220 */ - if (ret == 0) goto lab5; + if (ret == 0) goto lab3; if (ret < 0) return ret; } - goto lab3; - lab5: - z->c = z->l - m4; + goto lab1; + lab3: + z->c = z->l - m3; { int ret = r_verb_suffix(z); /* call verb_suffix, line 221 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab3: - lab2: - z->c = z->l - m3; + lab1: + lab0: + z->c = z->l - m2; } - { int m5 = z->l - z->c; (void)m5; /* do, line 223 */ + { int m4 = z->l - z->c; (void)m4; /* do, line 223 */ { int ret = r_residual_suffix(z); /* call residual_suffix, line 223 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: - z->c = z->l - m5; + z->c = z->l - m4; } z->c = z->lb; - { int c6 = z->c; /* do, line 225 */ + { int c5 = z->c; /* do, line 225 */ { int ret = r_postlude(z); /* call postlude, line 225 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: - z->c = c6; + z->c = c5; } return 1; } diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.h b/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.h index 1e661aacfe..953fd19b20 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_spanish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.c b/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.c index 30e9512cfb..e3aa528996 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -164,7 +163,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 30 */ /* try, line 31 */ - if (!(z->I[0] < z->I[1])) goto lab0; /* $p1 < , line 31 */ + if (!(z->I[0] < z->I[1])) goto lab0; /* $( < ), line 31 */ z->I[0] = z->I[1]; /* $p1 = , line 31 */ lab0: return 1; @@ -172,12 +171,10 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 37 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 37 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 37 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 37 */ if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851442 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 37 */ among_var = find_among_b(z, a_0, 37); @@ -186,7 +183,6 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ z->lb = mlimit1; } switch (among_var) { /* among, line 38 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 44 */ if (ret < 0) return ret; @@ -203,12 +199,10 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ } static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 50 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 50 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 50 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; { int m2 = z->l - z->c; (void)m2; /* and, line 52 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1064976 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* among, line 51 */ if (!(find_among_b(z, a_1, 7))) { z->lb = mlimit1; return 0; } @@ -228,19 +222,16 @@ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 55 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 55 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 55 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 56 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 56 */ among_var = find_among_b(z, a_2, 5); if (!(among_var)) { z->lb = mlimit1; return 0; } z->bra = z->c; /* ], line 56 */ switch (among_var) { /* among, line 56 */ - case 0: { z->lb = mlimit1; return 0; } case 1: { int ret = slice_del(z); /* delete, line 57 */ if (ret < 0) return ret; @@ -265,36 +256,28 @@ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ extern int swedish_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 66 */ { int ret = r_mark_regions(z); /* call mark_regions, line 66 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } z->lb = z->c; z->c = z->l; /* backwards, line 67 */ { int m2 = z->l - z->c; (void)m2; /* do, line 68 */ { int ret = r_main_suffix(z); /* call main_suffix, line 68 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 69 */ { int ret = r_consonant_pair(z); /* call consonant_pair, line 69 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } { int m4 = z->l - z->c; (void)m4; /* do, line 70 */ { int ret = r_other_suffix(z); /* call other_suffix, line 70 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.h b/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.h index 5e6f6ac8af..f775fe10f7 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_1_swedish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.c b/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.c index 94756722df..adf1b639a2 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -123,7 +122,7 @@ static const symbol s_3_1[2] = { 'e', 'l' }; static const struct among a_3[2] = { /* 0 */ { 2, s_3_0, -1, 1, 0}, -/* 1 */ { 2, s_3_1, -1, 2, 0} +/* 1 */ { 2, s_3_1, -1, 1, 0} }; static const symbol s_4_0[2] = { 'b', 'a' }; @@ -227,7 +226,7 @@ static const struct among a_5[3] = { /* 0 */ { 2, s_5_0, -1, 2, 0}, /* 1 */ { 2, s_5_1, -1, 1, 0}, -/* 2 */ { 6, s_5_2, -1, 3, 0} +/* 2 */ { 6, s_5_2, -1, 2, 0} }; static const symbol s_6_0[4] = { 's', 't', 'u', 'l' }; @@ -239,12 +238,12 @@ static const symbol s_6_5[5] = { 0xE9, 's', 't', 0xFC, 'l' }; static const struct among a_6[6] = { -/* 0 */ { 4, s_6_0, -1, 2, 0}, +/* 0 */ { 4, s_6_0, -1, 1, 0}, /* 1 */ { 5, s_6_1, 0, 1, 0}, -/* 2 */ { 5, s_6_2, 0, 3, 0}, -/* 3 */ { 4, s_6_3, -1, 2, 0}, +/* 2 */ { 5, s_6_2, 0, 2, 0}, +/* 3 */ { 4, s_6_3, -1, 1, 0}, /* 4 */ { 5, s_6_4, 3, 1, 0}, -/* 5 */ { 5, s_6_5, 3, 4, 0} +/* 5 */ { 5, s_6_5, 3, 3, 0} }; static const symbol s_7_0[1] = { 0xE1 }; @@ -253,7 +252,7 @@ static const symbol s_7_1[1] = { 0xE9 }; static const struct among a_7[2] = { /* 0 */ { 1, s_7_0, -1, 1, 0}, -/* 1 */ { 1, s_7_1, -1, 2, 0} +/* 1 */ { 1, s_7_1, -1, 1, 0} }; static const symbol s_8_0[1] = { 'k' }; @@ -266,10 +265,10 @@ static const symbol s_8_6[2] = { 0xF6, 'k' }; static const struct among a_8[7] = { -/* 0 */ { 1, s_8_0, -1, 7, 0}, -/* 1 */ { 2, s_8_1, 0, 4, 0}, -/* 2 */ { 2, s_8_2, 0, 6, 0}, -/* 3 */ { 2, s_8_3, 0, 5, 0}, +/* 0 */ { 1, s_8_0, -1, 3, 0}, +/* 1 */ { 2, s_8_1, 0, 3, 0}, +/* 2 */ { 2, s_8_2, 0, 3, 0}, +/* 3 */ { 2, s_8_3, 0, 3, 0}, /* 4 */ { 2, s_8_4, 0, 1, 0}, /* 5 */ { 2, s_8_5, 0, 2, 0}, /* 6 */ { 2, s_8_6, 0, 3, 0} @@ -290,18 +289,18 @@ static const symbol s_9_11[2] = { 0xE9, 0xE9 }; static const struct among a_9[12] = { -/* 0 */ { 2, s_9_0, -1, 7, 0}, -/* 1 */ { 3, s_9_1, 0, 6, 0}, -/* 2 */ { 3, s_9_2, 0, 5, 0}, -/* 3 */ { 1, s_9_3, -1, 9, 0}, -/* 4 */ { 2, s_9_4, 3, 4, 0}, +/* 0 */ { 2, s_9_0, -1, 1, 0}, +/* 1 */ { 3, s_9_1, 0, 3, 0}, +/* 2 */ { 3, s_9_2, 0, 2, 0}, +/* 3 */ { 1, s_9_3, -1, 1, 0}, +/* 4 */ { 2, s_9_4, 3, 1, 0}, /* 5 */ { 3, s_9_5, 4, 1, 0}, /* 6 */ { 3, s_9_6, 4, 1, 0}, /* 7 */ { 3, s_9_7, 4, 1, 0}, /* 8 */ { 3, s_9_8, 4, 3, 0}, /* 9 */ { 3, s_9_9, 4, 2, 0}, /* 10 */ { 3, s_9_10, 4, 1, 0}, -/* 11 */ { 2, s_9_11, 3, 8, 0} +/* 11 */ { 2, s_9_11, 3, 2, 0} }; static const symbol s_10_0[1] = { 'a' }; @@ -338,37 +337,37 @@ static const symbol s_10_30[1] = { 0xE9 }; static const struct among a_10[31] = { -/* 0 */ { 1, s_10_0, -1, 18, 0}, -/* 1 */ { 2, s_10_1, 0, 17, 0}, -/* 2 */ { 1, s_10_2, -1, 16, 0}, -/* 3 */ { 2, s_10_3, 2, 13, 0}, -/* 4 */ { 2, s_10_4, 2, 13, 0}, -/* 5 */ { 2, s_10_5, 2, 13, 0}, -/* 6 */ { 2, s_10_6, 2, 14, 0}, -/* 7 */ { 2, s_10_7, 2, 15, 0}, -/* 8 */ { 2, s_10_8, 2, 13, 0}, -/* 9 */ { 1, s_10_9, -1, 18, 0}, -/* 10 */ { 2, s_10_10, 9, 17, 0}, -/* 11 */ { 2, s_10_11, -1, 4, 0}, +/* 0 */ { 1, s_10_0, -1, 1, 0}, +/* 1 */ { 2, s_10_1, 0, 1, 0}, +/* 2 */ { 1, s_10_2, -1, 1, 0}, +/* 3 */ { 2, s_10_3, 2, 1, 0}, +/* 4 */ { 2, s_10_4, 2, 1, 0}, +/* 5 */ { 2, s_10_5, 2, 1, 0}, +/* 6 */ { 2, s_10_6, 2, 2, 0}, +/* 7 */ { 2, s_10_7, 2, 3, 0}, +/* 8 */ { 2, s_10_8, 2, 1, 0}, +/* 9 */ { 1, s_10_9, -1, 1, 0}, +/* 10 */ { 2, s_10_10, 9, 1, 0}, +/* 11 */ { 2, s_10_11, -1, 1, 0}, /* 12 */ { 3, s_10_12, 11, 1, 0}, /* 13 */ { 3, s_10_13, 11, 2, 0}, /* 14 */ { 3, s_10_14, 11, 3, 0}, /* 15 */ { 3, s_10_15, 11, 1, 0}, -/* 16 */ { 2, s_10_16, -1, 8, 0}, -/* 17 */ { 3, s_10_17, 16, 7, 0}, -/* 18 */ { 4, s_10_18, 17, 5, 0}, -/* 19 */ { 2, s_10_19, -1, 8, 0}, -/* 20 */ { 3, s_10_20, 19, 7, 0}, -/* 21 */ { 4, s_10_21, 20, 6, 0}, -/* 22 */ { 1, s_10_22, -1, 12, 0}, -/* 23 */ { 2, s_10_23, 22, 9, 0}, -/* 24 */ { 2, s_10_24, 22, 9, 0}, -/* 25 */ { 2, s_10_25, 22, 9, 0}, -/* 26 */ { 2, s_10_26, 22, 10, 0}, -/* 27 */ { 2, s_10_27, 22, 11, 0}, -/* 28 */ { 1, s_10_28, -1, 18, 0}, -/* 29 */ { 1, s_10_29, -1, 19, 0}, -/* 30 */ { 1, s_10_30, -1, 20, 0} +/* 16 */ { 2, s_10_16, -1, 1, 0}, +/* 17 */ { 3, s_10_17, 16, 1, 0}, +/* 18 */ { 4, s_10_18, 17, 2, 0}, +/* 19 */ { 2, s_10_19, -1, 1, 0}, +/* 20 */ { 3, s_10_20, 19, 1, 0}, +/* 21 */ { 4, s_10_21, 20, 3, 0}, +/* 22 */ { 1, s_10_22, -1, 1, 0}, +/* 23 */ { 2, s_10_23, 22, 1, 0}, +/* 24 */ { 2, s_10_24, 22, 1, 0}, +/* 25 */ { 2, s_10_25, 22, 1, 0}, +/* 26 */ { 2, s_10_26, 22, 2, 0}, +/* 27 */ { 2, s_10_27, 22, 3, 0}, +/* 28 */ { 1, s_10_28, -1, 1, 0}, +/* 29 */ { 1, s_10_29, -1, 2, 0}, +/* 30 */ { 1, s_10_30, -1, 3, 0} }; static const symbol s_11_0[2] = { 'i', 'd' }; @@ -416,45 +415,45 @@ static const symbol s_11_41[3] = { 0xE9, 'i', 'm' }; static const struct among a_11[42] = { -/* 0 */ { 2, s_11_0, -1, 10, 0}, -/* 1 */ { 3, s_11_1, 0, 9, 0}, -/* 2 */ { 4, s_11_2, 1, 6, 0}, -/* 3 */ { 3, s_11_3, 0, 9, 0}, -/* 4 */ { 4, s_11_4, 3, 6, 0}, -/* 5 */ { 3, s_11_5, 0, 7, 0}, -/* 6 */ { 3, s_11_6, 0, 8, 0}, -/* 7 */ { 1, s_11_7, -1, 15, 0}, -/* 8 */ { 2, s_11_8, 7, 14, 0}, -/* 9 */ { 3, s_11_9, 8, 11, 0}, -/* 10 */ { 2, s_11_10, 7, 14, 0}, -/* 11 */ { 3, s_11_11, 10, 11, 0}, -/* 12 */ { 2, s_11_12, 7, 12, 0}, -/* 13 */ { 2, s_11_13, 7, 13, 0}, -/* 14 */ { 4, s_11_14, -1, 24, 0}, -/* 15 */ { 5, s_11_15, 14, 21, 0}, -/* 16 */ { 6, s_11_16, 15, 20, 0}, -/* 17 */ { 5, s_11_17, 14, 23, 0}, -/* 18 */ { 2, s_11_18, -1, 29, 0}, -/* 19 */ { 3, s_11_19, 18, 26, 0}, -/* 20 */ { 4, s_11_20, 19, 25, 0}, -/* 21 */ { 3, s_11_21, 18, 26, 0}, -/* 22 */ { 4, s_11_22, 21, 25, 0}, -/* 23 */ { 3, s_11_23, 18, 27, 0}, -/* 24 */ { 3, s_11_24, 18, 28, 0}, -/* 25 */ { 3, s_11_25, -1, 20, 0}, -/* 26 */ { 4, s_11_26, 25, 17, 0}, -/* 27 */ { 5, s_11_27, 26, 16, 0}, -/* 28 */ { 4, s_11_28, 25, 17, 0}, -/* 29 */ { 5, s_11_29, 28, 16, 0}, -/* 30 */ { 4, s_11_30, 25, 18, 0}, -/* 31 */ { 4, s_11_31, 25, 19, 0}, -/* 32 */ { 5, s_11_32, -1, 21, 0}, -/* 33 */ { 6, s_11_33, 32, 20, 0}, -/* 34 */ { 5, s_11_34, -1, 22, 0}, -/* 35 */ { 2, s_11_35, -1, 5, 0}, -/* 36 */ { 3, s_11_36, 35, 4, 0}, +/* 0 */ { 2, s_11_0, -1, 1, 0}, +/* 1 */ { 3, s_11_1, 0, 1, 0}, +/* 2 */ { 4, s_11_2, 1, 1, 0}, +/* 3 */ { 3, s_11_3, 0, 1, 0}, +/* 4 */ { 4, s_11_4, 3, 1, 0}, +/* 5 */ { 3, s_11_5, 0, 2, 0}, +/* 6 */ { 3, s_11_6, 0, 3, 0}, +/* 7 */ { 1, s_11_7, -1, 1, 0}, +/* 8 */ { 2, s_11_8, 7, 1, 0}, +/* 9 */ { 3, s_11_9, 8, 1, 0}, +/* 10 */ { 2, s_11_10, 7, 1, 0}, +/* 11 */ { 3, s_11_11, 10, 1, 0}, +/* 12 */ { 2, s_11_12, 7, 2, 0}, +/* 13 */ { 2, s_11_13, 7, 3, 0}, +/* 14 */ { 4, s_11_14, -1, 1, 0}, +/* 15 */ { 5, s_11_15, 14, 1, 0}, +/* 16 */ { 6, s_11_16, 15, 1, 0}, +/* 17 */ { 5, s_11_17, 14, 3, 0}, +/* 18 */ { 2, s_11_18, -1, 1, 0}, +/* 19 */ { 3, s_11_19, 18, 1, 0}, +/* 20 */ { 4, s_11_20, 19, 1, 0}, +/* 21 */ { 3, s_11_21, 18, 1, 0}, +/* 22 */ { 4, s_11_22, 21, 1, 0}, +/* 23 */ { 3, s_11_23, 18, 2, 0}, +/* 24 */ { 3, s_11_24, 18, 3, 0}, +/* 25 */ { 3, s_11_25, -1, 1, 0}, +/* 26 */ { 4, s_11_26, 25, 1, 0}, +/* 27 */ { 5, s_11_27, 26, 1, 0}, +/* 28 */ { 4, s_11_28, 25, 1, 0}, +/* 29 */ { 5, s_11_29, 28, 1, 0}, +/* 30 */ { 4, s_11_30, 25, 2, 0}, +/* 31 */ { 4, s_11_31, 25, 3, 0}, +/* 32 */ { 5, s_11_32, -1, 1, 0}, +/* 33 */ { 6, s_11_33, 32, 1, 0}, +/* 34 */ { 5, s_11_34, -1, 2, 0}, +/* 35 */ { 2, s_11_35, -1, 1, 0}, +/* 36 */ { 3, s_11_36, 35, 1, 0}, /* 37 */ { 4, s_11_37, 36, 1, 0}, -/* 38 */ { 3, s_11_38, 35, 4, 0}, +/* 38 */ { 3, s_11_38, 35, 1, 0}, /* 39 */ { 4, s_11_39, 38, 1, 0}, /* 40 */ { 3, s_11_40, 35, 2, 0}, /* 41 */ { 3, s_11_41, 35, 3, 0} @@ -467,37 +466,15 @@ static const symbol s_1[] = { 'e' }; static const symbol s_2[] = { 'e' }; static const symbol s_3[] = { 'a' }; static const symbol s_4[] = { 'a' }; -static const symbol s_5[] = { 'a' }; -static const symbol s_6[] = { 'e' }; -static const symbol s_7[] = { 'a' }; +static const symbol s_5[] = { 'e' }; +static const symbol s_6[] = { 'a' }; +static const symbol s_7[] = { 'e' }; static const symbol s_8[] = { 'e' }; -static const symbol s_9[] = { 'e' }; +static const symbol s_9[] = { 'a' }; static const symbol s_10[] = { 'a' }; static const symbol s_11[] = { 'e' }; static const symbol s_12[] = { 'a' }; static const symbol s_13[] = { 'e' }; -static const symbol s_14[] = { 'a' }; -static const symbol s_15[] = { 'e' }; -static const symbol s_16[] = { 'a' }; -static const symbol s_17[] = { 'e' }; -static const symbol s_18[] = { 'a' }; -static const symbol s_19[] = { 'e' }; -static const symbol s_20[] = { 'a' }; -static const symbol s_21[] = { 'e' }; -static const symbol s_22[] = { 'a' }; -static const symbol s_23[] = { 'e' }; -static const symbol s_24[] = { 'a' }; -static const symbol s_25[] = { 'e' }; -static const symbol s_26[] = { 'a' }; -static const symbol s_27[] = { 'e' }; -static const symbol s_28[] = { 'a' }; -static const symbol s_29[] = { 'e' }; -static const symbol s_30[] = { 'a' }; -static const symbol s_31[] = { 'e' }; -static const symbol s_32[] = { 'a' }; -static const symbol s_33[] = { 'e' }; -static const symbol s_34[] = { 'a' }; -static const symbol s_35[] = { 'e' }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ z->I[0] = z->l; /* $p1 = , line 46 */ @@ -531,7 +508,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 58 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 58 */ return 1; } @@ -546,7 +523,6 @@ static int r_v_ending(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 61 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 1, s_0); /* <-, line 62 */ if (ret < 0) return ret; @@ -586,27 +562,15 @@ static int r_undouble(struct SN_env * z) { /* backwardmode */ } static int r_instrum(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 77 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] != 108) return 0; /* substring, line 77 */ - among_var = find_among_b(z, a_3, 2); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_3, 2))) return 0; z->bra = z->c; /* ], line 77 */ { int ret = r_R1(z); /* call R1, line 77 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 77 */ - case 0: return 0; - case 1: - { int ret = r_double(z); /* call double, line 78 */ - if (ret <= 0) return ret; - } - break; - case 2: - { int ret = r_double(z); /* call double, line 79 */ - if (ret <= 0) return ret; - } - break; + { int ret = r_double(z); /* call double, line 78 */ + if (ret <= 0) return ret; } { int ret = slice_del(z); /* delete, line 81 */ if (ret < 0) return ret; @@ -644,7 +608,6 @@ static int r_case_special(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 116 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 1, s_2); /* <-, line 117 */ if (ret < 0) return ret; @@ -655,11 +618,6 @@ static int r_case_special(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } break; - case 3: - { int ret = slice_from_s(z, 1, s_4); /* <-, line 119 */ - if (ret < 0) return ret; - } - break; } return 1; } @@ -675,24 +633,18 @@ static int r_case_other(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 124 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 125 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 126 */ + { int ret = slice_from_s(z, 1, s_4); /* <-, line 127 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_5); /* <-, line 127 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_from_s(z, 1, s_6); /* <-, line 128 */ + { int ret = slice_from_s(z, 1, s_5); /* <-, line 128 */ if (ret < 0) return ret; } break; @@ -701,27 +653,15 @@ static int r_case_other(struct SN_env * z) { /* backwardmode */ } static int r_factive(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 133 */ if (z->c <= z->lb || (z->p[z->c - 1] != 225 && z->p[z->c - 1] != 233)) return 0; /* substring, line 133 */ - among_var = find_among_b(z, a_7, 2); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_7, 2))) return 0; z->bra = z->c; /* ], line 133 */ { int ret = r_R1(z); /* call R1, line 133 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 133 */ - case 0: return 0; - case 1: - { int ret = r_double(z); /* call double, line 134 */ - if (ret <= 0) return ret; - } - break; - case 2: - { int ret = r_double(z); /* call double, line 135 */ - if (ret <= 0) return ret; - } - break; + { int ret = r_double(z); /* call double, line 134 */ + if (ret <= 0) return ret; } { int ret = slice_del(z); /* delete, line 137 */ if (ret < 0) return ret; @@ -743,14 +683,13 @@ static int r_plural(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 142 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 1, s_7); /* <-, line 143 */ + { int ret = slice_from_s(z, 1, s_6); /* <-, line 143 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_8); /* <-, line 144 */ + { int ret = slice_from_s(z, 1, s_7); /* <-, line 144 */ if (ret < 0) return ret; } break; @@ -759,26 +698,6 @@ static int r_plural(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } break; - case 4: - { int ret = slice_del(z); /* delete, line 146 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_del(z); /* delete, line 147 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_del(z); /* delete, line 148 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_del(z); /* delete, line 149 */ - if (ret < 0) return ret; - } - break; } return 1; } @@ -794,49 +713,18 @@ static int r_owned(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 154 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 155 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_9); /* <-, line 156 */ + { int ret = slice_from_s(z, 1, s_8); /* <-, line 156 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_10); /* <-, line 157 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_del(z); /* delete, line 158 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_from_s(z, 1, s_11); /* <-, line 159 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_from_s(z, 1, s_12); /* <-, line 160 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_del(z); /* delete, line 161 */ - if (ret < 0) return ret; - } - break; - case 8: - { int ret = slice_from_s(z, 1, s_13); /* <-, line 162 */ - if (ret < 0) return ret; - } - break; - case 9: - { int ret = slice_del(z); /* delete, line 163 */ + { int ret = slice_from_s(z, 1, s_9); /* <-, line 157 */ if (ret < 0) return ret; } break; @@ -854,104 +742,18 @@ static int r_sing_owner(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 168 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 169 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_14); /* <-, line 170 */ + { int ret = slice_from_s(z, 1, s_10); /* <-, line 170 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_15); /* <-, line 171 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_del(z); /* delete, line 172 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_from_s(z, 1, s_16); /* <-, line 173 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_from_s(z, 1, s_17); /* <-, line 174 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_del(z); /* delete, line 175 */ - if (ret < 0) return ret; - } - break; - case 8: - { int ret = slice_del(z); /* delete, line 176 */ - if (ret < 0) return ret; - } - break; - case 9: - { int ret = slice_del(z); /* delete, line 177 */ - if (ret < 0) return ret; - } - break; - case 10: - { int ret = slice_from_s(z, 1, s_18); /* <-, line 178 */ - if (ret < 0) return ret; - } - break; - case 11: - { int ret = slice_from_s(z, 1, s_19); /* <-, line 179 */ - if (ret < 0) return ret; - } - break; - case 12: - { int ret = slice_del(z); /* delete, line 180 */ - if (ret < 0) return ret; - } - break; - case 13: - { int ret = slice_del(z); /* delete, line 181 */ - if (ret < 0) return ret; - } - break; - case 14: - { int ret = slice_from_s(z, 1, s_20); /* <-, line 182 */ - if (ret < 0) return ret; - } - break; - case 15: - { int ret = slice_from_s(z, 1, s_21); /* <-, line 183 */ - if (ret < 0) return ret; - } - break; - case 16: - { int ret = slice_del(z); /* delete, line 184 */ - if (ret < 0) return ret; - } - break; - case 17: - { int ret = slice_del(z); /* delete, line 185 */ - if (ret < 0) return ret; - } - break; - case 18: - { int ret = slice_del(z); /* delete, line 186 */ - if (ret < 0) return ret; - } - break; - case 19: - { int ret = slice_from_s(z, 1, s_22); /* <-, line 187 */ - if (ret < 0) return ret; - } - break; - case 20: - { int ret = slice_from_s(z, 1, s_23); /* <-, line 188 */ + { int ret = slice_from_s(z, 1, s_11); /* <-, line 171 */ if (ret < 0) return ret; } break; @@ -970,149 +772,18 @@ static int r_plur_owner(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 193 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 194 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_24); /* <-, line 195 */ + { int ret = slice_from_s(z, 1, s_12); /* <-, line 195 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_25); /* <-, line 196 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_del(z); /* delete, line 197 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_del(z); /* delete, line 198 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_del(z); /* delete, line 199 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_from_s(z, 1, s_26); /* <-, line 200 */ - if (ret < 0) return ret; - } - break; - case 8: - { int ret = slice_from_s(z, 1, s_27); /* <-, line 201 */ - if (ret < 0) return ret; - } - break; - case 9: - { int ret = slice_del(z); /* delete, line 202 */ - if (ret < 0) return ret; - } - break; - case 10: - { int ret = slice_del(z); /* delete, line 203 */ - if (ret < 0) return ret; - } - break; - case 11: - { int ret = slice_del(z); /* delete, line 204 */ - if (ret < 0) return ret; - } - break; - case 12: - { int ret = slice_from_s(z, 1, s_28); /* <-, line 205 */ - if (ret < 0) return ret; - } - break; - case 13: - { int ret = slice_from_s(z, 1, s_29); /* <-, line 206 */ - if (ret < 0) return ret; - } - break; - case 14: - { int ret = slice_del(z); /* delete, line 207 */ - if (ret < 0) return ret; - } - break; - case 15: - { int ret = slice_del(z); /* delete, line 208 */ - if (ret < 0) return ret; - } - break; - case 16: - { int ret = slice_del(z); /* delete, line 209 */ - if (ret < 0) return ret; - } - break; - case 17: - { int ret = slice_del(z); /* delete, line 210 */ - if (ret < 0) return ret; - } - break; - case 18: - { int ret = slice_from_s(z, 1, s_30); /* <-, line 211 */ - if (ret < 0) return ret; - } - break; - case 19: - { int ret = slice_from_s(z, 1, s_31); /* <-, line 212 */ - if (ret < 0) return ret; - } - break; - case 20: - { int ret = slice_del(z); /* delete, line 214 */ - if (ret < 0) return ret; - } - break; - case 21: - { int ret = slice_del(z); /* delete, line 215 */ - if (ret < 0) return ret; - } - break; - case 22: - { int ret = slice_from_s(z, 1, s_32); /* <-, line 216 */ - if (ret < 0) return ret; - } - break; - case 23: - { int ret = slice_from_s(z, 1, s_33); /* <-, line 217 */ - if (ret < 0) return ret; - } - break; - case 24: - { int ret = slice_del(z); /* delete, line 218 */ - if (ret < 0) return ret; - } - break; - case 25: - { int ret = slice_del(z); /* delete, line 219 */ - if (ret < 0) return ret; - } - break; - case 26: - { int ret = slice_del(z); /* delete, line 220 */ - if (ret < 0) return ret; - } - break; - case 27: - { int ret = slice_from_s(z, 1, s_34); /* <-, line 221 */ - if (ret < 0) return ret; - } - break; - case 28: - { int ret = slice_from_s(z, 1, s_35); /* <-, line 222 */ - if (ret < 0) return ret; - } - break; - case 29: - { int ret = slice_del(z); /* delete, line 223 */ + { int ret = slice_from_s(z, 1, s_13); /* <-, line 196 */ if (ret < 0) return ret; } break; @@ -1123,84 +794,64 @@ static int r_plur_owner(struct SN_env * z) { /* backwardmode */ extern int hungarian_ISO_8859_2_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 229 */ { int ret = r_mark_regions(z); /* call mark_regions, line 229 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } z->lb = z->c; z->c = z->l; /* backwards, line 230 */ { int m2 = z->l - z->c; (void)m2; /* do, line 231 */ { int ret = r_instrum(z); /* call instrum, line 231 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 232 */ { int ret = r_case(z); /* call case, line 232 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } { int m4 = z->l - z->c; (void)m4; /* do, line 233 */ { int ret = r_case_special(z); /* call case_special, line 233 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } { int m5 = z->l - z->c; (void)m5; /* do, line 234 */ { int ret = r_case_other(z); /* call case_other, line 234 */ - if (ret == 0) goto lab4; if (ret < 0) return ret; } - lab4: z->c = z->l - m5; } { int m6 = z->l - z->c; (void)m6; /* do, line 235 */ { int ret = r_factive(z); /* call factive, line 235 */ - if (ret == 0) goto lab5; if (ret < 0) return ret; } - lab5: z->c = z->l - m6; } { int m7 = z->l - z->c; (void)m7; /* do, line 236 */ { int ret = r_owned(z); /* call owned, line 236 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: z->c = z->l - m7; } { int m8 = z->l - z->c; (void)m8; /* do, line 237 */ { int ret = r_sing_owner(z); /* call sing_owner, line 237 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: z->c = z->l - m8; } { int m9 = z->l - z->c; (void)m9; /* do, line 238 */ { int ret = r_plur_owner(z); /* call plur_owner, line 238 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: z->c = z->l - m9; } { int m10 = z->l - z->c; (void)m10; /* do, line 239 */ { int ret = r_plural(z); /* call plural, line 239 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: z->c = z->l - m10; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.h b/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.h index c019a7d456..4a13910ae8 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_2_hungarian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.c b/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.c index 302f688854..80709f0a57 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.c +++ b/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -537,8 +536,9 @@ static const symbol s_17[] = { 't' }; static const symbol s_18[] = { 'i', 's', 't' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ - while(1) { /* repeat, line 32 */ - int c1 = z->c; +/* repeat, line 32 */ + + while(1) { int c1 = z->c; while(1) { /* goto, line 32 */ int c2 = z->c; if (in_grouping(z, g_v, 97, 238, 0)) goto lab1; /* grouping v, line 33 */ @@ -660,15 +660,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 56 */ - int c1 = z->c; +/* repeat, line 56 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 58 */ if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else /* substring, line 58 */ among_var = find_among(z, a_0, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 58 */ switch (among_var) { /* among, line 58 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_2); /* <-, line 59 */ if (ret < 0) return ret; @@ -693,17 +693,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 68 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 68 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 69 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 69 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 70 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 70 */ return 1; } @@ -718,7 +718,6 @@ static int r_step_0(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 73 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 75 */ if (ret < 0) return ret; @@ -775,7 +774,6 @@ static int r_combo_suffix(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 93 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 4, s_11); /* <-, line 101 */ if (ret < 0) return ret; @@ -816,8 +814,9 @@ static int r_combo_suffix(struct SN_env * z) { /* backwardmode */ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ int among_var; z->B[0] = 0; /* unset standard_suffix_removed, line 130 */ - while(1) { /* repeat, line 131 */ - int m1 = z->l - z->c; (void)m1; +/* repeat, line 131 */ + + while(1) { int m1 = z->l - z->c; (void)m1; { int ret = r_combo_suffix(z); /* call combo_suffix, line 131 */ if (ret == 0) goto lab0; if (ret < 0) return ret; @@ -835,7 +834,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 133 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 149 */ if (ret < 0) return ret; @@ -861,18 +859,15 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 164 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 164 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 164 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 165 */ among_var = find_among_b(z, a_4, 94); /* substring, line 165 */ if (!(among_var)) { z->lb = mlimit1; return 0; } z->bra = z->c; /* ], line 165 */ switch (among_var) { /* among, line 165 */ - case 0: { z->lb = mlimit1; return 0; } case 1: { int m2 = z->l - z->c; (void)m2; /* or, line 200 */ if (out_grouping_b(z, g_v, 97, 238, 0)) goto lab1; /* non v, line 200 */ @@ -899,21 +894,14 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ } static int r_vowel_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 219 */ - among_var = find_among_b(z, a_5, 5); /* substring, line 219 */ - if (!(among_var)) return 0; + if (!(find_among_b(z, a_5, 5))) return 0; /* substring, line 219 */ z->bra = z->c; /* ], line 219 */ { int ret = r_RV(z); /* call RV, line 219 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 219 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 220 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 220 */ + if (ret < 0) return ret; } return 1; } @@ -921,69 +909,55 @@ static int r_vowel_suffix(struct SN_env * z) { /* backwardmode */ extern int romanian_ISO_8859_2_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 226 */ { int ret = r_prelude(z); /* call prelude, line 226 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 227 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 227 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 227 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 227 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 228 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 229 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 229 */ { int ret = r_step_0(z); /* call step_0, line 229 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: - z->c = z->l - m3; + z->c = z->l - m2; } - { int m4 = z->l - z->c; (void)m4; /* do, line 230 */ + { int m3 = z->l - z->c; (void)m3; /* do, line 230 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 230 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: - z->c = z->l - m4; + z->c = z->l - m3; } - { int m5 = z->l - z->c; (void)m5; /* do, line 231 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 231 */ - if (!(z->B[0])) goto lab6; /* Boolean test standard_suffix_removed, line 231 */ - goto lab5; - lab6: - z->c = z->l - m6; + { int m4 = z->l - z->c; (void)m4; /* do, line 231 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 231 */ + if (!(z->B[0])) goto lab2; /* Boolean test standard_suffix_removed, line 231 */ + goto lab1; + lab2: + z->c = z->l - m5; { int ret = r_verb_suffix(z); /* call verb_suffix, line 231 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab5: - lab4: - z->c = z->l - m5; + lab1: + lab0: + z->c = z->l - m4; } - { int m7 = z->l - z->c; (void)m7; /* do, line 232 */ + { int m6 = z->l - z->c; (void)m6; /* do, line 232 */ { int ret = r_vowel_suffix(z); /* call vowel_suffix, line 232 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: - z->c = z->l - m7; + z->c = z->l - m6; } z->c = z->lb; - { int c8 = z->c; /* do, line 234 */ + { int c7 = z->c; /* do, line 234 */ { int ret = r_postlude(z); /* call postlude, line 234 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: - z->c = c8; + z->c = c7; } return 1; } diff --git a/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.h b/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.h index ef9bd3f3a4..d266e2d384 100644 --- a/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.h +++ b/src/dep/snowball/src_c/stem_ISO_8859_2_romanian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_KOI8_R_russian.c b/src/dep/snowball/src_c/stem_KOI8_R_russian.c index 662b58aa07..c0e9739e3c 100644 --- a/src/dep/snowball/src_c/stem_KOI8_R_russian.c +++ b/src/dep/snowball/src_c/stem_KOI8_R_russian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -340,6 +339,7 @@ static const struct among a_7[4] = static const unsigned char g_v[] = { 35, 130, 34, 18 }; +static const symbol s_0[] = { 0xC5 }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ z->I[0] = z->l; /* $pV = , line 61 */ @@ -374,7 +374,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 71 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 71 */ return 1; } @@ -386,7 +386,6 @@ static int r_perfective_gerund(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 74 */ switch (among_var) { /* among, line 74 */ - case 0: return 0; case 1: { int m1 = z->l - z->c; (void)m1; /* or, line 78 */ if (z->c <= z->lb || z->p[z->c - 1] != 0xC1) goto lab1; /* literal, line 78 */ @@ -412,19 +411,12 @@ static int r_perfective_gerund(struct SN_env * z) { /* backwardmode */ } static int r_adjective(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 90 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 6 || !((2271009 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 90 */ - among_var = find_among_b(z, a_1, 26); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_1, 26))) return 0; z->bra = z->c; /* ], line 90 */ - switch (among_var) { /* among, line 90 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 99 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 99 */ + if (ret < 0) return ret; } return 1; } @@ -441,7 +433,6 @@ static int r_adjectival(struct SN_env * z) { /* backwardmode */ if (!(among_var)) { z->c = z->l - m1; goto lab0; } z->bra = z->c; /* ], line 112 */ switch (among_var) { /* among, line 112 */ - case 0: { z->c = z->l - m1; goto lab0; } case 1: { int m2 = z->l - z->c; (void)m2; /* or, line 117 */ if (z->c <= z->lb || z->p[z->c - 1] != 0xC1) goto lab2; /* literal, line 117 */ @@ -470,19 +461,12 @@ static int r_adjectival(struct SN_env * z) { /* backwardmode */ } static int r_reflexive(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 131 */ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 209 && z->p[z->c - 1] != 216)) return 0; /* substring, line 131 */ - among_var = find_among_b(z, a_3, 2); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_3, 2))) return 0; z->bra = z->c; /* ], line 131 */ - switch (among_var) { /* among, line 131 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 134 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 134 */ + if (ret < 0) return ret; } return 1; } @@ -495,7 +479,6 @@ static int r_verb(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 139 */ switch (among_var) { /* among, line 139 */ - case 0: return 0; case 1: { int m1 = z->l - z->c; (void)m1; /* or, line 145 */ if (z->c <= z->lb || z->p[z->c - 1] != 0xC1) goto lab1; /* literal, line 145 */ @@ -521,40 +504,26 @@ static int r_verb(struct SN_env * z) { /* backwardmode */ } static int r_noun(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 162 */ if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 6 || !((60991267 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 162 */ - among_var = find_among_b(z, a_5, 36); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_5, 36))) return 0; z->bra = z->c; /* ], line 162 */ - switch (among_var) { /* among, line 162 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 169 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 169 */ + if (ret < 0) return ret; } return 1; } static int r_derivational(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 178 */ if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 212 && z->p[z->c - 1] != 216)) return 0; /* substring, line 178 */ - among_var = find_among_b(z, a_6, 2); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_6, 2))) return 0; z->bra = z->c; /* ], line 178 */ { int ret = r_R2(z); /* call R2, line 178 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 178 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 181 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 181 */ + if (ret < 0) return ret; } return 1; } @@ -567,7 +536,6 @@ static int r_tidy_up(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 186 */ switch (among_var) { /* among, line 186 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 190 */ if (ret < 0) return ret; @@ -599,94 +567,111 @@ static int r_tidy_up(struct SN_env * z) { /* backwardmode */ } extern int russian_KOI8_R_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 203 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 203 */ - if (ret == 0) goto lab0; - if (ret < 0) return ret; + { int c1 = z->c; /* do, line 205 */ +/* repeat, line 205 */ + + while(1) { int c2 = z->c; + while(1) { /* goto, line 205 */ + int c3 = z->c; + z->bra = z->c; /* [, line 205 */ + if (z->c == z->l || z->p[z->c] != 0xA3) goto lab2; /* literal, line 205 */ + z->c++; + z->ket = z->c; /* ], line 205 */ + z->c = c3; + break; + lab2: + z->c = c3; + if (z->c >= z->l) goto lab1; + z->c++; /* goto, line 205 */ + } + { int ret = slice_from_s(z, 1, s_0); /* <-, line 205 */ + if (ret < 0) return ret; + } + continue; + lab1: + z->c = c2; + break; } - lab0: z->c = c1; } - z->lb = z->c; z->c = z->l; /* backwards, line 204 */ + /* do, line 207 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 207 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 208 */ + - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 204 */ - int mlimit2; + { int mlimit4; /* setlimit, line 208 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 204 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; - { int m3 = z->l - z->c; (void)m3; /* do, line 205 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 206 */ - { int ret = r_perfective_gerund(z); /* call perfective_gerund, line 206 */ - if (ret == 0) goto lab3; + mlimit4 = z->lb; z->lb = z->I[0]; + { int m5 = z->l - z->c; (void)m5; /* do, line 209 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 210 */ + { int ret = r_perfective_gerund(z); /* call perfective_gerund, line 210 */ + if (ret == 0) goto lab5; if (ret < 0) return ret; } - goto lab2; - lab3: - z->c = z->l - m4; - { int m5 = z->l - z->c; (void)m5; /* try, line 207 */ - { int ret = r_reflexive(z); /* call reflexive, line 207 */ - if (ret == 0) { z->c = z->l - m5; goto lab4; } + goto lab4; + lab5: + z->c = z->l - m6; + { int m7 = z->l - z->c; (void)m7; /* try, line 211 */ + { int ret = r_reflexive(z); /* call reflexive, line 211 */ + if (ret == 0) { z->c = z->l - m7; goto lab6; } if (ret < 0) return ret; } - lab4: + lab6: ; } - { int m6 = z->l - z->c; (void)m6; /* or, line 208 */ - { int ret = r_adjectival(z); /* call adjectival, line 208 */ - if (ret == 0) goto lab6; + { int m8 = z->l - z->c; (void)m8; /* or, line 212 */ + { int ret = r_adjectival(z); /* call adjectival, line 212 */ + if (ret == 0) goto lab8; if (ret < 0) return ret; } - goto lab5; - lab6: - z->c = z->l - m6; - { int ret = r_verb(z); /* call verb, line 208 */ - if (ret == 0) goto lab7; + goto lab7; + lab8: + z->c = z->l - m8; + { int ret = r_verb(z); /* call verb, line 212 */ + if (ret == 0) goto lab9; if (ret < 0) return ret; } - goto lab5; - lab7: - z->c = z->l - m6; - { int ret = r_noun(z); /* call noun, line 208 */ - if (ret == 0) goto lab1; + goto lab7; + lab9: + z->c = z->l - m8; + { int ret = r_noun(z); /* call noun, line 212 */ + if (ret == 0) goto lab3; if (ret < 0) return ret; } } - lab5: + lab7: ; } - lab2: - lab1: - z->c = z->l - m3; + lab4: + lab3: + z->c = z->l - m5; } - { int m7 = z->l - z->c; (void)m7; /* try, line 211 */ - z->ket = z->c; /* [, line 211 */ - if (z->c <= z->lb || z->p[z->c - 1] != 0xC9) { z->c = z->l - m7; goto lab8; } /* literal, line 211 */ + { int m9 = z->l - z->c; (void)m9; /* try, line 215 */ + z->ket = z->c; /* [, line 215 */ + if (z->c <= z->lb || z->p[z->c - 1] != 0xC9) { z->c = z->l - m9; goto lab10; } /* literal, line 215 */ z->c--; - z->bra = z->c; /* ], line 211 */ - { int ret = slice_del(z); /* delete, line 211 */ + z->bra = z->c; /* ], line 215 */ + { int ret = slice_del(z); /* delete, line 215 */ if (ret < 0) return ret; } - lab8: + lab10: ; } - { int m8 = z->l - z->c; (void)m8; /* do, line 214 */ - { int ret = r_derivational(z); /* call derivational, line 214 */ - if (ret == 0) goto lab9; + { int m10 = z->l - z->c; (void)m10; /* do, line 218 */ + { int ret = r_derivational(z); /* call derivational, line 218 */ if (ret < 0) return ret; } - lab9: - z->c = z->l - m8; + z->c = z->l - m10; } - { int m9 = z->l - z->c; (void)m9; /* do, line 215 */ - { int ret = r_tidy_up(z); /* call tidy_up, line 215 */ - if (ret == 0) goto lab10; + { int m11 = z->l - z->c; (void)m11; /* do, line 219 */ + { int ret = r_tidy_up(z); /* call tidy_up, line 219 */ if (ret < 0) return ret; } - lab10: - z->c = z->l - m9; + z->c = z->l - m11; } - z->lb = mlimit2; + z->lb = mlimit4; } z->c = z->lb; return 1; diff --git a/src/dep/snowball/src_c/stem_KOI8_R_russian.h b/src/dep/snowball/src_c/stem_KOI8_R_russian.h index cc58324c66..454c46cf42 100644 --- a/src/dep/snowball/src_c/stem_KOI8_R_russian.h +++ b/src/dep/snowball/src_c/stem_KOI8_R_russian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_arabic.c b/src/dep/snowball/src_c/stem_UTF_8_arabic.c index 73621ae11f..adb76e2f32 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_arabic.c +++ b/src/dep/snowball/src_c/stem_UTF_8_arabic.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -43,331 +42,297 @@ extern void arabic_UTF_8_close_env(struct SN_env * z); #ifdef __cplusplus } #endif -static const symbol s_0_0[1] = { '!' }; -static const symbol s_0_1[1] = { '"' }; -static const symbol s_0_2[1] = { '%' }; -static const symbol s_0_3[1] = { '*' }; -static const symbol s_0_4[1] = { ',' }; -static const symbol s_0_5[1] = { '.' }; -static const symbol s_0_6[1] = { '/' }; -static const symbol s_0_7[1] = { ':' }; -static const symbol s_0_8[1] = { ';' }; -static const symbol s_0_9[1] = { '?' }; -static const symbol s_0_10[1] = { '\\' }; -static const symbol s_0_11[2] = { 0xD8, 0x8C }; -static const symbol s_0_12[2] = { 0xD8, 0x9B }; -static const symbol s_0_13[2] = { 0xD8, 0x9F }; -static const symbol s_0_14[2] = { 0xD9, 0x80 }; -static const symbol s_0_15[2] = { 0xD9, 0x8B }; -static const symbol s_0_16[2] = { 0xD9, 0x8C }; -static const symbol s_0_17[2] = { 0xD9, 0x8D }; -static const symbol s_0_18[2] = { 0xD9, 0x8E }; -static const symbol s_0_19[2] = { 0xD9, 0x8F }; -static const symbol s_0_20[2] = { 0xD9, 0x90 }; -static const symbol s_0_21[2] = { 0xD9, 0x91 }; -static const symbol s_0_22[2] = { 0xD9, 0x92 }; -static const symbol s_0_23[2] = { 0xD9, 0xA0 }; -static const symbol s_0_24[2] = { 0xD9, 0xA1 }; -static const symbol s_0_25[2] = { 0xD9, 0xA2 }; -static const symbol s_0_26[2] = { 0xD9, 0xA3 }; -static const symbol s_0_27[2] = { 0xD9, 0xA4 }; -static const symbol s_0_28[2] = { 0xD9, 0xA5 }; -static const symbol s_0_29[2] = { 0xD9, 0xA6 }; -static const symbol s_0_30[2] = { 0xD9, 0xA7 }; -static const symbol s_0_31[2] = { 0xD9, 0xA8 }; -static const symbol s_0_32[2] = { 0xD9, 0xA9 }; -static const symbol s_0_33[2] = { 0xD9, 0xAA }; -static const symbol s_0_34[2] = { 0xD9, 0xAB }; -static const symbol s_0_35[2] = { 0xD9, 0xAC }; -static const symbol s_0_36[3] = { 0xEF, 0xBA, 0x80 }; -static const symbol s_0_37[3] = { 0xEF, 0xBA, 0x81 }; -static const symbol s_0_38[3] = { 0xEF, 0xBA, 0x82 }; -static const symbol s_0_39[3] = { 0xEF, 0xBA, 0x83 }; -static const symbol s_0_40[3] = { 0xEF, 0xBA, 0x84 }; -static const symbol s_0_41[3] = { 0xEF, 0xBA, 0x85 }; -static const symbol s_0_42[3] = { 0xEF, 0xBA, 0x86 }; -static const symbol s_0_43[3] = { 0xEF, 0xBA, 0x87 }; -static const symbol s_0_44[3] = { 0xEF, 0xBA, 0x88 }; -static const symbol s_0_45[3] = { 0xEF, 0xBA, 0x89 }; -static const symbol s_0_46[3] = { 0xEF, 0xBA, 0x8A }; -static const symbol s_0_47[3] = { 0xEF, 0xBA, 0x8B }; -static const symbol s_0_48[3] = { 0xEF, 0xBA, 0x8C }; -static const symbol s_0_49[3] = { 0xEF, 0xBA, 0x8D }; -static const symbol s_0_50[3] = { 0xEF, 0xBA, 0x8E }; -static const symbol s_0_51[3] = { 0xEF, 0xBA, 0x8F }; -static const symbol s_0_52[3] = { 0xEF, 0xBA, 0x90 }; -static const symbol s_0_53[3] = { 0xEF, 0xBA, 0x91 }; -static const symbol s_0_54[3] = { 0xEF, 0xBA, 0x92 }; -static const symbol s_0_55[3] = { 0xEF, 0xBA, 0x93 }; -static const symbol s_0_56[3] = { 0xEF, 0xBA, 0x94 }; -static const symbol s_0_57[3] = { 0xEF, 0xBA, 0x95 }; -static const symbol s_0_58[3] = { 0xEF, 0xBA, 0x96 }; -static const symbol s_0_59[3] = { 0xEF, 0xBA, 0x97 }; -static const symbol s_0_60[3] = { 0xEF, 0xBA, 0x98 }; -static const symbol s_0_61[3] = { 0xEF, 0xBA, 0x99 }; -static const symbol s_0_62[3] = { 0xEF, 0xBA, 0x9A }; -static const symbol s_0_63[3] = { 0xEF, 0xBA, 0x9B }; -static const symbol s_0_64[3] = { 0xEF, 0xBA, 0x9C }; -static const symbol s_0_65[3] = { 0xEF, 0xBA, 0x9D }; -static const symbol s_0_66[3] = { 0xEF, 0xBA, 0x9E }; -static const symbol s_0_67[3] = { 0xEF, 0xBA, 0x9F }; -static const symbol s_0_68[3] = { 0xEF, 0xBA, 0xA0 }; -static const symbol s_0_69[3] = { 0xEF, 0xBA, 0xA1 }; -static const symbol s_0_70[3] = { 0xEF, 0xBA, 0xA2 }; -static const symbol s_0_71[3] = { 0xEF, 0xBA, 0xA3 }; -static const symbol s_0_72[3] = { 0xEF, 0xBA, 0xA4 }; -static const symbol s_0_73[3] = { 0xEF, 0xBA, 0xA5 }; -static const symbol s_0_74[3] = { 0xEF, 0xBA, 0xA6 }; -static const symbol s_0_75[3] = { 0xEF, 0xBA, 0xA7 }; -static const symbol s_0_76[3] = { 0xEF, 0xBA, 0xA8 }; -static const symbol s_0_77[3] = { 0xEF, 0xBA, 0xA9 }; -static const symbol s_0_78[3] = { 0xEF, 0xBA, 0xAA }; -static const symbol s_0_79[3] = { 0xEF, 0xBA, 0xAB }; -static const symbol s_0_80[3] = { 0xEF, 0xBA, 0xAC }; -static const symbol s_0_81[3] = { 0xEF, 0xBA, 0xAD }; -static const symbol s_0_82[3] = { 0xEF, 0xBA, 0xAE }; -static const symbol s_0_83[3] = { 0xEF, 0xBA, 0xAF }; -static const symbol s_0_84[3] = { 0xEF, 0xBA, 0xB0 }; -static const symbol s_0_85[3] = { 0xEF, 0xBA, 0xB1 }; -static const symbol s_0_86[3] = { 0xEF, 0xBA, 0xB2 }; -static const symbol s_0_87[3] = { 0xEF, 0xBA, 0xB3 }; -static const symbol s_0_88[3] = { 0xEF, 0xBA, 0xB4 }; -static const symbol s_0_89[3] = { 0xEF, 0xBA, 0xB5 }; -static const symbol s_0_90[3] = { 0xEF, 0xBA, 0xB6 }; -static const symbol s_0_91[3] = { 0xEF, 0xBA, 0xB7 }; -static const symbol s_0_92[3] = { 0xEF, 0xBA, 0xB8 }; -static const symbol s_0_93[3] = { 0xEF, 0xBA, 0xB9 }; -static const symbol s_0_94[3] = { 0xEF, 0xBA, 0xBA }; -static const symbol s_0_95[3] = { 0xEF, 0xBA, 0xBB }; -static const symbol s_0_96[3] = { 0xEF, 0xBA, 0xBC }; -static const symbol s_0_97[3] = { 0xEF, 0xBA, 0xBD }; -static const symbol s_0_98[3] = { 0xEF, 0xBA, 0xBE }; -static const symbol s_0_99[3] = { 0xEF, 0xBA, 0xBF }; -static const symbol s_0_100[3] = { 0xEF, 0xBB, 0x80 }; -static const symbol s_0_101[3] = { 0xEF, 0xBB, 0x81 }; -static const symbol s_0_102[3] = { 0xEF, 0xBB, 0x82 }; -static const symbol s_0_103[3] = { 0xEF, 0xBB, 0x83 }; -static const symbol s_0_104[3] = { 0xEF, 0xBB, 0x84 }; -static const symbol s_0_105[3] = { 0xEF, 0xBB, 0x85 }; -static const symbol s_0_106[3] = { 0xEF, 0xBB, 0x86 }; -static const symbol s_0_107[3] = { 0xEF, 0xBB, 0x87 }; -static const symbol s_0_108[3] = { 0xEF, 0xBB, 0x88 }; -static const symbol s_0_109[3] = { 0xEF, 0xBB, 0x89 }; -static const symbol s_0_110[3] = { 0xEF, 0xBB, 0x8A }; -static const symbol s_0_111[3] = { 0xEF, 0xBB, 0x8B }; -static const symbol s_0_112[3] = { 0xEF, 0xBB, 0x8C }; -static const symbol s_0_113[3] = { 0xEF, 0xBB, 0x8D }; -static const symbol s_0_114[3] = { 0xEF, 0xBB, 0x8E }; -static const symbol s_0_115[3] = { 0xEF, 0xBB, 0x8F }; -static const symbol s_0_116[3] = { 0xEF, 0xBB, 0x90 }; -static const symbol s_0_117[3] = { 0xEF, 0xBB, 0x91 }; -static const symbol s_0_118[3] = { 0xEF, 0xBB, 0x92 }; -static const symbol s_0_119[3] = { 0xEF, 0xBB, 0x93 }; -static const symbol s_0_120[3] = { 0xEF, 0xBB, 0x94 }; -static const symbol s_0_121[3] = { 0xEF, 0xBB, 0x95 }; -static const symbol s_0_122[3] = { 0xEF, 0xBB, 0x96 }; -static const symbol s_0_123[3] = { 0xEF, 0xBB, 0x97 }; -static const symbol s_0_124[3] = { 0xEF, 0xBB, 0x98 }; -static const symbol s_0_125[3] = { 0xEF, 0xBB, 0x99 }; -static const symbol s_0_126[3] = { 0xEF, 0xBB, 0x9A }; -static const symbol s_0_127[3] = { 0xEF, 0xBB, 0x9B }; -static const symbol s_0_128[3] = { 0xEF, 0xBB, 0x9C }; -static const symbol s_0_129[3] = { 0xEF, 0xBB, 0x9D }; -static const symbol s_0_130[3] = { 0xEF, 0xBB, 0x9E }; -static const symbol s_0_131[3] = { 0xEF, 0xBB, 0x9F }; -static const symbol s_0_132[3] = { 0xEF, 0xBB, 0xA0 }; -static const symbol s_0_133[3] = { 0xEF, 0xBB, 0xA1 }; -static const symbol s_0_134[3] = { 0xEF, 0xBB, 0xA2 }; -static const symbol s_0_135[3] = { 0xEF, 0xBB, 0xA3 }; -static const symbol s_0_136[3] = { 0xEF, 0xBB, 0xA4 }; -static const symbol s_0_137[3] = { 0xEF, 0xBB, 0xA5 }; -static const symbol s_0_138[3] = { 0xEF, 0xBB, 0xA6 }; -static const symbol s_0_139[3] = { 0xEF, 0xBB, 0xA7 }; -static const symbol s_0_140[3] = { 0xEF, 0xBB, 0xA8 }; -static const symbol s_0_141[3] = { 0xEF, 0xBB, 0xA9 }; -static const symbol s_0_142[3] = { 0xEF, 0xBB, 0xAA }; -static const symbol s_0_143[3] = { 0xEF, 0xBB, 0xAB }; -static const symbol s_0_144[3] = { 0xEF, 0xBB, 0xAC }; -static const symbol s_0_145[3] = { 0xEF, 0xBB, 0xAD }; -static const symbol s_0_146[3] = { 0xEF, 0xBB, 0xAE }; -static const symbol s_0_147[3] = { 0xEF, 0xBB, 0xAF }; -static const symbol s_0_148[3] = { 0xEF, 0xBB, 0xB0 }; -static const symbol s_0_149[3] = { 0xEF, 0xBB, 0xB1 }; -static const symbol s_0_150[3] = { 0xEF, 0xBB, 0xB2 }; -static const symbol s_0_151[3] = { 0xEF, 0xBB, 0xB3 }; -static const symbol s_0_152[3] = { 0xEF, 0xBB, 0xB4 }; -static const symbol s_0_153[3] = { 0xEF, 0xBB, 0xB5 }; -static const symbol s_0_154[3] = { 0xEF, 0xBB, 0xB6 }; -static const symbol s_0_155[3] = { 0xEF, 0xBB, 0xB7 }; -static const symbol s_0_156[3] = { 0xEF, 0xBB, 0xB8 }; -static const symbol s_0_157[3] = { 0xEF, 0xBB, 0xB9 }; -static const symbol s_0_158[3] = { 0xEF, 0xBB, 0xBA }; -static const symbol s_0_159[3] = { 0xEF, 0xBB, 0xBB }; -static const symbol s_0_160[3] = { 0xEF, 0xBB, 0xBC }; - -static const struct among a_0[161] = +static const symbol s_0_0[2] = { 0xD9, 0x80 }; +static const symbol s_0_1[2] = { 0xD9, 0x8B }; +static const symbol s_0_2[2] = { 0xD9, 0x8C }; +static const symbol s_0_3[2] = { 0xD9, 0x8D }; +static const symbol s_0_4[2] = { 0xD9, 0x8E }; +static const symbol s_0_5[2] = { 0xD9, 0x8F }; +static const symbol s_0_6[2] = { 0xD9, 0x90 }; +static const symbol s_0_7[2] = { 0xD9, 0x91 }; +static const symbol s_0_8[2] = { 0xD9, 0x92 }; +static const symbol s_0_9[2] = { 0xD9, 0xA0 }; +static const symbol s_0_10[2] = { 0xD9, 0xA1 }; +static const symbol s_0_11[2] = { 0xD9, 0xA2 }; +static const symbol s_0_12[2] = { 0xD9, 0xA3 }; +static const symbol s_0_13[2] = { 0xD9, 0xA4 }; +static const symbol s_0_14[2] = { 0xD9, 0xA5 }; +static const symbol s_0_15[2] = { 0xD9, 0xA6 }; +static const symbol s_0_16[2] = { 0xD9, 0xA7 }; +static const symbol s_0_17[2] = { 0xD9, 0xA8 }; +static const symbol s_0_18[2] = { 0xD9, 0xA9 }; +static const symbol s_0_19[3] = { 0xEF, 0xBA, 0x80 }; +static const symbol s_0_20[3] = { 0xEF, 0xBA, 0x81 }; +static const symbol s_0_21[3] = { 0xEF, 0xBA, 0x82 }; +static const symbol s_0_22[3] = { 0xEF, 0xBA, 0x83 }; +static const symbol s_0_23[3] = { 0xEF, 0xBA, 0x84 }; +static const symbol s_0_24[3] = { 0xEF, 0xBA, 0x85 }; +static const symbol s_0_25[3] = { 0xEF, 0xBA, 0x86 }; +static const symbol s_0_26[3] = { 0xEF, 0xBA, 0x87 }; +static const symbol s_0_27[3] = { 0xEF, 0xBA, 0x88 }; +static const symbol s_0_28[3] = { 0xEF, 0xBA, 0x89 }; +static const symbol s_0_29[3] = { 0xEF, 0xBA, 0x8A }; +static const symbol s_0_30[3] = { 0xEF, 0xBA, 0x8B }; +static const symbol s_0_31[3] = { 0xEF, 0xBA, 0x8C }; +static const symbol s_0_32[3] = { 0xEF, 0xBA, 0x8D }; +static const symbol s_0_33[3] = { 0xEF, 0xBA, 0x8E }; +static const symbol s_0_34[3] = { 0xEF, 0xBA, 0x8F }; +static const symbol s_0_35[3] = { 0xEF, 0xBA, 0x90 }; +static const symbol s_0_36[3] = { 0xEF, 0xBA, 0x91 }; +static const symbol s_0_37[3] = { 0xEF, 0xBA, 0x92 }; +static const symbol s_0_38[3] = { 0xEF, 0xBA, 0x93 }; +static const symbol s_0_39[3] = { 0xEF, 0xBA, 0x94 }; +static const symbol s_0_40[3] = { 0xEF, 0xBA, 0x95 }; +static const symbol s_0_41[3] = { 0xEF, 0xBA, 0x96 }; +static const symbol s_0_42[3] = { 0xEF, 0xBA, 0x97 }; +static const symbol s_0_43[3] = { 0xEF, 0xBA, 0x98 }; +static const symbol s_0_44[3] = { 0xEF, 0xBA, 0x99 }; +static const symbol s_0_45[3] = { 0xEF, 0xBA, 0x9A }; +static const symbol s_0_46[3] = { 0xEF, 0xBA, 0x9B }; +static const symbol s_0_47[3] = { 0xEF, 0xBA, 0x9C }; +static const symbol s_0_48[3] = { 0xEF, 0xBA, 0x9D }; +static const symbol s_0_49[3] = { 0xEF, 0xBA, 0x9E }; +static const symbol s_0_50[3] = { 0xEF, 0xBA, 0x9F }; +static const symbol s_0_51[3] = { 0xEF, 0xBA, 0xA0 }; +static const symbol s_0_52[3] = { 0xEF, 0xBA, 0xA1 }; +static const symbol s_0_53[3] = { 0xEF, 0xBA, 0xA2 }; +static const symbol s_0_54[3] = { 0xEF, 0xBA, 0xA3 }; +static const symbol s_0_55[3] = { 0xEF, 0xBA, 0xA4 }; +static const symbol s_0_56[3] = { 0xEF, 0xBA, 0xA5 }; +static const symbol s_0_57[3] = { 0xEF, 0xBA, 0xA6 }; +static const symbol s_0_58[3] = { 0xEF, 0xBA, 0xA7 }; +static const symbol s_0_59[3] = { 0xEF, 0xBA, 0xA8 }; +static const symbol s_0_60[3] = { 0xEF, 0xBA, 0xA9 }; +static const symbol s_0_61[3] = { 0xEF, 0xBA, 0xAA }; +static const symbol s_0_62[3] = { 0xEF, 0xBA, 0xAB }; +static const symbol s_0_63[3] = { 0xEF, 0xBA, 0xAC }; +static const symbol s_0_64[3] = { 0xEF, 0xBA, 0xAD }; +static const symbol s_0_65[3] = { 0xEF, 0xBA, 0xAE }; +static const symbol s_0_66[3] = { 0xEF, 0xBA, 0xAF }; +static const symbol s_0_67[3] = { 0xEF, 0xBA, 0xB0 }; +static const symbol s_0_68[3] = { 0xEF, 0xBA, 0xB1 }; +static const symbol s_0_69[3] = { 0xEF, 0xBA, 0xB2 }; +static const symbol s_0_70[3] = { 0xEF, 0xBA, 0xB3 }; +static const symbol s_0_71[3] = { 0xEF, 0xBA, 0xB4 }; +static const symbol s_0_72[3] = { 0xEF, 0xBA, 0xB5 }; +static const symbol s_0_73[3] = { 0xEF, 0xBA, 0xB6 }; +static const symbol s_0_74[3] = { 0xEF, 0xBA, 0xB7 }; +static const symbol s_0_75[3] = { 0xEF, 0xBA, 0xB8 }; +static const symbol s_0_76[3] = { 0xEF, 0xBA, 0xB9 }; +static const symbol s_0_77[3] = { 0xEF, 0xBA, 0xBA }; +static const symbol s_0_78[3] = { 0xEF, 0xBA, 0xBB }; +static const symbol s_0_79[3] = { 0xEF, 0xBA, 0xBC }; +static const symbol s_0_80[3] = { 0xEF, 0xBA, 0xBD }; +static const symbol s_0_81[3] = { 0xEF, 0xBA, 0xBE }; +static const symbol s_0_82[3] = { 0xEF, 0xBA, 0xBF }; +static const symbol s_0_83[3] = { 0xEF, 0xBB, 0x80 }; +static const symbol s_0_84[3] = { 0xEF, 0xBB, 0x81 }; +static const symbol s_0_85[3] = { 0xEF, 0xBB, 0x82 }; +static const symbol s_0_86[3] = { 0xEF, 0xBB, 0x83 }; +static const symbol s_0_87[3] = { 0xEF, 0xBB, 0x84 }; +static const symbol s_0_88[3] = { 0xEF, 0xBB, 0x85 }; +static const symbol s_0_89[3] = { 0xEF, 0xBB, 0x86 }; +static const symbol s_0_90[3] = { 0xEF, 0xBB, 0x87 }; +static const symbol s_0_91[3] = { 0xEF, 0xBB, 0x88 }; +static const symbol s_0_92[3] = { 0xEF, 0xBB, 0x89 }; +static const symbol s_0_93[3] = { 0xEF, 0xBB, 0x8A }; +static const symbol s_0_94[3] = { 0xEF, 0xBB, 0x8B }; +static const symbol s_0_95[3] = { 0xEF, 0xBB, 0x8C }; +static const symbol s_0_96[3] = { 0xEF, 0xBB, 0x8D }; +static const symbol s_0_97[3] = { 0xEF, 0xBB, 0x8E }; +static const symbol s_0_98[3] = { 0xEF, 0xBB, 0x8F }; +static const symbol s_0_99[3] = { 0xEF, 0xBB, 0x90 }; +static const symbol s_0_100[3] = { 0xEF, 0xBB, 0x91 }; +static const symbol s_0_101[3] = { 0xEF, 0xBB, 0x92 }; +static const symbol s_0_102[3] = { 0xEF, 0xBB, 0x93 }; +static const symbol s_0_103[3] = { 0xEF, 0xBB, 0x94 }; +static const symbol s_0_104[3] = { 0xEF, 0xBB, 0x95 }; +static const symbol s_0_105[3] = { 0xEF, 0xBB, 0x96 }; +static const symbol s_0_106[3] = { 0xEF, 0xBB, 0x97 }; +static const symbol s_0_107[3] = { 0xEF, 0xBB, 0x98 }; +static const symbol s_0_108[3] = { 0xEF, 0xBB, 0x99 }; +static const symbol s_0_109[3] = { 0xEF, 0xBB, 0x9A }; +static const symbol s_0_110[3] = { 0xEF, 0xBB, 0x9B }; +static const symbol s_0_111[3] = { 0xEF, 0xBB, 0x9C }; +static const symbol s_0_112[3] = { 0xEF, 0xBB, 0x9D }; +static const symbol s_0_113[3] = { 0xEF, 0xBB, 0x9E }; +static const symbol s_0_114[3] = { 0xEF, 0xBB, 0x9F }; +static const symbol s_0_115[3] = { 0xEF, 0xBB, 0xA0 }; +static const symbol s_0_116[3] = { 0xEF, 0xBB, 0xA1 }; +static const symbol s_0_117[3] = { 0xEF, 0xBB, 0xA2 }; +static const symbol s_0_118[3] = { 0xEF, 0xBB, 0xA3 }; +static const symbol s_0_119[3] = { 0xEF, 0xBB, 0xA4 }; +static const symbol s_0_120[3] = { 0xEF, 0xBB, 0xA5 }; +static const symbol s_0_121[3] = { 0xEF, 0xBB, 0xA6 }; +static const symbol s_0_122[3] = { 0xEF, 0xBB, 0xA7 }; +static const symbol s_0_123[3] = { 0xEF, 0xBB, 0xA8 }; +static const symbol s_0_124[3] = { 0xEF, 0xBB, 0xA9 }; +static const symbol s_0_125[3] = { 0xEF, 0xBB, 0xAA }; +static const symbol s_0_126[3] = { 0xEF, 0xBB, 0xAB }; +static const symbol s_0_127[3] = { 0xEF, 0xBB, 0xAC }; +static const symbol s_0_128[3] = { 0xEF, 0xBB, 0xAD }; +static const symbol s_0_129[3] = { 0xEF, 0xBB, 0xAE }; +static const symbol s_0_130[3] = { 0xEF, 0xBB, 0xAF }; +static const symbol s_0_131[3] = { 0xEF, 0xBB, 0xB0 }; +static const symbol s_0_132[3] = { 0xEF, 0xBB, 0xB1 }; +static const symbol s_0_133[3] = { 0xEF, 0xBB, 0xB2 }; +static const symbol s_0_134[3] = { 0xEF, 0xBB, 0xB3 }; +static const symbol s_0_135[3] = { 0xEF, 0xBB, 0xB4 }; +static const symbol s_0_136[3] = { 0xEF, 0xBB, 0xB5 }; +static const symbol s_0_137[3] = { 0xEF, 0xBB, 0xB6 }; +static const symbol s_0_138[3] = { 0xEF, 0xBB, 0xB7 }; +static const symbol s_0_139[3] = { 0xEF, 0xBB, 0xB8 }; +static const symbol s_0_140[3] = { 0xEF, 0xBB, 0xB9 }; +static const symbol s_0_141[3] = { 0xEF, 0xBB, 0xBA }; +static const symbol s_0_142[3] = { 0xEF, 0xBB, 0xBB }; +static const symbol s_0_143[3] = { 0xEF, 0xBB, 0xBC }; + +static const struct among a_0[144] = { -/* 0 */ { 1, s_0_0, -1, 3, 0}, -/* 1 */ { 1, s_0_1, -1, 3, 0}, -/* 2 */ { 1, s_0_2, -1, 3, 0}, -/* 3 */ { 1, s_0_3, -1, 3, 0}, -/* 4 */ { 1, s_0_4, -1, 3, 0}, -/* 5 */ { 1, s_0_5, -1, 3, 0}, -/* 6 */ { 1, s_0_6, -1, 3, 0}, -/* 7 */ { 1, s_0_7, -1, 3, 0}, -/* 8 */ { 1, s_0_8, -1, 3, 0}, -/* 9 */ { 1, s_0_9, -1, 3, 0}, -/* 10 */ { 1, s_0_10, -1, 3, 0}, +/* 0 */ { 2, s_0_0, -1, 1, 0}, +/* 1 */ { 2, s_0_1, -1, 1, 0}, +/* 2 */ { 2, s_0_2, -1, 1, 0}, +/* 3 */ { 2, s_0_3, -1, 1, 0}, +/* 4 */ { 2, s_0_4, -1, 1, 0}, +/* 5 */ { 2, s_0_5, -1, 1, 0}, +/* 6 */ { 2, s_0_6, -1, 1, 0}, +/* 7 */ { 2, s_0_7, -1, 1, 0}, +/* 8 */ { 2, s_0_8, -1, 1, 0}, +/* 9 */ { 2, s_0_9, -1, 2, 0}, +/* 10 */ { 2, s_0_10, -1, 3, 0}, /* 11 */ { 2, s_0_11, -1, 4, 0}, -/* 12 */ { 2, s_0_12, -1, 4, 0}, -/* 13 */ { 2, s_0_13, -1, 4, 0}, -/* 14 */ { 2, s_0_14, -1, 2, 0}, -/* 15 */ { 2, s_0_15, -1, 1, 0}, -/* 16 */ { 2, s_0_16, -1, 1, 0}, -/* 17 */ { 2, s_0_17, -1, 1, 0}, -/* 18 */ { 2, s_0_18, -1, 1, 0}, -/* 19 */ { 2, s_0_19, -1, 1, 0}, -/* 20 */ { 2, s_0_20, -1, 1, 0}, -/* 21 */ { 2, s_0_21, -1, 1, 0}, -/* 22 */ { 2, s_0_22, -1, 1, 0}, -/* 23 */ { 2, s_0_23, -1, 5, 0}, -/* 24 */ { 2, s_0_24, -1, 6, 0}, -/* 25 */ { 2, s_0_25, -1, 7, 0}, -/* 26 */ { 2, s_0_26, -1, 8, 0}, -/* 27 */ { 2, s_0_27, -1, 9, 0}, -/* 28 */ { 2, s_0_28, -1, 10, 0}, -/* 29 */ { 2, s_0_29, -1, 11, 0}, -/* 30 */ { 2, s_0_30, -1, 12, 0}, -/* 31 */ { 2, s_0_31, -1, 13, 0}, -/* 32 */ { 2, s_0_32, -1, 14, 0}, -/* 33 */ { 2, s_0_33, -1, 15, 0}, -/* 34 */ { 2, s_0_34, -1, 15, 0}, -/* 35 */ { 2, s_0_35, -1, 15, 0}, -/* 36 */ { 3, s_0_36, -1, 16, 0}, -/* 37 */ { 3, s_0_37, -1, 20, 0}, +/* 12 */ { 2, s_0_12, -1, 5, 0}, +/* 13 */ { 2, s_0_13, -1, 6, 0}, +/* 14 */ { 2, s_0_14, -1, 7, 0}, +/* 15 */ { 2, s_0_15, -1, 8, 0}, +/* 16 */ { 2, s_0_16, -1, 9, 0}, +/* 17 */ { 2, s_0_17, -1, 10, 0}, +/* 18 */ { 2, s_0_18, -1, 11, 0}, +/* 19 */ { 3, s_0_19, -1, 12, 0}, +/* 20 */ { 3, s_0_20, -1, 16, 0}, +/* 21 */ { 3, s_0_21, -1, 16, 0}, +/* 22 */ { 3, s_0_22, -1, 13, 0}, +/* 23 */ { 3, s_0_23, -1, 13, 0}, +/* 24 */ { 3, s_0_24, -1, 17, 0}, +/* 25 */ { 3, s_0_25, -1, 17, 0}, +/* 26 */ { 3, s_0_26, -1, 14, 0}, +/* 27 */ { 3, s_0_27, -1, 14, 0}, +/* 28 */ { 3, s_0_28, -1, 15, 0}, +/* 29 */ { 3, s_0_29, -1, 15, 0}, +/* 30 */ { 3, s_0_30, -1, 15, 0}, +/* 31 */ { 3, s_0_31, -1, 15, 0}, +/* 32 */ { 3, s_0_32, -1, 18, 0}, +/* 33 */ { 3, s_0_33, -1, 18, 0}, +/* 34 */ { 3, s_0_34, -1, 19, 0}, +/* 35 */ { 3, s_0_35, -1, 19, 0}, +/* 36 */ { 3, s_0_36, -1, 19, 0}, +/* 37 */ { 3, s_0_37, -1, 19, 0}, /* 38 */ { 3, s_0_38, -1, 20, 0}, -/* 39 */ { 3, s_0_39, -1, 17, 0}, -/* 40 */ { 3, s_0_40, -1, 17, 0}, +/* 39 */ { 3, s_0_39, -1, 20, 0}, +/* 40 */ { 3, s_0_40, -1, 21, 0}, /* 41 */ { 3, s_0_41, -1, 21, 0}, /* 42 */ { 3, s_0_42, -1, 21, 0}, -/* 43 */ { 3, s_0_43, -1, 18, 0}, -/* 44 */ { 3, s_0_44, -1, 18, 0}, -/* 45 */ { 3, s_0_45, -1, 19, 0}, -/* 46 */ { 3, s_0_46, -1, 19, 0}, -/* 47 */ { 3, s_0_47, -1, 19, 0}, -/* 48 */ { 3, s_0_48, -1, 19, 0}, -/* 49 */ { 3, s_0_49, -1, 22, 0}, -/* 50 */ { 3, s_0_50, -1, 22, 0}, +/* 43 */ { 3, s_0_43, -1, 21, 0}, +/* 44 */ { 3, s_0_44, -1, 22, 0}, +/* 45 */ { 3, s_0_45, -1, 22, 0}, +/* 46 */ { 3, s_0_46, -1, 22, 0}, +/* 47 */ { 3, s_0_47, -1, 22, 0}, +/* 48 */ { 3, s_0_48, -1, 23, 0}, +/* 49 */ { 3, s_0_49, -1, 23, 0}, +/* 50 */ { 3, s_0_50, -1, 23, 0}, /* 51 */ { 3, s_0_51, -1, 23, 0}, -/* 52 */ { 3, s_0_52, -1, 23, 0}, -/* 53 */ { 3, s_0_53, -1, 23, 0}, -/* 54 */ { 3, s_0_54, -1, 23, 0}, +/* 52 */ { 3, s_0_52, -1, 24, 0}, +/* 53 */ { 3, s_0_53, -1, 24, 0}, +/* 54 */ { 3, s_0_54, -1, 24, 0}, /* 55 */ { 3, s_0_55, -1, 24, 0}, -/* 56 */ { 3, s_0_56, -1, 24, 0}, +/* 56 */ { 3, s_0_56, -1, 25, 0}, /* 57 */ { 3, s_0_57, -1, 25, 0}, /* 58 */ { 3, s_0_58, -1, 25, 0}, /* 59 */ { 3, s_0_59, -1, 25, 0}, -/* 60 */ { 3, s_0_60, -1, 25, 0}, +/* 60 */ { 3, s_0_60, -1, 26, 0}, /* 61 */ { 3, s_0_61, -1, 26, 0}, -/* 62 */ { 3, s_0_62, -1, 26, 0}, -/* 63 */ { 3, s_0_63, -1, 26, 0}, -/* 64 */ { 3, s_0_64, -1, 26, 0}, -/* 65 */ { 3, s_0_65, -1, 27, 0}, -/* 66 */ { 3, s_0_66, -1, 27, 0}, -/* 67 */ { 3, s_0_67, -1, 27, 0}, -/* 68 */ { 3, s_0_68, -1, 27, 0}, -/* 69 */ { 3, s_0_69, -1, 28, 0}, -/* 70 */ { 3, s_0_70, -1, 28, 0}, -/* 71 */ { 3, s_0_71, -1, 28, 0}, -/* 72 */ { 3, s_0_72, -1, 28, 0}, -/* 73 */ { 3, s_0_73, -1, 29, 0}, -/* 74 */ { 3, s_0_74, -1, 29, 0}, -/* 75 */ { 3, s_0_75, -1, 29, 0}, -/* 76 */ { 3, s_0_76, -1, 29, 0}, -/* 77 */ { 3, s_0_77, -1, 30, 0}, -/* 78 */ { 3, s_0_78, -1, 30, 0}, -/* 79 */ { 3, s_0_79, -1, 31, 0}, -/* 80 */ { 3, s_0_80, -1, 31, 0}, -/* 81 */ { 3, s_0_81, -1, 32, 0}, -/* 82 */ { 3, s_0_82, -1, 32, 0}, +/* 62 */ { 3, s_0_62, -1, 27, 0}, +/* 63 */ { 3, s_0_63, -1, 27, 0}, +/* 64 */ { 3, s_0_64, -1, 28, 0}, +/* 65 */ { 3, s_0_65, -1, 28, 0}, +/* 66 */ { 3, s_0_66, -1, 29, 0}, +/* 67 */ { 3, s_0_67, -1, 29, 0}, +/* 68 */ { 3, s_0_68, -1, 30, 0}, +/* 69 */ { 3, s_0_69, -1, 30, 0}, +/* 70 */ { 3, s_0_70, -1, 30, 0}, +/* 71 */ { 3, s_0_71, -1, 30, 0}, +/* 72 */ { 3, s_0_72, -1, 31, 0}, +/* 73 */ { 3, s_0_73, -1, 31, 0}, +/* 74 */ { 3, s_0_74, -1, 31, 0}, +/* 75 */ { 3, s_0_75, -1, 31, 0}, +/* 76 */ { 3, s_0_76, -1, 32, 0}, +/* 77 */ { 3, s_0_77, -1, 32, 0}, +/* 78 */ { 3, s_0_78, -1, 32, 0}, +/* 79 */ { 3, s_0_79, -1, 32, 0}, +/* 80 */ { 3, s_0_80, -1, 33, 0}, +/* 81 */ { 3, s_0_81, -1, 33, 0}, +/* 82 */ { 3, s_0_82, -1, 33, 0}, /* 83 */ { 3, s_0_83, -1, 33, 0}, -/* 84 */ { 3, s_0_84, -1, 33, 0}, +/* 84 */ { 3, s_0_84, -1, 34, 0}, /* 85 */ { 3, s_0_85, -1, 34, 0}, /* 86 */ { 3, s_0_86, -1, 34, 0}, /* 87 */ { 3, s_0_87, -1, 34, 0}, -/* 88 */ { 3, s_0_88, -1, 34, 0}, +/* 88 */ { 3, s_0_88, -1, 35, 0}, /* 89 */ { 3, s_0_89, -1, 35, 0}, /* 90 */ { 3, s_0_90, -1, 35, 0}, /* 91 */ { 3, s_0_91, -1, 35, 0}, -/* 92 */ { 3, s_0_92, -1, 35, 0}, +/* 92 */ { 3, s_0_92, -1, 36, 0}, /* 93 */ { 3, s_0_93, -1, 36, 0}, /* 94 */ { 3, s_0_94, -1, 36, 0}, /* 95 */ { 3, s_0_95, -1, 36, 0}, -/* 96 */ { 3, s_0_96, -1, 36, 0}, +/* 96 */ { 3, s_0_96, -1, 37, 0}, /* 97 */ { 3, s_0_97, -1, 37, 0}, /* 98 */ { 3, s_0_98, -1, 37, 0}, /* 99 */ { 3, s_0_99, -1, 37, 0}, -/*100 */ { 3, s_0_100, -1, 37, 0}, +/*100 */ { 3, s_0_100, -1, 38, 0}, /*101 */ { 3, s_0_101, -1, 38, 0}, /*102 */ { 3, s_0_102, -1, 38, 0}, /*103 */ { 3, s_0_103, -1, 38, 0}, -/*104 */ { 3, s_0_104, -1, 38, 0}, +/*104 */ { 3, s_0_104, -1, 39, 0}, /*105 */ { 3, s_0_105, -1, 39, 0}, /*106 */ { 3, s_0_106, -1, 39, 0}, /*107 */ { 3, s_0_107, -1, 39, 0}, -/*108 */ { 3, s_0_108, -1, 39, 0}, +/*108 */ { 3, s_0_108, -1, 40, 0}, /*109 */ { 3, s_0_109, -1, 40, 0}, /*110 */ { 3, s_0_110, -1, 40, 0}, /*111 */ { 3, s_0_111, -1, 40, 0}, -/*112 */ { 3, s_0_112, -1, 40, 0}, +/*112 */ { 3, s_0_112, -1, 41, 0}, /*113 */ { 3, s_0_113, -1, 41, 0}, /*114 */ { 3, s_0_114, -1, 41, 0}, /*115 */ { 3, s_0_115, -1, 41, 0}, -/*116 */ { 3, s_0_116, -1, 41, 0}, +/*116 */ { 3, s_0_116, -1, 42, 0}, /*117 */ { 3, s_0_117, -1, 42, 0}, /*118 */ { 3, s_0_118, -1, 42, 0}, /*119 */ { 3, s_0_119, -1, 42, 0}, -/*120 */ { 3, s_0_120, -1, 42, 0}, +/*120 */ { 3, s_0_120, -1, 43, 0}, /*121 */ { 3, s_0_121, -1, 43, 0}, /*122 */ { 3, s_0_122, -1, 43, 0}, /*123 */ { 3, s_0_123, -1, 43, 0}, -/*124 */ { 3, s_0_124, -1, 43, 0}, +/*124 */ { 3, s_0_124, -1, 44, 0}, /*125 */ { 3, s_0_125, -1, 44, 0}, /*126 */ { 3, s_0_126, -1, 44, 0}, /*127 */ { 3, s_0_127, -1, 44, 0}, -/*128 */ { 3, s_0_128, -1, 44, 0}, +/*128 */ { 3, s_0_128, -1, 45, 0}, /*129 */ { 3, s_0_129, -1, 45, 0}, -/*130 */ { 3, s_0_130, -1, 45, 0}, -/*131 */ { 3, s_0_131, -1, 45, 0}, -/*132 */ { 3, s_0_132, -1, 45, 0}, -/*133 */ { 3, s_0_133, -1, 46, 0}, -/*134 */ { 3, s_0_134, -1, 46, 0}, -/*135 */ { 3, s_0_135, -1, 46, 0}, -/*136 */ { 3, s_0_136, -1, 46, 0}, -/*137 */ { 3, s_0_137, -1, 47, 0}, -/*138 */ { 3, s_0_138, -1, 47, 0}, -/*139 */ { 3, s_0_139, -1, 47, 0}, -/*140 */ { 3, s_0_140, -1, 47, 0}, -/*141 */ { 3, s_0_141, -1, 48, 0}, +/*130 */ { 3, s_0_130, -1, 46, 0}, +/*131 */ { 3, s_0_131, -1, 46, 0}, +/*132 */ { 3, s_0_132, -1, 47, 0}, +/*133 */ { 3, s_0_133, -1, 47, 0}, +/*134 */ { 3, s_0_134, -1, 47, 0}, +/*135 */ { 3, s_0_135, -1, 47, 0}, +/*136 */ { 3, s_0_136, -1, 51, 0}, +/*137 */ { 3, s_0_137, -1, 51, 0}, +/*138 */ { 3, s_0_138, -1, 49, 0}, +/*139 */ { 3, s_0_139, -1, 49, 0}, +/*140 */ { 3, s_0_140, -1, 50, 0}, +/*141 */ { 3, s_0_141, -1, 50, 0}, /*142 */ { 3, s_0_142, -1, 48, 0}, -/*143 */ { 3, s_0_143, -1, 48, 0}, -/*144 */ { 3, s_0_144, -1, 48, 0}, -/*145 */ { 3, s_0_145, -1, 49, 0}, -/*146 */ { 3, s_0_146, -1, 49, 0}, -/*147 */ { 3, s_0_147, -1, 50, 0}, -/*148 */ { 3, s_0_148, -1, 50, 0}, -/*149 */ { 3, s_0_149, -1, 51, 0}, -/*150 */ { 3, s_0_150, -1, 51, 0}, -/*151 */ { 3, s_0_151, -1, 51, 0}, -/*152 */ { 3, s_0_152, -1, 51, 0}, -/*153 */ { 3, s_0_153, -1, 55, 0}, -/*154 */ { 3, s_0_154, -1, 55, 0}, -/*155 */ { 3, s_0_155, -1, 53, 0}, -/*156 */ { 3, s_0_156, -1, 53, 0}, -/*157 */ { 3, s_0_157, -1, 54, 0}, -/*158 */ { 3, s_0_158, -1, 54, 0}, -/*159 */ { 3, s_0_159, -1, 52, 0}, -/*160 */ { 3, s_0_160, -1, 52, 0} +/*143 */ { 3, s_0_143, -1, 48, 0} }; static const symbol s_1_0[2] = { 0xD8, 0xA2 }; @@ -380,9 +345,9 @@ static const struct among a_1[5] = { /* 0 */ { 2, s_1_0, -1, 1, 0}, /* 1 */ { 2, s_1_1, -1, 1, 0}, -/* 2 */ { 2, s_1_2, -1, 2, 0}, +/* 2 */ { 2, s_1_2, -1, 1, 0}, /* 3 */ { 2, s_1_3, -1, 1, 0}, -/* 4 */ { 2, s_1_4, -1, 3, 0} +/* 4 */ { 2, s_1_4, -1, 1, 0} }; static const symbol s_2_0[2] = { 0xD8, 0xA2 }; @@ -423,9 +388,9 @@ static const struct among a_4[5] = { /* 0 */ { 4, s_4_0, -1, 2, 0}, /* 1 */ { 4, s_4_1, -1, 1, 0}, -/* 2 */ { 4, s_4_2, -1, 3, 0}, -/* 3 */ { 4, s_4_3, -1, 5, 0}, -/* 4 */ { 4, s_4_4, -1, 4, 0} +/* 2 */ { 4, s_4_2, -1, 1, 0}, +/* 3 */ { 4, s_4_3, -1, 4, 0}, +/* 4 */ { 4, s_4_4, -1, 3, 0} }; static const symbol s_5_0[2] = { 0xD9, 0x81 }; @@ -434,7 +399,7 @@ static const symbol s_5_1[2] = { 0xD9, 0x88 }; static const struct among a_5[2] = { /* 0 */ { 2, s_5_0, -1, 1, 0}, -/* 1 */ { 2, s_5_1, -1, 2, 0} +/* 1 */ { 2, s_5_1, -1, 1, 0} }; static const symbol s_6_0[4] = { 0xD8, 0xA7, 0xD9, 0x84 }; @@ -599,16 +564,16 @@ static const symbol s_18_10[2] = { 0xD8, 0xAA }; static const struct among a_18[11] = { -/* 0 */ { 2, s_18_0, -1, 2, 0}, -/* 1 */ { 4, s_18_1, 0, 4, 0}, -/* 2 */ { 4, s_18_2, 0, 4, 0}, -/* 3 */ { 4, s_18_3, 0, 4, 0}, -/* 4 */ { 4, s_18_4, 0, 3, 0}, -/* 5 */ { 2, s_18_5, -1, 2, 0}, -/* 6 */ { 2, s_18_6, -1, 2, 0}, -/* 7 */ { 6, s_18_7, 6, 5, 0}, -/* 8 */ { 4, s_18_8, 6, 3, 0}, -/* 9 */ { 4, s_18_9, 6, 3, 0}, +/* 0 */ { 2, s_18_0, -1, 1, 0}, +/* 1 */ { 4, s_18_1, 0, 3, 0}, +/* 2 */ { 4, s_18_2, 0, 3, 0}, +/* 3 */ { 4, s_18_3, 0, 3, 0}, +/* 4 */ { 4, s_18_4, 0, 2, 0}, +/* 5 */ { 2, s_18_5, -1, 1, 0}, +/* 6 */ { 2, s_18_6, -1, 1, 0}, +/* 7 */ { 6, s_18_7, 6, 4, 0}, +/* 8 */ { 4, s_18_8, 6, 2, 0}, +/* 9 */ { 4, s_18_9, 6, 2, 0}, /* 10 */ { 2, s_18_10, -1, 1, 0} }; @@ -688,400 +653,369 @@ static const symbol s_47[] = { 0xD9, 0x84, 0xD8, 0xA3 }; static const symbol s_48[] = { 0xD9, 0x84, 0xD8, 0xA5 }; static const symbol s_49[] = { 0xD9, 0x84, 0xD8, 0xA2 }; static const symbol s_50[] = { 0xD8, 0xA1 }; -static const symbol s_51[] = { 0xD8, 0xA1 }; -static const symbol s_52[] = { 0xD8, 0xA1 }; -static const symbol s_53[] = { 0xD8, 0xA7 }; -static const symbol s_54[] = { 0xD9, 0x88 }; -static const symbol s_55[] = { 0xD9, 0x8A }; -static const symbol s_56[] = { 0xD8, 0xA3 }; -static const symbol s_57[] = { 0xD8, 0xA2 }; -static const symbol s_58[] = { 0xD8, 0xA3 }; -static const symbol s_59[] = { 0xD8, 0xA7 }; -static const symbol s_60[] = { 0xD8, 0xA5 }; -static const symbol s_61[] = { 0xD9, 0x81, 0xD8, 0xA7 }; -static const symbol s_62[] = { 0xD9, 0x88, 0xD8, 0xA7 }; -static const symbol s_63[] = { 0xD8, 0xA8, 0xD8, 0xA7 }; -static const symbol s_64[] = { 0xD8, 0xA8 }; -static const symbol s_65[] = { 0xD9, 0x83 }; -static const symbol s_66[] = { 0xD9, 0x8A }; -static const symbol s_67[] = { 0xD8, 0xAA }; -static const symbol s_68[] = { 0xD9, 0x86 }; -static const symbol s_69[] = { 0xD8, 0xA3 }; -static const symbol s_70[] = { 0xD8, 0xA7, 0xD8, 0xB3, 0xD8, 0xAA }; -static const symbol s_71[] = { 0xD9, 0x8A }; +static const symbol s_51[] = { 0xD8, 0xA7 }; +static const symbol s_52[] = { 0xD9, 0x88 }; +static const symbol s_53[] = { 0xD9, 0x8A }; +static const symbol s_54[] = { 0xD8, 0xA3 }; +static const symbol s_55[] = { 0xD8, 0xA2 }; +static const symbol s_56[] = { 0xD8, 0xA7 }; +static const symbol s_57[] = { 0xD8, 0xA5 }; +static const symbol s_58[] = { 0xD9, 0x81, 0xD8, 0xA7 }; +static const symbol s_59[] = { 0xD9, 0x88, 0xD8, 0xA7 }; +static const symbol s_60[] = { 0xD8, 0xA8, 0xD8, 0xA7 }; +static const symbol s_61[] = { 0xD8, 0xA8 }; +static const symbol s_62[] = { 0xD9, 0x83 }; +static const symbol s_63[] = { 0xD9, 0x8A }; +static const symbol s_64[] = { 0xD8, 0xAA }; +static const symbol s_65[] = { 0xD9, 0x86 }; +static const symbol s_66[] = { 0xD8, 0xA3 }; +static const symbol s_67[] = { 0xD8, 0xA7, 0xD8, 0xB3, 0xD8, 0xAA }; +static const symbol s_68[] = { 0xD9, 0x8A }; static int r_Normalize_pre(struct SN_env * z) { /* forwardmode */ int among_var; - { int i; for (i = len_utf8(z->p); i > 0; i--) /* loop, line 259 */ - { { int c1 = z->c; /* or, line 328 */ - z->bra = z->c; /* [, line 261 */ - among_var = find_among(z, a_0, 161); /* substring, line 261 */ - if (!(among_var)) goto lab1; - z->ket = z->c; /* ], line 261 */ - switch (among_var) { /* among, line 261 */ - case 0: goto lab1; + { int c1 = z->c; /* do, line 247 */ +/* repeat, line 247 */ + + while(1) { int c2 = z->c; + { int c3 = z->c; /* or, line 311 */ + z->bra = z->c; /* [, line 249 */ + among_var = find_among(z, a_0, 144); /* substring, line 249 */ + if (!(among_var)) goto lab3; + z->ket = z->c; /* ], line 249 */ + switch (among_var) { /* among, line 249 */ case 1: - { int ret = slice_del(z); /* delete, line 262 */ + { int ret = slice_del(z); /* delete, line 250 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 263 */ + { int ret = slice_from_s(z, 1, s_0); /* <-, line 254 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 266 */ + { int ret = slice_from_s(z, 1, s_1); /* <-, line 255 */ if (ret < 0) return ret; } break; case 4: - { int ret = slice_del(z); /* delete, line 267 */ + { int ret = slice_from_s(z, 1, s_2); /* <-, line 256 */ if (ret < 0) return ret; } break; case 5: - { int ret = slice_from_s(z, 1, s_0); /* <-, line 270 */ + { int ret = slice_from_s(z, 1, s_3); /* <-, line 257 */ if (ret < 0) return ret; } break; case 6: - { int ret = slice_from_s(z, 1, s_1); /* <-, line 271 */ + { int ret = slice_from_s(z, 1, s_4); /* <-, line 258 */ if (ret < 0) return ret; } break; case 7: - { int ret = slice_from_s(z, 1, s_2); /* <-, line 272 */ + { int ret = slice_from_s(z, 1, s_5); /* <-, line 259 */ if (ret < 0) return ret; } break; case 8: - { int ret = slice_from_s(z, 1, s_3); /* <-, line 273 */ + { int ret = slice_from_s(z, 1, s_6); /* <-, line 260 */ if (ret < 0) return ret; } break; case 9: - { int ret = slice_from_s(z, 1, s_4); /* <-, line 274 */ + { int ret = slice_from_s(z, 1, s_7); /* <-, line 261 */ if (ret < 0) return ret; } break; case 10: - { int ret = slice_from_s(z, 1, s_5); /* <-, line 275 */ + { int ret = slice_from_s(z, 1, s_8); /* <-, line 262 */ if (ret < 0) return ret; } break; case 11: - { int ret = slice_from_s(z, 1, s_6); /* <-, line 276 */ + { int ret = slice_from_s(z, 1, s_9); /* <-, line 263 */ if (ret < 0) return ret; } break; case 12: - { int ret = slice_from_s(z, 1, s_7); /* <-, line 277 */ + { int ret = slice_from_s(z, 2, s_10); /* <-, line 266 */ if (ret < 0) return ret; } break; case 13: - { int ret = slice_from_s(z, 1, s_8); /* <-, line 278 */ + { int ret = slice_from_s(z, 2, s_11); /* <-, line 267 */ if (ret < 0) return ret; } break; case 14: - { int ret = slice_from_s(z, 1, s_9); /* <-, line 279 */ + { int ret = slice_from_s(z, 2, s_12); /* <-, line 268 */ if (ret < 0) return ret; } break; case 15: - { int ret = slice_del(z); /* delete, line 280 */ + { int ret = slice_from_s(z, 2, s_13); /* <-, line 269 */ if (ret < 0) return ret; } break; case 16: - { int ret = slice_from_s(z, 2, s_10); /* <-, line 283 */ + { int ret = slice_from_s(z, 2, s_14); /* <-, line 270 */ if (ret < 0) return ret; } break; case 17: - { int ret = slice_from_s(z, 2, s_11); /* <-, line 284 */ + { int ret = slice_from_s(z, 2, s_15); /* <-, line 271 */ if (ret < 0) return ret; } break; case 18: - { int ret = slice_from_s(z, 2, s_12); /* <-, line 285 */ + { int ret = slice_from_s(z, 2, s_16); /* <-, line 272 */ if (ret < 0) return ret; } break; case 19: - { int ret = slice_from_s(z, 2, s_13); /* <-, line 286 */ + { int ret = slice_from_s(z, 2, s_17); /* <-, line 273 */ if (ret < 0) return ret; } break; case 20: - { int ret = slice_from_s(z, 2, s_14); /* <-, line 287 */ + { int ret = slice_from_s(z, 2, s_18); /* <-, line 274 */ if (ret < 0) return ret; } break; case 21: - { int ret = slice_from_s(z, 2, s_15); /* <-, line 288 */ + { int ret = slice_from_s(z, 2, s_19); /* <-, line 275 */ if (ret < 0) return ret; } break; case 22: - { int ret = slice_from_s(z, 2, s_16); /* <-, line 289 */ + { int ret = slice_from_s(z, 2, s_20); /* <-, line 276 */ if (ret < 0) return ret; } break; case 23: - { int ret = slice_from_s(z, 2, s_17); /* <-, line 290 */ + { int ret = slice_from_s(z, 2, s_21); /* <-, line 277 */ if (ret < 0) return ret; } break; case 24: - { int ret = slice_from_s(z, 2, s_18); /* <-, line 291 */ + { int ret = slice_from_s(z, 2, s_22); /* <-, line 278 */ if (ret < 0) return ret; } break; case 25: - { int ret = slice_from_s(z, 2, s_19); /* <-, line 292 */ + { int ret = slice_from_s(z, 2, s_23); /* <-, line 279 */ if (ret < 0) return ret; } break; case 26: - { int ret = slice_from_s(z, 2, s_20); /* <-, line 293 */ + { int ret = slice_from_s(z, 2, s_24); /* <-, line 280 */ if (ret < 0) return ret; } break; case 27: - { int ret = slice_from_s(z, 2, s_21); /* <-, line 294 */ + { int ret = slice_from_s(z, 2, s_25); /* <-, line 281 */ if (ret < 0) return ret; } break; case 28: - { int ret = slice_from_s(z, 2, s_22); /* <-, line 295 */ + { int ret = slice_from_s(z, 2, s_26); /* <-, line 282 */ if (ret < 0) return ret; } break; case 29: - { int ret = slice_from_s(z, 2, s_23); /* <-, line 296 */ + { int ret = slice_from_s(z, 2, s_27); /* <-, line 283 */ if (ret < 0) return ret; } break; case 30: - { int ret = slice_from_s(z, 2, s_24); /* <-, line 297 */ + { int ret = slice_from_s(z, 2, s_28); /* <-, line 284 */ if (ret < 0) return ret; } break; case 31: - { int ret = slice_from_s(z, 2, s_25); /* <-, line 298 */ + { int ret = slice_from_s(z, 2, s_29); /* <-, line 285 */ if (ret < 0) return ret; } break; case 32: - { int ret = slice_from_s(z, 2, s_26); /* <-, line 299 */ + { int ret = slice_from_s(z, 2, s_30); /* <-, line 286 */ if (ret < 0) return ret; } break; case 33: - { int ret = slice_from_s(z, 2, s_27); /* <-, line 300 */ + { int ret = slice_from_s(z, 2, s_31); /* <-, line 287 */ if (ret < 0) return ret; } break; case 34: - { int ret = slice_from_s(z, 2, s_28); /* <-, line 301 */ + { int ret = slice_from_s(z, 2, s_32); /* <-, line 288 */ if (ret < 0) return ret; } break; case 35: - { int ret = slice_from_s(z, 2, s_29); /* <-, line 302 */ + { int ret = slice_from_s(z, 2, s_33); /* <-, line 289 */ if (ret < 0) return ret; } break; case 36: - { int ret = slice_from_s(z, 2, s_30); /* <-, line 303 */ + { int ret = slice_from_s(z, 2, s_34); /* <-, line 290 */ if (ret < 0) return ret; } break; case 37: - { int ret = slice_from_s(z, 2, s_31); /* <-, line 304 */ + { int ret = slice_from_s(z, 2, s_35); /* <-, line 291 */ if (ret < 0) return ret; } break; case 38: - { int ret = slice_from_s(z, 2, s_32); /* <-, line 305 */ + { int ret = slice_from_s(z, 2, s_36); /* <-, line 292 */ if (ret < 0) return ret; } break; case 39: - { int ret = slice_from_s(z, 2, s_33); /* <-, line 306 */ + { int ret = slice_from_s(z, 2, s_37); /* <-, line 293 */ if (ret < 0) return ret; } break; case 40: - { int ret = slice_from_s(z, 2, s_34); /* <-, line 307 */ + { int ret = slice_from_s(z, 2, s_38); /* <-, line 294 */ if (ret < 0) return ret; } break; case 41: - { int ret = slice_from_s(z, 2, s_35); /* <-, line 308 */ + { int ret = slice_from_s(z, 2, s_39); /* <-, line 295 */ if (ret < 0) return ret; } break; case 42: - { int ret = slice_from_s(z, 2, s_36); /* <-, line 309 */ + { int ret = slice_from_s(z, 2, s_40); /* <-, line 296 */ if (ret < 0) return ret; } break; case 43: - { int ret = slice_from_s(z, 2, s_37); /* <-, line 310 */ + { int ret = slice_from_s(z, 2, s_41); /* <-, line 297 */ if (ret < 0) return ret; } break; case 44: - { int ret = slice_from_s(z, 2, s_38); /* <-, line 311 */ + { int ret = slice_from_s(z, 2, s_42); /* <-, line 298 */ if (ret < 0) return ret; } break; case 45: - { int ret = slice_from_s(z, 2, s_39); /* <-, line 312 */ + { int ret = slice_from_s(z, 2, s_43); /* <-, line 299 */ if (ret < 0) return ret; } break; case 46: - { int ret = slice_from_s(z, 2, s_40); /* <-, line 313 */ + { int ret = slice_from_s(z, 2, s_44); /* <-, line 300 */ if (ret < 0) return ret; } break; case 47: - { int ret = slice_from_s(z, 2, s_41); /* <-, line 314 */ + { int ret = slice_from_s(z, 2, s_45); /* <-, line 301 */ if (ret < 0) return ret; } break; case 48: - { int ret = slice_from_s(z, 2, s_42); /* <-, line 315 */ + { int ret = slice_from_s(z, 4, s_46); /* <-, line 304 */ if (ret < 0) return ret; } break; case 49: - { int ret = slice_from_s(z, 2, s_43); /* <-, line 316 */ + { int ret = slice_from_s(z, 4, s_47); /* <-, line 305 */ if (ret < 0) return ret; } break; case 50: - { int ret = slice_from_s(z, 2, s_44); /* <-, line 317 */ + { int ret = slice_from_s(z, 4, s_48); /* <-, line 306 */ if (ret < 0) return ret; } break; case 51: - { int ret = slice_from_s(z, 2, s_45); /* <-, line 318 */ - if (ret < 0) return ret; - } - break; - case 52: - { int ret = slice_from_s(z, 4, s_46); /* <-, line 321 */ - if (ret < 0) return ret; - } - break; - case 53: - { int ret = slice_from_s(z, 4, s_47); /* <-, line 322 */ - if (ret < 0) return ret; - } - break; - case 54: - { int ret = slice_from_s(z, 4, s_48); /* <-, line 323 */ - if (ret < 0) return ret; - } - break; - case 55: - { int ret = slice_from_s(z, 4, s_49); /* <-, line 324 */ + { int ret = slice_from_s(z, 4, s_49); /* <-, line 307 */ if (ret < 0) return ret; } break; } - goto lab0; - lab1: - z->c = c1; + goto lab2; + lab3: + z->c = c3; { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); - if (ret < 0) return 0; - z->c = ret; /* next, line 329 */ + if (ret < 0) goto lab1; + z->c = ret; /* next, line 312 */ } } - lab0: - ; + lab2: + continue; + lab1: + z->c = c2; + break; } + z->c = c1; } return 1; } static int r_Normalize_post(struct SN_env * z) { /* forwardmode */ int among_var; - { int c1 = z->c; /* do, line 335 */ - z->lb = z->c; z->c = z->l; /* backwards, line 337 */ - - z->ket = z->c; /* [, line 338 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((124 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab0; /* substring, line 338 */ - among_var = find_among_b(z, a_1, 5); - if (!(among_var)) goto lab0; - z->bra = z->c; /* ], line 338 */ - switch (among_var) { /* among, line 338 */ - case 0: goto lab0; - case 1: - { int ret = slice_from_s(z, 2, s_50); /* <-, line 339 */ - if (ret < 0) return ret; - } - break; - case 2: - { int ret = slice_from_s(z, 2, s_51); /* <-, line 340 */ - if (ret < 0) return ret; - } - break; - case 3: - { int ret = slice_from_s(z, 2, s_52); /* <-, line 341 */ - if (ret < 0) return ret; - } - break; + { int c1 = z->c; /* do, line 318 */ + z->lb = z->c; z->c = z->l; /* backwards, line 320 */ + + z->ket = z->c; /* [, line 321 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((124 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab0; /* substring, line 321 */ + if (!(find_among_b(z, a_1, 5))) goto lab0; + z->bra = z->c; /* ], line 321 */ + { int ret = slice_from_s(z, 2, s_50); /* <-, line 322 */ + if (ret < 0) return ret; } z->c = z->lb; lab0: z->c = c1; } - { int c2 = z->c; /* do, line 346 */ - { int i; for (i = z->I[0]; i > 0; i--) /* loop, line 346 */ - { { int c3 = z->c; /* or, line 355 */ - z->bra = z->c; /* [, line 349 */ - if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 5 || !((124 >> (z->p[z->c + 1] & 0x1f)) & 1)) goto lab3; /* substring, line 349 */ - among_var = find_among(z, a_2, 5); - if (!(among_var)) goto lab3; - z->ket = z->c; /* ], line 349 */ - switch (among_var) { /* among, line 349 */ - case 0: goto lab3; - case 1: - { int ret = slice_from_s(z, 2, s_53); /* <-, line 350 */ - if (ret < 0) return ret; - } - break; - case 2: - { int ret = slice_from_s(z, 2, s_54); /* <-, line 351 */ - if (ret < 0) return ret; - } - break; - case 3: - { int ret = slice_from_s(z, 2, s_55); /* <-, line 352 */ - if (ret < 0) return ret; - } - break; - } - goto lab2; - lab3: - z->c = c3; - { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); - if (ret < 0) goto lab1; - z->c = ret; /* next, line 356 */ - } + { int c2 = z->c; /* do, line 329 */ +/* repeat, line 329 */ + + while(1) { int c3 = z->c; + { int c4 = z->c; /* or, line 338 */ + z->bra = z->c; /* [, line 332 */ + if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 5 || !((124 >> (z->p[z->c + 1] & 0x1f)) & 1)) goto lab4; /* substring, line 332 */ + among_var = find_among(z, a_2, 5); + if (!(among_var)) goto lab4; + z->ket = z->c; /* ], line 332 */ + switch (among_var) { /* among, line 332 */ + case 1: + { int ret = slice_from_s(z, 2, s_51); /* <-, line 333 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 2, s_52); /* <-, line 334 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 2, s_53); /* <-, line 335 */ + if (ret < 0) return ret; + } + break; + } + goto lab3; + lab4: + z->c = c4; + { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); + if (ret < 0) goto lab2; + z->c = ret; /* next, line 339 */ } - lab2: - ; } + lab3: + continue; + lab2: + z->c = c3; + break; } - lab1: z->c = c2; } return 1; @@ -1089,25 +1023,23 @@ static int r_Normalize_post(struct SN_env * z) { /* forwardmode */ static int r_Checks1(struct SN_env * z) { /* forwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 362 */ - z->bra = z->c; /* [, line 363 */ - if (z->c + 3 >= z->l || (z->p[z->c + 3] != 132 && z->p[z->c + 3] != 167)) return 0; /* substring, line 363 */ + z->bra = z->c; /* [, line 345 */ + if (z->c + 3 >= z->l || (z->p[z->c + 3] != 132 && z->p[z->c + 3] != 167)) return 0; /* substring, line 345 */ among_var = find_among(z, a_3, 4); if (!(among_var)) return 0; - z->ket = z->c; /* ], line 363 */ - switch (among_var) { /* among, line 363 */ - case 0: return 0; + z->ket = z->c; /* ], line 345 */ + switch (among_var) { /* among, line 345 */ case 1: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 364 */ - z->B[0] = 1; /* set is_noun, line 364 */ - z->B[1] = 0; /* unset is_verb, line 364 */ - z->B[2] = 1; /* set is_defined, line 364 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 346 */ + z->B[0] = 1; /* set is_noun, line 346 */ + z->B[1] = 0; /* unset is_verb, line 346 */ + z->B[2] = 1; /* set is_defined, line 346 */ break; case 2: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 365 */ - z->B[0] = 1; /* set is_noun, line 365 */ - z->B[1] = 0; /* unset is_verb, line 365 */ - z->B[2] = 1; /* set is_defined, line 365 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 347 */ + z->B[0] = 1; /* set is_noun, line 347 */ + z->B[1] = 0; /* unset is_verb, line 347 */ + z->B[2] = 1; /* set is_defined, line 347 */ break; } return 1; @@ -1115,41 +1047,33 @@ static int r_Checks1(struct SN_env * z) { /* forwardmode */ static int r_Prefix_Step1(struct SN_env * z) { /* forwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 372 */ - z->bra = z->c; /* [, line 373 */ - if (z->c + 3 >= z->l || z->p[z->c + 3] >> 5 != 5 || !((188 >> (z->p[z->c + 3] & 0x1f)) & 1)) return 0; /* substring, line 373 */ + z->bra = z->c; /* [, line 354 */ + if (z->c + 3 >= z->l || z->p[z->c + 3] >> 5 != 5 || !((188 >> (z->p[z->c + 3] & 0x1f)) & 1)) return 0; /* substring, line 354 */ among_var = find_among(z, a_4, 5); if (!(among_var)) return 0; - z->ket = z->c; /* ], line 373 */ - switch (among_var) { /* among, line 373 */ - case 0: return 0; + z->ket = z->c; /* ], line 354 */ + switch (among_var) { /* among, line 354 */ case 1: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 374 */ - { int ret = slice_from_s(z, 2, s_56); /* <-, line 374 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 355 */ + { int ret = slice_from_s(z, 2, s_54); /* <-, line 355 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 375 */ - { int ret = slice_from_s(z, 2, s_57); /* <-, line 375 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 356 */ + { int ret = slice_from_s(z, 2, s_55); /* <-, line 356 */ if (ret < 0) return ret; } break; case 3: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 376 */ - { int ret = slice_from_s(z, 2, s_58); /* <-, line 376 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 358 */ + { int ret = slice_from_s(z, 2, s_56); /* <-, line 358 */ if (ret < 0) return ret; } break; case 4: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 377 */ - { int ret = slice_from_s(z, 2, s_59); /* <-, line 377 */ - if (ret < 0) return ret; - } - break; - case 5: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 378 */ - { int ret = slice_from_s(z, 2, s_60); /* <-, line 378 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 359 */ + { int ret = slice_from_s(z, 2, s_57); /* <-, line 359 */ if (ret < 0) return ret; } break; @@ -1158,62 +1082,46 @@ static int r_Prefix_Step1(struct SN_env * z) { /* forwardmode */ } static int r_Prefix_Step2(struct SN_env * z) { /* forwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 384 */ - { int c1 = z->c; /* not, line 385 */ - if (!(eq_s(z, 4, s_61))) goto lab0; /* literal, line 385 */ + { int c1 = z->c; /* not, line 365 */ + if (!(eq_s(z, 4, s_58))) goto lab0; /* literal, line 365 */ return 0; lab0: z->c = c1; } - { int c2 = z->c; /* not, line 386 */ - if (!(eq_s(z, 4, s_62))) goto lab1; /* literal, line 386 */ + { int c2 = z->c; /* not, line 366 */ + if (!(eq_s(z, 4, s_59))) goto lab1; /* literal, line 366 */ return 0; lab1: z->c = c2; } - z->bra = z->c; /* [, line 387 */ - if (z->c + 1 >= z->l || (z->p[z->c + 1] != 129 && z->p[z->c + 1] != 136)) return 0; /* substring, line 387 */ - among_var = find_among(z, a_5, 2); - if (!(among_var)) return 0; - z->ket = z->c; /* ], line 387 */ - switch (among_var) { /* among, line 387 */ - case 0: return 0; - case 1: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 388 */ - { int ret = slice_del(z); /* delete, line 388 */ - if (ret < 0) return ret; - } - break; - case 2: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 389 */ - { int ret = slice_del(z); /* delete, line 389 */ - if (ret < 0) return ret; - } - break; + z->bra = z->c; /* [, line 367 */ + if (z->c + 1 >= z->l || (z->p[z->c + 1] != 129 && z->p[z->c + 1] != 136)) return 0; /* substring, line 367 */ + if (!(find_among(z, a_5, 2))) return 0; + z->ket = z->c; /* ], line 367 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 368 */ + { int ret = slice_del(z); /* delete, line 368 */ + if (ret < 0) return ret; } return 1; } static int r_Prefix_Step3a_Noun(struct SN_env * z) { /* forwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 394 */ - z->bra = z->c; /* [, line 395 */ - if (z->c + 3 >= z->l || (z->p[z->c + 3] != 132 && z->p[z->c + 3] != 167)) return 0; /* substring, line 395 */ + z->bra = z->c; /* [, line 374 */ + if (z->c + 3 >= z->l || (z->p[z->c + 3] != 132 && z->p[z->c + 3] != 167)) return 0; /* substring, line 374 */ among_var = find_among(z, a_6, 4); if (!(among_var)) return 0; - z->ket = z->c; /* ], line 395 */ - switch (among_var) { /* among, line 395 */ - case 0: return 0; + z->ket = z->c; /* ], line 374 */ + switch (among_var) { /* among, line 374 */ case 1: - if (!(z->I[0] > 5)) return 0; /* $word_len > , line 396 */ - { int ret = slice_del(z); /* delete, line 396 */ + if (!(len_utf8(z->p) > 5)) return 0; /* $( > ), line 375 */ + { int ret = slice_del(z); /* delete, line 375 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 397 */ - { int ret = slice_del(z); /* delete, line 397 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 376 */ + { int ret = slice_del(z); /* delete, line 376 */ if (ret < 0) return ret; } break; @@ -1223,35 +1131,33 @@ static int r_Prefix_Step3a_Noun(struct SN_env * z) { /* forwardmode */ static int r_Prefix_Step3b_Noun(struct SN_env * z) { /* forwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 402 */ - { int c1 = z->c; /* not, line 403 */ - if (!(eq_s(z, 4, s_63))) goto lab0; /* literal, line 403 */ + { int c1 = z->c; /* not, line 381 */ + if (!(eq_s(z, 4, s_60))) goto lab0; /* literal, line 381 */ return 0; lab0: z->c = c1; } - z->bra = z->c; /* [, line 404 */ - if (z->c + 1 >= z->l || (z->p[z->c + 1] != 168 && z->p[z->c + 1] != 131)) return 0; /* substring, line 404 */ + z->bra = z->c; /* [, line 382 */ + if (z->c + 1 >= z->l || (z->p[z->c + 1] != 168 && z->p[z->c + 1] != 131)) return 0; /* substring, line 382 */ among_var = find_among(z, a_7, 3); if (!(among_var)) return 0; - z->ket = z->c; /* ], line 404 */ - switch (among_var) { /* among, line 404 */ - case 0: return 0; + z->ket = z->c; /* ], line 382 */ + switch (among_var) { /* among, line 382 */ case 1: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 405 */ - { int ret = slice_del(z); /* delete, line 405 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 383 */ + { int ret = slice_del(z); /* delete, line 383 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 407 */ - { int ret = slice_from_s(z, 2, s_64); /* <-, line 407 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 385 */ + { int ret = slice_from_s(z, 2, s_61); /* <-, line 385 */ if (ret < 0) return ret; } break; case 3: - if (!(z->I[0] > 3)) return 0; /* $word_len > , line 408 */ - { int ret = slice_from_s(z, 2, s_65); /* <-, line 408 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 386 */ + { int ret = slice_from_s(z, 2, s_62); /* <-, line 386 */ if (ret < 0) return ret; } break; @@ -1261,34 +1167,32 @@ static int r_Prefix_Step3b_Noun(struct SN_env * z) { /* forwardmode */ static int r_Prefix_Step3_Verb(struct SN_env * z) { /* forwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 414 */ - z->bra = z->c; /* [, line 415 */ - among_var = find_among(z, a_8, 4); /* substring, line 415 */ + z->bra = z->c; /* [, line 392 */ + among_var = find_among(z, a_8, 4); /* substring, line 392 */ if (!(among_var)) return 0; - z->ket = z->c; /* ], line 415 */ - switch (among_var) { /* among, line 415 */ - case 0: return 0; + z->ket = z->c; /* ], line 392 */ + switch (among_var) { /* among, line 392 */ case 1: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 417 */ - { int ret = slice_from_s(z, 2, s_66); /* <-, line 417 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 394 */ + { int ret = slice_from_s(z, 2, s_63); /* <-, line 394 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 418 */ - { int ret = slice_from_s(z, 2, s_67); /* <-, line 418 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 395 */ + { int ret = slice_from_s(z, 2, s_64); /* <-, line 395 */ if (ret < 0) return ret; } break; case 3: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 419 */ - { int ret = slice_from_s(z, 2, s_68); /* <-, line 419 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 396 */ + { int ret = slice_from_s(z, 2, s_65); /* <-, line 396 */ if (ret < 0) return ret; } break; case 4: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 420 */ - { int ret = slice_from_s(z, 2, s_69); /* <-, line 420 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 397 */ + { int ret = slice_from_s(z, 2, s_66); /* <-, line 397 */ if (ret < 0) return ret; } break; @@ -1297,51 +1201,41 @@ static int r_Prefix_Step3_Verb(struct SN_env * z) { /* forwardmode */ } static int r_Prefix_Step4_Verb(struct SN_env * z) { /* forwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 425 */ - z->bra = z->c; /* [, line 426 */ - if (z->c + 5 >= z->l || z->p[z->c + 5] != 170) return 0; /* substring, line 426 */ - among_var = find_among(z, a_9, 3); - if (!(among_var)) return 0; - z->ket = z->c; /* ], line 426 */ - switch (among_var) { /* among, line 426 */ - case 0: return 0; - case 1: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 427 */ - z->B[1] = 1; /* set is_verb, line 427 */ - z->B[0] = 0; /* unset is_noun, line 427 */ - { int ret = slice_from_s(z, 6, s_70); /* <-, line 427 */ - if (ret < 0) return ret; - } - break; + z->bra = z->c; /* [, line 402 */ + if (z->c + 5 >= z->l || z->p[z->c + 5] != 170) return 0; /* substring, line 402 */ + if (!(find_among(z, a_9, 3))) return 0; + z->ket = z->c; /* ], line 402 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 403 */ + z->B[1] = 1; /* set is_verb, line 403 */ + z->B[0] = 0; /* unset is_noun, line 403 */ + { int ret = slice_from_s(z, 6, s_67); /* <-, line 403 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Noun_Step1a(struct SN_env * z) { /* backwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 435 */ - z->ket = z->c; /* [, line 436 */ - among_var = find_among_b(z, a_10, 10); /* substring, line 436 */ + z->ket = z->c; /* [, line 411 */ + among_var = find_among_b(z, a_10, 10); /* substring, line 411 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 436 */ - switch (among_var) { /* among, line 436 */ - case 0: return 0; + z->bra = z->c; /* ], line 411 */ + switch (among_var) { /* among, line 411 */ case 1: - if (!(z->I[0] >= 4)) return 0; /* $word_len >= , line 437 */ - { int ret = slice_del(z); /* delete, line 437 */ + if (!(len_utf8(z->p) >= 4)) return 0; /* $( >= ), line 412 */ + { int ret = slice_del(z); /* delete, line 412 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] >= 5)) return 0; /* $word_len >= , line 438 */ - { int ret = slice_del(z); /* delete, line 438 */ + if (!(len_utf8(z->p) >= 5)) return 0; /* $( >= ), line 413 */ + { int ret = slice_del(z); /* delete, line 413 */ if (ret < 0) return ret; } break; case 3: - if (!(z->I[0] >= 6)) return 0; /* $word_len >= , line 439 */ - { int ret = slice_del(z); /* delete, line 439 */ + if (!(len_utf8(z->p) >= 6)) return 0; /* $( >= ), line 414 */ + { int ret = slice_del(z); /* delete, line 414 */ if (ret < 0) return ret; } break; @@ -1350,148 +1244,98 @@ static int r_Suffix_Noun_Step1a(struct SN_env * z) { /* backwardmode */ } static int r_Suffix_Noun_Step1b(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 443 */ - z->ket = z->c; /* [, line 444 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 134) return 0; /* substring, line 444 */ - among_var = find_among_b(z, a_11, 1); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 444 */ - switch (among_var) { /* among, line 444 */ - case 0: return 0; - case 1: - if (!(z->I[0] > 5)) return 0; /* $word_len > , line 445 */ - { int ret = slice_del(z); /* delete, line 445 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 418 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 134) return 0; /* substring, line 418 */ + if (!(find_among_b(z, a_11, 1))) return 0; + z->bra = z->c; /* ], line 418 */ + if (!(len_utf8(z->p) > 5)) return 0; /* $( > ), line 419 */ + { int ret = slice_del(z); /* delete, line 419 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Noun_Step2a(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 450 */ - z->ket = z->c; /* [, line 451 */ - among_var = find_among_b(z, a_12, 3); /* substring, line 451 */ - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 451 */ - switch (among_var) { /* among, line 451 */ - case 0: return 0; - case 1: - if (!(z->I[0] > 4)) return 0; /* $word_len > , line 452 */ - { int ret = slice_del(z); /* delete, line 452 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 424 */ + if (!(find_among_b(z, a_12, 3))) return 0; /* substring, line 424 */ + z->bra = z->c; /* ], line 424 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 425 */ + { int ret = slice_del(z); /* delete, line 425 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Noun_Step2b(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 457 */ - z->ket = z->c; /* [, line 458 */ - if (z->c - 3 <= z->lb || z->p[z->c - 1] != 170) return 0; /* substring, line 458 */ - among_var = find_among_b(z, a_13, 1); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 458 */ - switch (among_var) { /* among, line 458 */ - case 0: return 0; - case 1: - if (!(z->I[0] >= 5)) return 0; /* $word_len >= , line 459 */ - { int ret = slice_del(z); /* delete, line 459 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 430 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] != 170) return 0; /* substring, line 430 */ + if (!(find_among_b(z, a_13, 1))) return 0; + z->bra = z->c; /* ], line 430 */ + if (!(len_utf8(z->p) >= 5)) return 0; /* $( >= ), line 431 */ + { int ret = slice_del(z); /* delete, line 431 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Noun_Step2c1(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 464 */ - z->ket = z->c; /* [, line 465 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 170) return 0; /* substring, line 465 */ - among_var = find_among_b(z, a_14, 1); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 465 */ - switch (among_var) { /* among, line 465 */ - case 0: return 0; - case 1: - if (!(z->I[0] >= 4)) return 0; /* $word_len >= , line 466 */ - { int ret = slice_del(z); /* delete, line 466 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 436 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 170) return 0; /* substring, line 436 */ + if (!(find_among_b(z, a_14, 1))) return 0; + z->bra = z->c; /* ], line 436 */ + if (!(len_utf8(z->p) >= 4)) return 0; /* $( >= ), line 437 */ + { int ret = slice_del(z); /* delete, line 437 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Noun_Step2c2(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 470 */ - z->ket = z->c; /* [, line 471 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 169) return 0; /* substring, line 471 */ - among_var = find_among_b(z, a_15, 1); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 471 */ - switch (among_var) { /* among, line 471 */ - case 0: return 0; - case 1: - if (!(z->I[0] >= 4)) return 0; /* $word_len >= , line 472 */ - { int ret = slice_del(z); /* delete, line 472 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 441 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 169) return 0; /* substring, line 441 */ + if (!(find_among_b(z, a_15, 1))) return 0; + z->bra = z->c; /* ], line 441 */ + if (!(len_utf8(z->p) >= 4)) return 0; /* $( >= ), line 442 */ + { int ret = slice_del(z); /* delete, line 442 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Noun_Step3(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 476 */ - z->ket = z->c; /* [, line 477 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 138) return 0; /* substring, line 477 */ - among_var = find_among_b(z, a_16, 1); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 477 */ - switch (among_var) { /* among, line 477 */ - case 0: return 0; - case 1: - if (!(z->I[0] >= 3)) return 0; /* $word_len >= , line 478 */ - { int ret = slice_del(z); /* delete, line 478 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 446 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 138) return 0; /* substring, line 446 */ + if (!(find_among_b(z, a_16, 1))) return 0; + z->bra = z->c; /* ], line 446 */ + if (!(len_utf8(z->p) >= 3)) return 0; /* $( >= ), line 447 */ + { int ret = slice_del(z); /* delete, line 447 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Verb_Step1(struct SN_env * z) { /* backwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 483 */ - z->ket = z->c; /* [, line 484 */ - among_var = find_among_b(z, a_17, 12); /* substring, line 484 */ + z->ket = z->c; /* [, line 452 */ + among_var = find_among_b(z, a_17, 12); /* substring, line 452 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 484 */ - switch (among_var) { /* among, line 484 */ - case 0: return 0; + z->bra = z->c; /* ], line 452 */ + switch (among_var) { /* among, line 452 */ case 1: - if (!(z->I[0] >= 4)) return 0; /* $word_len >= , line 485 */ - { int ret = slice_del(z); /* delete, line 485 */ + if (!(len_utf8(z->p) >= 4)) return 0; /* $( >= ), line 453 */ + { int ret = slice_del(z); /* delete, line 453 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] >= 5)) return 0; /* $word_len >= , line 486 */ - { int ret = slice_del(z); /* delete, line 486 */ + if (!(len_utf8(z->p) >= 5)) return 0; /* $( >= ), line 454 */ + { int ret = slice_del(z); /* delete, line 454 */ if (ret < 0) return ret; } break; case 3: - if (!(z->I[0] >= 6)) return 0; /* $word_len >= , line 487 */ - { int ret = slice_del(z); /* delete, line 487 */ + if (!(len_utf8(z->p) >= 6)) return 0; /* $( >= ), line 455 */ + { int ret = slice_del(z); /* delete, line 455 */ if (ret < 0) return ret; } break; @@ -1501,40 +1345,32 @@ static int r_Suffix_Verb_Step1(struct SN_env * z) { /* backwardmode */ static int r_Suffix_Verb_Step2a(struct SN_env * z) { /* backwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 491 */ - z->ket = z->c; /* [, line 492 */ - among_var = find_among_b(z, a_18, 11); /* substring, line 492 */ + z->ket = z->c; /* [, line 459 */ + among_var = find_among_b(z, a_18, 11); /* substring, line 459 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 492 */ - switch (among_var) { /* among, line 492 */ - case 0: return 0; + z->bra = z->c; /* ], line 459 */ + switch (among_var) { /* among, line 459 */ case 1: - if (!(z->I[0] >= 4)) return 0; /* $word_len >= , line 493 */ - { int ret = slice_del(z); /* delete, line 493 */ + if (!(len_utf8(z->p) >= 4)) return 0; /* $( >= ), line 460 */ + { int ret = slice_del(z); /* delete, line 460 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] >= 4)) return 0; /* $word_len >= , line 494 */ - { int ret = slice_del(z); /* delete, line 494 */ + if (!(len_utf8(z->p) >= 5)) return 0; /* $( >= ), line 462 */ + { int ret = slice_del(z); /* delete, line 462 */ if (ret < 0) return ret; } break; case 3: - if (!(z->I[0] >= 5)) return 0; /* $word_len >= , line 495 */ - { int ret = slice_del(z); /* delete, line 495 */ + if (!(len_utf8(z->p) > 5)) return 0; /* $( > ), line 463 */ + { int ret = slice_del(z); /* delete, line 463 */ if (ret < 0) return ret; } break; case 4: - if (!(z->I[0] > 5)) return 0; /* $word_len > , line 496 */ - { int ret = slice_del(z); /* delete, line 496 */ - if (ret < 0) return ret; - } - break; - case 5: - if (!(z->I[0] >= 6)) return 0; /* $word_len >= , line 497 */ - { int ret = slice_del(z); /* delete, line 497 */ + if (!(len_utf8(z->p) >= 6)) return 0; /* $( >= ), line 464 */ + { int ret = slice_del(z); /* delete, line 464 */ if (ret < 0) return ret; } break; @@ -1543,44 +1379,34 @@ static int r_Suffix_Verb_Step2a(struct SN_env * z) { /* backwardmode */ } static int r_Suffix_Verb_Step2b(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 502 */ - z->ket = z->c; /* [, line 503 */ - if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 133 && z->p[z->c - 1] != 167)) return 0; /* substring, line 503 */ - among_var = find_among_b(z, a_19, 2); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 503 */ - switch (among_var) { /* among, line 503 */ - case 0: return 0; - case 1: - if (!(z->I[0] >= 5)) return 0; /* $word_len >= , line 504 */ - { int ret = slice_del(z); /* delete, line 504 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 469 */ + if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 133 && z->p[z->c - 1] != 167)) return 0; /* substring, line 469 */ + if (!(find_among_b(z, a_19, 2))) return 0; + z->bra = z->c; /* ], line 469 */ + if (!(len_utf8(z->p) >= 5)) return 0; /* $( >= ), line 470 */ + { int ret = slice_del(z); /* delete, line 470 */ + if (ret < 0) return ret; } return 1; } static int r_Suffix_Verb_Step2c(struct SN_env * z) { /* backwardmode */ int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 510 */ - z->ket = z->c; /* [, line 511 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 136) return 0; /* substring, line 511 */ + z->ket = z->c; /* [, line 476 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 136) return 0; /* substring, line 476 */ among_var = find_among_b(z, a_20, 2); if (!(among_var)) return 0; - z->bra = z->c; /* ], line 511 */ - switch (among_var) { /* among, line 511 */ - case 0: return 0; + z->bra = z->c; /* ], line 476 */ + switch (among_var) { /* among, line 476 */ case 1: - if (!(z->I[0] >= 4)) return 0; /* $word_len >= , line 512 */ - { int ret = slice_del(z); /* delete, line 512 */ + if (!(len_utf8(z->p) >= 4)) return 0; /* $( >= ), line 477 */ + { int ret = slice_del(z); /* delete, line 477 */ if (ret < 0) return ret; } break; case 2: - if (!(z->I[0] >= 6)) return 0; /* $word_len >= , line 513 */ - { int ret = slice_del(z); /* delete, line 513 */ + if (!(len_utf8(z->p) >= 6)) return 0; /* $( >= ), line 478 */ + { int ret = slice_del(z); /* delete, line 478 */ if (ret < 0) return ret; } break; @@ -1589,282 +1415,263 @@ static int r_Suffix_Verb_Step2c(struct SN_env * z) { /* backwardmode */ } static int r_Suffix_All_alef_maqsura(struct SN_env * z) { /* backwardmode */ - int among_var; - z->I[0] = len_utf8(z->p); /* $word_len = , line 518 */ - z->ket = z->c; /* [, line 519 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 137) return 0; /* substring, line 519 */ - among_var = find_among_b(z, a_21, 1); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 519 */ - switch (among_var) { /* among, line 519 */ - case 0: return 0; - case 1: - { int ret = slice_from_s(z, 2, s_71); /* <-, line 520 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 483 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 137) return 0; /* substring, line 483 */ + if (!(find_among_b(z, a_21, 1))) return 0; + z->bra = z->c; /* ], line 483 */ + { int ret = slice_from_s(z, 2, s_68); /* <-, line 484 */ + if (ret < 0) return ret; } return 1; } extern int arabic_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - z->B[0] = 1; /* set is_noun, line 529 */ - z->B[1] = 1; /* set is_verb, line 530 */ - z->B[2] = 0; /* unset is_defined, line 531 */ - { int c1 = z->c; /* do, line 534 */ - { int ret = r_Checks1(z); /* call Checks1, line 534 */ - if (ret == 0) goto lab0; + z->B[0] = 1; /* set is_noun, line 493 */ + z->B[1] = 1; /* set is_verb, line 494 */ + z->B[2] = 0; /* unset is_defined, line 495 */ + { int c1 = z->c; /* do, line 498 */ + { int ret = r_Checks1(z); /* call Checks1, line 498 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 537 */ - { int ret = r_Normalize_pre(z); /* call Normalize_pre, line 537 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 501 */ + { int ret = r_Normalize_pre(z); /* call Normalize_pre, line 501 */ + if (ret < 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 540 */ + z->lb = z->c; z->c = z->l; /* backwards, line 504 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 542 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 556 */ - if (!(z->B[1])) goto lab4; /* Boolean test is_verb, line 545 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 551 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 506 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 520 */ + if (!(z->B[1])) goto lab2; /* Boolean test is_verb, line 509 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 515 */ { int i = 1; - while(1) { /* atleast, line 548 */ - int m6 = z->l - z->c; (void)m6; - { int ret = r_Suffix_Verb_Step1(z); /* call Suffix_Verb_Step1, line 548 */ - if (ret == 0) goto lab7; + while(1) { int m5 = z->l - z->c; (void)m5; + { int ret = r_Suffix_Verb_Step1(z); /* call Suffix_Verb_Step1, line 512 */ + if (ret == 0) goto lab5; if (ret < 0) return ret; } i--; continue; - lab7: - z->c = z->l - m6; + lab5: + z->c = z->l - m5; break; } - if (i > 0) goto lab6; + if (i > 0) goto lab4; } - { int m7 = z->l - z->c; (void)m7; /* or, line 549 */ - { int ret = r_Suffix_Verb_Step2a(z); /* call Suffix_Verb_Step2a, line 549 */ - if (ret == 0) goto lab9; + { int m6 = z->l - z->c; (void)m6; /* or, line 513 */ + { int ret = r_Suffix_Verb_Step2a(z); /* call Suffix_Verb_Step2a, line 513 */ + if (ret == 0) goto lab7; if (ret < 0) return ret; } - goto lab8; - lab9: - z->c = z->l - m7; - { int ret = r_Suffix_Verb_Step2c(z); /* call Suffix_Verb_Step2c, line 549 */ - if (ret == 0) goto lab10; + goto lab6; + lab7: + z->c = z->l - m6; + { int ret = r_Suffix_Verb_Step2c(z); /* call Suffix_Verb_Step2c, line 513 */ + if (ret == 0) goto lab8; if (ret < 0) return ret; } - goto lab8; - lab10: - z->c = z->l - m7; + goto lab6; + lab8: + z->c = z->l - m6; { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); - if (ret < 0) goto lab6; - z->c = ret; /* next, line 549 */ + if (ret < 0) goto lab4; + z->c = ret; /* next, line 513 */ } } - lab8: - goto lab5; lab6: - z->c = z->l - m5; - { int ret = r_Suffix_Verb_Step2b(z); /* call Suffix_Verb_Step2b, line 551 */ - if (ret == 0) goto lab11; + goto lab3; + lab4: + z->c = z->l - m4; + { int ret = r_Suffix_Verb_Step2b(z); /* call Suffix_Verb_Step2b, line 515 */ + if (ret == 0) goto lab9; if (ret < 0) return ret; } - goto lab5; - lab11: - z->c = z->l - m5; - { int ret = r_Suffix_Verb_Step2a(z); /* call Suffix_Verb_Step2a, line 552 */ - if (ret == 0) goto lab4; + goto lab3; + lab9: + z->c = z->l - m4; + { int ret = r_Suffix_Verb_Step2a(z); /* call Suffix_Verb_Step2a, line 516 */ + if (ret == 0) goto lab2; if (ret < 0) return ret; } } - lab5: - goto lab3; - lab4: - z->c = z->l - m4; - if (!(z->B[0])) goto lab12; /* Boolean test is_noun, line 557 */ - { int m8 = z->l - z->c; (void)m8; /* try, line 560 */ - { int m9 = z->l - z->c; (void)m9; /* or, line 562 */ - { int ret = r_Suffix_Noun_Step2c2(z); /* call Suffix_Noun_Step2c2, line 561 */ - if (ret == 0) goto lab15; + lab3: + goto lab1; + lab2: + z->c = z->l - m3; + if (!(z->B[0])) goto lab10; /* Boolean test is_noun, line 521 */ + { int m7 = z->l - z->c; (void)m7; /* try, line 524 */ + { int m8 = z->l - z->c; (void)m8; /* or, line 526 */ + { int ret = r_Suffix_Noun_Step2c2(z); /* call Suffix_Noun_Step2c2, line 525 */ + if (ret == 0) goto lab13; if (ret < 0) return ret; } + goto lab12; + lab13: + z->c = z->l - m8; + /* not, line 526 */ + if (!(z->B[2])) goto lab15; /* Boolean test is_defined, line 526 */ goto lab14; lab15: - z->c = z->l - m9; - /* not, line 562 */ - if (!(z->B[2])) goto lab17; /* Boolean test is_defined, line 562 */ - goto lab16; - lab17: - { int ret = r_Suffix_Noun_Step1a(z); /* call Suffix_Noun_Step1a, line 562 */ - if (ret == 0) goto lab16; + { int ret = r_Suffix_Noun_Step1a(z); /* call Suffix_Noun_Step1a, line 526 */ + if (ret == 0) goto lab14; if (ret < 0) return ret; } - { int m10 = z->l - z->c; (void)m10; /* or, line 564 */ - { int ret = r_Suffix_Noun_Step2a(z); /* call Suffix_Noun_Step2a, line 563 */ - if (ret == 0) goto lab19; + { int m9 = z->l - z->c; (void)m9; /* or, line 528 */ + { int ret = r_Suffix_Noun_Step2a(z); /* call Suffix_Noun_Step2a, line 527 */ + if (ret == 0) goto lab17; if (ret < 0) return ret; } - goto lab18; - lab19: - z->c = z->l - m10; - { int ret = r_Suffix_Noun_Step2b(z); /* call Suffix_Noun_Step2b, line 564 */ - if (ret == 0) goto lab20; + goto lab16; + lab17: + z->c = z->l - m9; + { int ret = r_Suffix_Noun_Step2b(z); /* call Suffix_Noun_Step2b, line 528 */ + if (ret == 0) goto lab18; if (ret < 0) return ret; } - goto lab18; - lab20: - z->c = z->l - m10; - { int ret = r_Suffix_Noun_Step2c1(z); /* call Suffix_Noun_Step2c1, line 565 */ - if (ret == 0) goto lab21; + goto lab16; + lab18: + z->c = z->l - m9; + { int ret = r_Suffix_Noun_Step2c1(z); /* call Suffix_Noun_Step2c1, line 529 */ + if (ret == 0) goto lab19; if (ret < 0) return ret; } - goto lab18; - lab21: - z->c = z->l - m10; + goto lab16; + lab19: + z->c = z->l - m9; { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); - if (ret < 0) goto lab16; - z->c = ret; /* next, line 566 */ + if (ret < 0) goto lab14; + z->c = ret; /* next, line 530 */ } } - lab18: - goto lab14; lab16: - z->c = z->l - m9; - { int ret = r_Suffix_Noun_Step1b(z); /* call Suffix_Noun_Step1b, line 567 */ - if (ret == 0) goto lab22; + goto lab12; + lab14: + z->c = z->l - m8; + { int ret = r_Suffix_Noun_Step1b(z); /* call Suffix_Noun_Step1b, line 531 */ + if (ret == 0) goto lab20; if (ret < 0) return ret; } - { int m11 = z->l - z->c; (void)m11; /* or, line 569 */ - { int ret = r_Suffix_Noun_Step2a(z); /* call Suffix_Noun_Step2a, line 568 */ - if (ret == 0) goto lab24; + { int m10 = z->l - z->c; (void)m10; /* or, line 533 */ + { int ret = r_Suffix_Noun_Step2a(z); /* call Suffix_Noun_Step2a, line 532 */ + if (ret == 0) goto lab22; if (ret < 0) return ret; } - goto lab23; - lab24: - z->c = z->l - m11; - { int ret = r_Suffix_Noun_Step2b(z); /* call Suffix_Noun_Step2b, line 569 */ - if (ret == 0) goto lab25; + goto lab21; + lab22: + z->c = z->l - m10; + { int ret = r_Suffix_Noun_Step2b(z); /* call Suffix_Noun_Step2b, line 533 */ + if (ret == 0) goto lab23; if (ret < 0) return ret; } - goto lab23; - lab25: - z->c = z->l - m11; - { int ret = r_Suffix_Noun_Step2c1(z); /* call Suffix_Noun_Step2c1, line 570 */ - if (ret == 0) goto lab22; + goto lab21; + lab23: + z->c = z->l - m10; + { int ret = r_Suffix_Noun_Step2c1(z); /* call Suffix_Noun_Step2c1, line 534 */ + if (ret == 0) goto lab20; if (ret < 0) return ret; } } - lab23: - goto lab14; - lab22: - z->c = z->l - m9; - /* not, line 571 */ - if (!(z->B[2])) goto lab27; /* Boolean test is_defined, line 571 */ - goto lab26; - lab27: - { int ret = r_Suffix_Noun_Step2a(z); /* call Suffix_Noun_Step2a, line 571 */ - if (ret == 0) goto lab26; + lab21: + goto lab12; + lab20: + z->c = z->l - m8; + /* not, line 535 */ + if (!(z->B[2])) goto lab25; /* Boolean test is_defined, line 535 */ + goto lab24; + lab25: + { int ret = r_Suffix_Noun_Step2a(z); /* call Suffix_Noun_Step2a, line 535 */ + if (ret == 0) goto lab24; if (ret < 0) return ret; } - goto lab14; - lab26: - z->c = z->l - m9; - { int ret = r_Suffix_Noun_Step2b(z); /* call Suffix_Noun_Step2b, line 572 */ - if (ret == 0) { z->c = z->l - m8; goto lab13; } + goto lab12; + lab24: + z->c = z->l - m8; + { int ret = r_Suffix_Noun_Step2b(z); /* call Suffix_Noun_Step2b, line 536 */ + if (ret == 0) { z->c = z->l - m7; goto lab11; } if (ret < 0) return ret; } } - lab14: - lab13: + lab12: + lab11: ; } - { int ret = r_Suffix_Noun_Step3(z); /* call Suffix_Noun_Step3, line 574 */ - if (ret == 0) goto lab12; + { int ret = r_Suffix_Noun_Step3(z); /* call Suffix_Noun_Step3, line 538 */ + if (ret == 0) goto lab10; if (ret < 0) return ret; } - goto lab3; - lab12: - z->c = z->l - m4; - { int ret = r_Suffix_All_alef_maqsura(z); /* call Suffix_All_alef_maqsura, line 580 */ - if (ret == 0) goto lab2; + goto lab1; + lab10: + z->c = z->l - m3; + { int ret = r_Suffix_All_alef_maqsura(z); /* call Suffix_All_alef_maqsura, line 544 */ + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab3: - lab2: - z->c = z->l - m3; + lab1: + lab0: + z->c = z->l - m2; } z->c = z->lb; - { int c12 = z->c; /* do, line 585 */ - { int c13 = z->c; /* try, line 586 */ - { int ret = r_Prefix_Step1(z); /* call Prefix_Step1, line 586 */ - if (ret == 0) { z->c = c13; goto lab29; } + { int c11 = z->c; /* do, line 549 */ + { int c12 = z->c; /* try, line 550 */ + { int ret = r_Prefix_Step1(z); /* call Prefix_Step1, line 550 */ + if (ret == 0) { z->c = c12; goto lab27; } if (ret < 0) return ret; } - lab29: + lab27: ; } - { int c14 = z->c; /* try, line 587 */ - { int ret = r_Prefix_Step2(z); /* call Prefix_Step2, line 587 */ - if (ret == 0) { z->c = c14; goto lab30; } + { int c13 = z->c; /* try, line 551 */ + { int ret = r_Prefix_Step2(z); /* call Prefix_Step2, line 551 */ + if (ret == 0) { z->c = c13; goto lab28; } if (ret < 0) return ret; } - lab30: + lab28: ; } - { int c15 = z->c; /* or, line 589 */ - { int ret = r_Prefix_Step3a_Noun(z); /* call Prefix_Step3a_Noun, line 588 */ - if (ret == 0) goto lab32; + { int c14 = z->c; /* or, line 553 */ + { int ret = r_Prefix_Step3a_Noun(z); /* call Prefix_Step3a_Noun, line 552 */ + if (ret == 0) goto lab30; if (ret < 0) return ret; } - goto lab31; - lab32: - z->c = c15; - if (!(z->B[0])) goto lab33; /* Boolean test is_noun, line 589 */ - { int ret = r_Prefix_Step3b_Noun(z); /* call Prefix_Step3b_Noun, line 589 */ - if (ret == 0) goto lab33; + goto lab29; + lab30: + z->c = c14; + if (!(z->B[0])) goto lab31; /* Boolean test is_noun, line 553 */ + { int ret = r_Prefix_Step3b_Noun(z); /* call Prefix_Step3b_Noun, line 553 */ + if (ret == 0) goto lab31; if (ret < 0) return ret; } - goto lab31; - lab33: - z->c = c15; - if (!(z->B[1])) goto lab28; /* Boolean test is_verb, line 590 */ - { int c16 = z->c; /* try, line 590 */ - { int ret = r_Prefix_Step3_Verb(z); /* call Prefix_Step3_Verb, line 590 */ - if (ret == 0) { z->c = c16; goto lab34; } + goto lab29; + lab31: + z->c = c14; + if (!(z->B[1])) goto lab26; /* Boolean test is_verb, line 554 */ + { int c15 = z->c; /* try, line 554 */ + { int ret = r_Prefix_Step3_Verb(z); /* call Prefix_Step3_Verb, line 554 */ + if (ret == 0) { z->c = c15; goto lab32; } if (ret < 0) return ret; } - lab34: + lab32: ; } - { int ret = r_Prefix_Step4_Verb(z); /* call Prefix_Step4_Verb, line 590 */ - if (ret == 0) goto lab28; + { int ret = r_Prefix_Step4_Verb(z); /* call Prefix_Step4_Verb, line 554 */ + if (ret == 0) goto lab26; if (ret < 0) return ret; } } - lab31: - lab28: - z->c = c12; + lab29: + lab26: + z->c = c11; } - { int c17 = z->c; /* do, line 595 */ - { int ret = r_Normalize_post(z); /* call Normalize_post, line 595 */ - if (ret == 0) goto lab35; - if (ret < 0) return ret; - } - lab35: - z->c = c17; + /* do, line 559 */ + { int ret = r_Normalize_post(z); /* call Normalize_post, line 559 */ + if (ret < 0) return ret; } return 1; } -extern struct SN_env * arabic_UTF_8_create_env(void) { return SN_create_env(0, 1, 3); } +extern struct SN_env * arabic_UTF_8_create_env(void) { return SN_create_env(0, 0, 3); } extern void arabic_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } diff --git a/src/dep/snowball/src_c/stem_UTF_8_arabic.h b/src/dep/snowball/src_c/stem_UTF_8_arabic.h index 5ef61a1031..966acae965 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_arabic.h +++ b/src/dep/snowball/src_c/stem_UTF_8_arabic.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_basque.c b/src/dep/snowball/src_c/stem_UTF_8_basque.c new file mode 100644 index 0000000000..149f893d67 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_basque.c @@ -0,0 +1,1186 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int basque_UTF_8_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_R1(struct SN_env * z); +static int r_R2(struct SN_env * z); +static int r_RV(struct SN_env * z); +static int r_mark_regions(struct SN_env * z); +static int r_adjetiboak(struct SN_env * z); +static int r_izenak(struct SN_env * z); +static int r_aditzak(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * basque_UTF_8_create_env(void); +extern void basque_UTF_8_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[4] = { 'i', 'd', 'e', 'a' }; +static const symbol s_0_1[5] = { 'b', 'i', 'd', 'e', 'a' }; +static const symbol s_0_2[5] = { 'k', 'i', 'd', 'e', 'a' }; +static const symbol s_0_3[5] = { 'p', 'i', 'd', 'e', 'a' }; +static const symbol s_0_4[6] = { 'k', 'u', 'n', 'd', 'e', 'a' }; +static const symbol s_0_5[5] = { 'g', 'a', 'l', 'e', 'a' }; +static const symbol s_0_6[6] = { 't', 'a', 'i', 'l', 'e', 'a' }; +static const symbol s_0_7[7] = { 't', 'z', 'a', 'i', 'l', 'e', 'a' }; +static const symbol s_0_8[5] = { 'g', 'u', 'n', 'e', 'a' }; +static const symbol s_0_9[5] = { 'k', 'u', 'n', 'e', 'a' }; +static const symbol s_0_10[5] = { 't', 'z', 'a', 'g', 'a' }; +static const symbol s_0_11[4] = { 'g', 'a', 'i', 'a' }; +static const symbol s_0_12[5] = { 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_0_13[6] = { 't', 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_0_14[5] = { 'k', 'a', 'r', 'i', 'a' }; +static const symbol s_0_15[6] = { 'g', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_0_16[6] = { 'k', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_0_17[2] = { 'k', 'a' }; +static const symbol s_0_18[5] = { 't', 'z', 'a', 'k', 'a' }; +static const symbol s_0_19[2] = { 'l', 'a' }; +static const symbol s_0_20[4] = { 'm', 'e', 'n', 'a' }; +static const symbol s_0_21[4] = { 'p', 'e', 'n', 'a' }; +static const symbol s_0_22[4] = { 'k', 'i', 'n', 'a' }; +static const symbol s_0_23[5] = { 'e', 'z', 'i', 'n', 'a' }; +static const symbol s_0_24[6] = { 't', 'e', 'z', 'i', 'n', 'a' }; +static const symbol s_0_25[4] = { 'k', 'u', 'n', 'a' }; +static const symbol s_0_26[4] = { 't', 'u', 'n', 'a' }; +static const symbol s_0_27[6] = { 'k', 'i', 'z', 'u', 'n', 'a' }; +static const symbol s_0_28[3] = { 'e', 'r', 'a' }; +static const symbol s_0_29[4] = { 'b', 'e', 'r', 'a' }; +static const symbol s_0_30[7] = { 'a', 'r', 'a', 'b', 'e', 'r', 'a' }; +static const symbol s_0_31[4] = { 'k', 'e', 'r', 'a' }; +static const symbol s_0_32[4] = { 'p', 'e', 'r', 'a' }; +static const symbol s_0_33[4] = { 'o', 'r', 'r', 'a' }; +static const symbol s_0_34[5] = { 'k', 'o', 'r', 'r', 'a' }; +static const symbol s_0_35[4] = { 'd', 'u', 'r', 'a' }; +static const symbol s_0_36[4] = { 'g', 'u', 'r', 'a' }; +static const symbol s_0_37[4] = { 'k', 'u', 'r', 'a' }; +static const symbol s_0_38[4] = { 't', 'u', 'r', 'a' }; +static const symbol s_0_39[3] = { 'e', 't', 'a' }; +static const symbol s_0_40[4] = { 'k', 'e', 't', 'a' }; +static const symbol s_0_41[6] = { 'g', 'a', 'i', 'l', 'u', 'a' }; +static const symbol s_0_42[3] = { 'e', 'z', 'a' }; +static const symbol s_0_43[6] = { 'e', 'r', 'r', 'e', 'z', 'a' }; +static const symbol s_0_44[3] = { 't', 'z', 'a' }; +static const symbol s_0_45[6] = { 'g', 'a', 'i', 't', 'z', 'a' }; +static const symbol s_0_46[6] = { 'k', 'a', 'i', 't', 'z', 'a' }; +static const symbol s_0_47[6] = { 'k', 'u', 'n', 't', 'z', 'a' }; +static const symbol s_0_48[3] = { 'i', 'd', 'e' }; +static const symbol s_0_49[4] = { 'b', 'i', 'd', 'e' }; +static const symbol s_0_50[4] = { 'k', 'i', 'd', 'e' }; +static const symbol s_0_51[4] = { 'p', 'i', 'd', 'e' }; +static const symbol s_0_52[5] = { 'k', 'u', 'n', 'd', 'e' }; +static const symbol s_0_53[5] = { 't', 'z', 'a', 'k', 'e' }; +static const symbol s_0_54[5] = { 't', 'z', 'e', 'k', 'e' }; +static const symbol s_0_55[2] = { 'l', 'e' }; +static const symbol s_0_56[4] = { 'g', 'a', 'l', 'e' }; +static const symbol s_0_57[5] = { 't', 'a', 'i', 'l', 'e' }; +static const symbol s_0_58[6] = { 't', 'z', 'a', 'i', 'l', 'e' }; +static const symbol s_0_59[4] = { 'g', 'u', 'n', 'e' }; +static const symbol s_0_60[4] = { 'k', 'u', 'n', 'e' }; +static const symbol s_0_61[3] = { 't', 'z', 'e' }; +static const symbol s_0_62[4] = { 'a', 't', 'z', 'e' }; +static const symbol s_0_63[3] = { 'g', 'a', 'i' }; +static const symbol s_0_64[4] = { 'a', 'l', 'd', 'i' }; +static const symbol s_0_65[5] = { 't', 'a', 'l', 'd', 'i' }; +static const symbol s_0_66[2] = { 'k', 'i' }; +static const symbol s_0_67[3] = { 'a', 'r', 'i' }; +static const symbol s_0_68[4] = { 'k', 'a', 'r', 'i' }; +static const symbol s_0_69[4] = { 'l', 'a', 'r', 'i' }; +static const symbol s_0_70[4] = { 't', 'a', 'r', 'i' }; +static const symbol s_0_71[5] = { 'e', 't', 'a', 'r', 'i' }; +static const symbol s_0_72[5] = { 'g', 'a', 'r', 'r', 'i' }; +static const symbol s_0_73[5] = { 'k', 'a', 'r', 'r', 'i' }; +static const symbol s_0_74[5] = { 'a', 'r', 'a', 'z', 'i' }; +static const symbol s_0_75[6] = { 't', 'a', 'r', 'a', 'z', 'i' }; +static const symbol s_0_76[2] = { 'a', 'n' }; +static const symbol s_0_77[3] = { 'e', 'a', 'n' }; +static const symbol s_0_78[4] = { 'r', 'e', 'a', 'n' }; +static const symbol s_0_79[3] = { 'k', 'a', 'n' }; +static const symbol s_0_80[4] = { 'e', 't', 'a', 'n' }; +static const symbol s_0_81[7] = { 'a', 't', 's', 'e', 'd', 'e', 'n' }; +static const symbol s_0_82[3] = { 'm', 'e', 'n' }; +static const symbol s_0_83[3] = { 'p', 'e', 'n' }; +static const symbol s_0_84[3] = { 'k', 'i', 'n' }; +static const symbol s_0_85[5] = { 'r', 'e', 'k', 'i', 'n' }; +static const symbol s_0_86[4] = { 'e', 'z', 'i', 'n' }; +static const symbol s_0_87[5] = { 't', 'e', 'z', 'i', 'n' }; +static const symbol s_0_88[3] = { 't', 'u', 'n' }; +static const symbol s_0_89[5] = { 'k', 'i', 'z', 'u', 'n' }; +static const symbol s_0_90[2] = { 'g', 'o' }; +static const symbol s_0_91[3] = { 'a', 'g', 'o' }; +static const symbol s_0_92[3] = { 't', 'i', 'o' }; +static const symbol s_0_93[4] = { 'd', 'a', 'k', 'o' }; +static const symbol s_0_94[2] = { 'o', 'r' }; +static const symbol s_0_95[3] = { 'k', 'o', 'r' }; +static const symbol s_0_96[4] = { 't', 'z', 'a', 't' }; +static const symbol s_0_97[2] = { 'd', 'u' }; +static const symbol s_0_98[5] = { 'g', 'a', 'i', 'l', 'u' }; +static const symbol s_0_99[2] = { 't', 'u' }; +static const symbol s_0_100[3] = { 'a', 't', 'u' }; +static const symbol s_0_101[6] = { 'a', 'l', 'd', 'a', 't', 'u' }; +static const symbol s_0_102[4] = { 't', 'a', 't', 'u' }; +static const symbol s_0_103[6] = { 'b', 'a', 'd', 'i', 't', 'u' }; +static const symbol s_0_104[2] = { 'e', 'z' }; +static const symbol s_0_105[5] = { 'e', 'r', 'r', 'e', 'z' }; +static const symbol s_0_106[4] = { 't', 'z', 'e', 'z' }; +static const symbol s_0_107[5] = { 'g', 'a', 'i', 't', 'z' }; +static const symbol s_0_108[5] = { 'k', 'a', 'i', 't', 'z' }; + +static const struct among a_0[109] = +{ +/* 0 */ { 4, s_0_0, -1, 1, 0}, +/* 1 */ { 5, s_0_1, 0, 1, 0}, +/* 2 */ { 5, s_0_2, 0, 1, 0}, +/* 3 */ { 5, s_0_3, 0, 1, 0}, +/* 4 */ { 6, s_0_4, -1, 1, 0}, +/* 5 */ { 5, s_0_5, -1, 1, 0}, +/* 6 */ { 6, s_0_6, -1, 1, 0}, +/* 7 */ { 7, s_0_7, -1, 1, 0}, +/* 8 */ { 5, s_0_8, -1, 1, 0}, +/* 9 */ { 5, s_0_9, -1, 1, 0}, +/* 10 */ { 5, s_0_10, -1, 1, 0}, +/* 11 */ { 4, s_0_11, -1, 1, 0}, +/* 12 */ { 5, s_0_12, -1, 1, 0}, +/* 13 */ { 6, s_0_13, 12, 1, 0}, +/* 14 */ { 5, s_0_14, -1, 1, 0}, +/* 15 */ { 6, s_0_15, -1, 2, 0}, +/* 16 */ { 6, s_0_16, -1, 1, 0}, +/* 17 */ { 2, s_0_17, -1, 1, 0}, +/* 18 */ { 5, s_0_18, 17, 1, 0}, +/* 19 */ { 2, s_0_19, -1, 1, 0}, +/* 20 */ { 4, s_0_20, -1, 1, 0}, +/* 21 */ { 4, s_0_21, -1, 1, 0}, +/* 22 */ { 4, s_0_22, -1, 1, 0}, +/* 23 */ { 5, s_0_23, -1, 1, 0}, +/* 24 */ { 6, s_0_24, 23, 1, 0}, +/* 25 */ { 4, s_0_25, -1, 1, 0}, +/* 26 */ { 4, s_0_26, -1, 1, 0}, +/* 27 */ { 6, s_0_27, -1, 1, 0}, +/* 28 */ { 3, s_0_28, -1, 1, 0}, +/* 29 */ { 4, s_0_29, 28, 1, 0}, +/* 30 */ { 7, s_0_30, 29, 4, 0}, +/* 31 */ { 4, s_0_31, 28, 1, 0}, +/* 32 */ { 4, s_0_32, 28, 1, 0}, +/* 33 */ { 4, s_0_33, -1, 1, 0}, +/* 34 */ { 5, s_0_34, 33, 1, 0}, +/* 35 */ { 4, s_0_35, -1, 1, 0}, +/* 36 */ { 4, s_0_36, -1, 1, 0}, +/* 37 */ { 4, s_0_37, -1, 1, 0}, +/* 38 */ { 4, s_0_38, -1, 1, 0}, +/* 39 */ { 3, s_0_39, -1, 1, 0}, +/* 40 */ { 4, s_0_40, 39, 1, 0}, +/* 41 */ { 6, s_0_41, -1, 1, 0}, +/* 42 */ { 3, s_0_42, -1, 1, 0}, +/* 43 */ { 6, s_0_43, 42, 1, 0}, +/* 44 */ { 3, s_0_44, -1, 2, 0}, +/* 45 */ { 6, s_0_45, 44, 1, 0}, +/* 46 */ { 6, s_0_46, 44, 1, 0}, +/* 47 */ { 6, s_0_47, 44, 1, 0}, +/* 48 */ { 3, s_0_48, -1, 1, 0}, +/* 49 */ { 4, s_0_49, 48, 1, 0}, +/* 50 */ { 4, s_0_50, 48, 1, 0}, +/* 51 */ { 4, s_0_51, 48, 1, 0}, +/* 52 */ { 5, s_0_52, -1, 1, 0}, +/* 53 */ { 5, s_0_53, -1, 1, 0}, +/* 54 */ { 5, s_0_54, -1, 1, 0}, +/* 55 */ { 2, s_0_55, -1, 1, 0}, +/* 56 */ { 4, s_0_56, 55, 1, 0}, +/* 57 */ { 5, s_0_57, 55, 1, 0}, +/* 58 */ { 6, s_0_58, 55, 1, 0}, +/* 59 */ { 4, s_0_59, -1, 1, 0}, +/* 60 */ { 4, s_0_60, -1, 1, 0}, +/* 61 */ { 3, s_0_61, -1, 1, 0}, +/* 62 */ { 4, s_0_62, 61, 1, 0}, +/* 63 */ { 3, s_0_63, -1, 1, 0}, +/* 64 */ { 4, s_0_64, -1, 1, 0}, +/* 65 */ { 5, s_0_65, 64, 1, 0}, +/* 66 */ { 2, s_0_66, -1, 1, 0}, +/* 67 */ { 3, s_0_67, -1, 1, 0}, +/* 68 */ { 4, s_0_68, 67, 1, 0}, +/* 69 */ { 4, s_0_69, 67, 1, 0}, +/* 70 */ { 4, s_0_70, 67, 1, 0}, +/* 71 */ { 5, s_0_71, 70, 1, 0}, +/* 72 */ { 5, s_0_72, -1, 2, 0}, +/* 73 */ { 5, s_0_73, -1, 1, 0}, +/* 74 */ { 5, s_0_74, -1, 1, 0}, +/* 75 */ { 6, s_0_75, 74, 1, 0}, +/* 76 */ { 2, s_0_76, -1, 1, 0}, +/* 77 */ { 3, s_0_77, 76, 1, 0}, +/* 78 */ { 4, s_0_78, 77, 1, 0}, +/* 79 */ { 3, s_0_79, 76, 1, 0}, +/* 80 */ { 4, s_0_80, 76, 1, 0}, +/* 81 */ { 7, s_0_81, -1, 3, 0}, +/* 82 */ { 3, s_0_82, -1, 1, 0}, +/* 83 */ { 3, s_0_83, -1, 1, 0}, +/* 84 */ { 3, s_0_84, -1, 1, 0}, +/* 85 */ { 5, s_0_85, 84, 1, 0}, +/* 86 */ { 4, s_0_86, -1, 1, 0}, +/* 87 */ { 5, s_0_87, 86, 1, 0}, +/* 88 */ { 3, s_0_88, -1, 1, 0}, +/* 89 */ { 5, s_0_89, -1, 1, 0}, +/* 90 */ { 2, s_0_90, -1, 1, 0}, +/* 91 */ { 3, s_0_91, 90, 1, 0}, +/* 92 */ { 3, s_0_92, -1, 1, 0}, +/* 93 */ { 4, s_0_93, -1, 1, 0}, +/* 94 */ { 2, s_0_94, -1, 1, 0}, +/* 95 */ { 3, s_0_95, 94, 1, 0}, +/* 96 */ { 4, s_0_96, -1, 1, 0}, +/* 97 */ { 2, s_0_97, -1, 1, 0}, +/* 98 */ { 5, s_0_98, -1, 1, 0}, +/* 99 */ { 2, s_0_99, -1, 1, 0}, +/*100 */ { 3, s_0_100, 99, 1, 0}, +/*101 */ { 6, s_0_101, 100, 1, 0}, +/*102 */ { 4, s_0_102, 100, 1, 0}, +/*103 */ { 6, s_0_103, 99, 5, 0}, +/*104 */ { 2, s_0_104, -1, 1, 0}, +/*105 */ { 5, s_0_105, 104, 1, 0}, +/*106 */ { 4, s_0_106, 104, 1, 0}, +/*107 */ { 5, s_0_107, -1, 1, 0}, +/*108 */ { 5, s_0_108, -1, 1, 0} +}; + +static const symbol s_1_0[3] = { 'a', 'd', 'a' }; +static const symbol s_1_1[4] = { 'k', 'a', 'd', 'a' }; +static const symbol s_1_2[4] = { 'a', 'n', 'd', 'a' }; +static const symbol s_1_3[5] = { 'd', 'e', 'n', 'd', 'a' }; +static const symbol s_1_4[5] = { 'g', 'a', 'b', 'e', 'a' }; +static const symbol s_1_5[5] = { 'k', 'a', 'b', 'e', 'a' }; +static const symbol s_1_6[5] = { 'a', 'l', 'd', 'e', 'a' }; +static const symbol s_1_7[6] = { 'k', 'a', 'l', 'd', 'e', 'a' }; +static const symbol s_1_8[6] = { 't', 'a', 'l', 'd', 'e', 'a' }; +static const symbol s_1_9[5] = { 'o', 'r', 'd', 'e', 'a' }; +static const symbol s_1_10[5] = { 'z', 'a', 'l', 'e', 'a' }; +static const symbol s_1_11[6] = { 't', 'z', 'a', 'l', 'e', 'a' }; +static const symbol s_1_12[5] = { 'g', 'i', 'l', 'e', 'a' }; +static const symbol s_1_13[4] = { 'e', 'm', 'e', 'a' }; +static const symbol s_1_14[5] = { 'k', 'u', 'm', 'e', 'a' }; +static const symbol s_1_15[3] = { 'n', 'e', 'a' }; +static const symbol s_1_16[4] = { 'e', 'n', 'e', 'a' }; +static const symbol s_1_17[6] = { 'z', 'i', 'o', 'n', 'e', 'a' }; +static const symbol s_1_18[4] = { 'u', 'n', 'e', 'a' }; +static const symbol s_1_19[5] = { 'g', 'u', 'n', 'e', 'a' }; +static const symbol s_1_20[3] = { 'p', 'e', 'a' }; +static const symbol s_1_21[6] = { 'a', 'u', 'r', 'r', 'e', 'a' }; +static const symbol s_1_22[3] = { 't', 'e', 'a' }; +static const symbol s_1_23[5] = { 'k', 'o', 't', 'e', 'a' }; +static const symbol s_1_24[5] = { 'a', 'r', 't', 'e', 'a' }; +static const symbol s_1_25[5] = { 'o', 's', 't', 'e', 'a' }; +static const symbol s_1_26[5] = { 'e', 't', 'x', 'e', 'a' }; +static const symbol s_1_27[2] = { 'g', 'a' }; +static const symbol s_1_28[4] = { 'a', 'n', 'g', 'a' }; +static const symbol s_1_29[4] = { 'g', 'a', 'i', 'a' }; +static const symbol s_1_30[5] = { 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_1_31[6] = { 't', 'a', 'l', 'd', 'i', 'a' }; +static const symbol s_1_32[6] = { 'h', 'a', 'n', 'd', 'i', 'a' }; +static const symbol s_1_33[6] = { 'm', 'e', 'n', 'd', 'i', 'a' }; +static const symbol s_1_34[4] = { 'g', 'e', 'i', 'a' }; +static const symbol s_1_35[4] = { 'e', 'g', 'i', 'a' }; +static const symbol s_1_36[5] = { 'd', 'e', 'g', 'i', 'a' }; +static const symbol s_1_37[5] = { 't', 'e', 'g', 'i', 'a' }; +static const symbol s_1_38[5] = { 'n', 'a', 'h', 'i', 'a' }; +static const symbol s_1_39[4] = { 'o', 'h', 'i', 'a' }; +static const symbol s_1_40[3] = { 'k', 'i', 'a' }; +static const symbol s_1_41[5] = { 't', 'o', 'k', 'i', 'a' }; +static const symbol s_1_42[3] = { 'o', 'i', 'a' }; +static const symbol s_1_43[4] = { 'k', 'o', 'i', 'a' }; +static const symbol s_1_44[4] = { 'a', 'r', 'i', 'a' }; +static const symbol s_1_45[5] = { 'k', 'a', 'r', 'i', 'a' }; +static const symbol s_1_46[5] = { 'l', 'a', 'r', 'i', 'a' }; +static const symbol s_1_47[5] = { 't', 'a', 'r', 'i', 'a' }; +static const symbol s_1_48[4] = { 'e', 'r', 'i', 'a' }; +static const symbol s_1_49[5] = { 'k', 'e', 'r', 'i', 'a' }; +static const symbol s_1_50[5] = { 't', 'e', 'r', 'i', 'a' }; +static const symbol s_1_51[6] = { 'g', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_1_52[6] = { 'l', 'a', 'r', 'r', 'i', 'a' }; +static const symbol s_1_53[6] = { 'k', 'i', 'r', 'r', 'i', 'a' }; +static const symbol s_1_54[5] = { 'd', 'u', 'r', 'i', 'a' }; +static const symbol s_1_55[4] = { 'a', 's', 'i', 'a' }; +static const symbol s_1_56[3] = { 't', 'i', 'a' }; +static const symbol s_1_57[4] = { 'e', 'z', 'i', 'a' }; +static const symbol s_1_58[5] = { 'b', 'i', 'z', 'i', 'a' }; +static const symbol s_1_59[6] = { 'o', 'n', 't', 'z', 'i', 'a' }; +static const symbol s_1_60[2] = { 'k', 'a' }; +static const symbol s_1_61[4] = { 'j', 'o', 'k', 'a' }; +static const symbol s_1_62[5] = { 'a', 'u', 'r', 'k', 'a' }; +static const symbol s_1_63[3] = { 's', 'k', 'a' }; +static const symbol s_1_64[3] = { 'x', 'k', 'a' }; +static const symbol s_1_65[3] = { 'z', 'k', 'a' }; +static const symbol s_1_66[6] = { 'g', 'i', 'b', 'e', 'l', 'a' }; +static const symbol s_1_67[4] = { 'g', 'e', 'l', 'a' }; +static const symbol s_1_68[5] = { 'k', 'a', 'i', 'l', 'a' }; +static const symbol s_1_69[5] = { 's', 'k', 'i', 'l', 'a' }; +static const symbol s_1_70[4] = { 't', 'i', 'l', 'a' }; +static const symbol s_1_71[3] = { 'o', 'l', 'a' }; +static const symbol s_1_72[2] = { 'n', 'a' }; +static const symbol s_1_73[4] = { 'k', 'a', 'n', 'a' }; +static const symbol s_1_74[3] = { 'e', 'n', 'a' }; +static const symbol s_1_75[7] = { 'g', 'a', 'r', 'r', 'e', 'n', 'a' }; +static const symbol s_1_76[7] = { 'g', 'e', 'r', 'r', 'e', 'n', 'a' }; +static const symbol s_1_77[6] = { 'u', 'r', 'r', 'e', 'n', 'a' }; +static const symbol s_1_78[5] = { 'z', 'a', 'i', 'n', 'a' }; +static const symbol s_1_79[6] = { 't', 'z', 'a', 'i', 'n', 'a' }; +static const symbol s_1_80[4] = { 'k', 'i', 'n', 'a' }; +static const symbol s_1_81[4] = { 'm', 'i', 'n', 'a' }; +static const symbol s_1_82[5] = { 'g', 'a', 'r', 'n', 'a' }; +static const symbol s_1_83[3] = { 'u', 'n', 'a' }; +static const symbol s_1_84[4] = { 'd', 'u', 'n', 'a' }; +static const symbol s_1_85[5] = { 'a', 's', 'u', 'n', 'a' }; +static const symbol s_1_86[6] = { 't', 'a', 's', 'u', 'n', 'a' }; +static const symbol s_1_87[5] = { 'o', 'n', 'd', 'o', 'a' }; +static const symbol s_1_88[6] = { 'k', 'o', 'n', 'd', 'o', 'a' }; +static const symbol s_1_89[4] = { 'n', 'g', 'o', 'a' }; +static const symbol s_1_90[4] = { 'z', 'i', 'o', 'a' }; +static const symbol s_1_91[3] = { 'k', 'o', 'a' }; +static const symbol s_1_92[5] = { 't', 'a', 'k', 'o', 'a' }; +static const symbol s_1_93[4] = { 'z', 'k', 'o', 'a' }; +static const symbol s_1_94[3] = { 'n', 'o', 'a' }; +static const symbol s_1_95[5] = { 'z', 'i', 'n', 'o', 'a' }; +static const symbol s_1_96[4] = { 'a', 'r', 'o', 'a' }; +static const symbol s_1_97[5] = { 't', 'a', 'r', 'o', 'a' }; +static const symbol s_1_98[5] = { 'z', 'a', 'r', 'o', 'a' }; +static const symbol s_1_99[4] = { 'e', 'r', 'o', 'a' }; +static const symbol s_1_100[4] = { 'o', 'r', 'o', 'a' }; +static const symbol s_1_101[4] = { 'o', 's', 'o', 'a' }; +static const symbol s_1_102[3] = { 't', 'o', 'a' }; +static const symbol s_1_103[4] = { 't', 't', 'o', 'a' }; +static const symbol s_1_104[4] = { 'z', 't', 'o', 'a' }; +static const symbol s_1_105[4] = { 't', 'x', 'o', 'a' }; +static const symbol s_1_106[4] = { 't', 'z', 'o', 'a' }; +static const symbol s_1_107[4] = { 0xC3, 0xB1, 'o', 'a' }; +static const symbol s_1_108[2] = { 'r', 'a' }; +static const symbol s_1_109[3] = { 'a', 'r', 'a' }; +static const symbol s_1_110[4] = { 'd', 'a', 'r', 'a' }; +static const symbol s_1_111[5] = { 'l', 'i', 'a', 'r', 'a' }; +static const symbol s_1_112[5] = { 't', 'i', 'a', 'r', 'a' }; +static const symbol s_1_113[4] = { 't', 'a', 'r', 'a' }; +static const symbol s_1_114[5] = { 'e', 't', 'a', 'r', 'a' }; +static const symbol s_1_115[5] = { 't', 'z', 'a', 'r', 'a' }; +static const symbol s_1_116[4] = { 'b', 'e', 'r', 'a' }; +static const symbol s_1_117[4] = { 'k', 'e', 'r', 'a' }; +static const symbol s_1_118[4] = { 'p', 'e', 'r', 'a' }; +static const symbol s_1_119[3] = { 'o', 'r', 'a' }; +static const symbol s_1_120[6] = { 't', 'z', 'a', 'r', 'r', 'a' }; +static const symbol s_1_121[5] = { 'k', 'o', 'r', 'r', 'a' }; +static const symbol s_1_122[3] = { 't', 'r', 'a' }; +static const symbol s_1_123[2] = { 's', 'a' }; +static const symbol s_1_124[3] = { 'o', 's', 'a' }; +static const symbol s_1_125[2] = { 't', 'a' }; +static const symbol s_1_126[3] = { 'e', 't', 'a' }; +static const symbol s_1_127[4] = { 'k', 'e', 't', 'a' }; +static const symbol s_1_128[3] = { 's', 't', 'a' }; +static const symbol s_1_129[3] = { 'd', 'u', 'a' }; +static const symbol s_1_130[6] = { 'm', 'e', 'n', 'd', 'u', 'a' }; +static const symbol s_1_131[5] = { 'o', 'r', 'd', 'u', 'a' }; +static const symbol s_1_132[5] = { 'l', 'e', 'k', 'u', 'a' }; +static const symbol s_1_133[5] = { 'b', 'u', 'r', 'u', 'a' }; +static const symbol s_1_134[5] = { 'd', 'u', 'r', 'u', 'a' }; +static const symbol s_1_135[4] = { 't', 's', 'u', 'a' }; +static const symbol s_1_136[3] = { 't', 'u', 'a' }; +static const symbol s_1_137[6] = { 'm', 'e', 'n', 't', 'u', 'a' }; +static const symbol s_1_138[5] = { 'e', 's', 't', 'u', 'a' }; +static const symbol s_1_139[4] = { 't', 'x', 'u', 'a' }; +static const symbol s_1_140[3] = { 'z', 'u', 'a' }; +static const symbol s_1_141[4] = { 't', 'z', 'u', 'a' }; +static const symbol s_1_142[2] = { 'z', 'a' }; +static const symbol s_1_143[3] = { 'e', 'z', 'a' }; +static const symbol s_1_144[5] = { 'e', 'r', 'o', 'z', 'a' }; +static const symbol s_1_145[3] = { 't', 'z', 'a' }; +static const symbol s_1_146[6] = { 'k', 'o', 'i', 't', 'z', 'a' }; +static const symbol s_1_147[5] = { 'a', 'n', 't', 'z', 'a' }; +static const symbol s_1_148[6] = { 'g', 'i', 'n', 't', 'z', 'a' }; +static const symbol s_1_149[6] = { 'k', 'i', 'n', 't', 'z', 'a' }; +static const symbol s_1_150[6] = { 'k', 'u', 'n', 't', 'z', 'a' }; +static const symbol s_1_151[4] = { 'g', 'a', 'b', 'e' }; +static const symbol s_1_152[4] = { 'k', 'a', 'b', 'e' }; +static const symbol s_1_153[4] = { 'k', 'i', 'd', 'e' }; +static const symbol s_1_154[4] = { 'a', 'l', 'd', 'e' }; +static const symbol s_1_155[5] = { 'k', 'a', 'l', 'd', 'e' }; +static const symbol s_1_156[5] = { 't', 'a', 'l', 'd', 'e' }; +static const symbol s_1_157[4] = { 'o', 'r', 'd', 'e' }; +static const symbol s_1_158[2] = { 'g', 'e' }; +static const symbol s_1_159[4] = { 'z', 'a', 'l', 'e' }; +static const symbol s_1_160[5] = { 't', 'z', 'a', 'l', 'e' }; +static const symbol s_1_161[4] = { 'g', 'i', 'l', 'e' }; +static const symbol s_1_162[3] = { 'e', 'm', 'e' }; +static const symbol s_1_163[4] = { 'k', 'u', 'm', 'e' }; +static const symbol s_1_164[2] = { 'n', 'e' }; +static const symbol s_1_165[5] = { 'z', 'i', 'o', 'n', 'e' }; +static const symbol s_1_166[3] = { 'u', 'n', 'e' }; +static const symbol s_1_167[4] = { 'g', 'u', 'n', 'e' }; +static const symbol s_1_168[2] = { 'p', 'e' }; +static const symbol s_1_169[5] = { 'a', 'u', 'r', 'r', 'e' }; +static const symbol s_1_170[2] = { 't', 'e' }; +static const symbol s_1_171[4] = { 'k', 'o', 't', 'e' }; +static const symbol s_1_172[4] = { 'a', 'r', 't', 'e' }; +static const symbol s_1_173[4] = { 'o', 's', 't', 'e' }; +static const symbol s_1_174[4] = { 'e', 't', 'x', 'e' }; +static const symbol s_1_175[3] = { 'g', 'a', 'i' }; +static const symbol s_1_176[2] = { 'd', 'i' }; +static const symbol s_1_177[4] = { 'a', 'l', 'd', 'i' }; +static const symbol s_1_178[5] = { 't', 'a', 'l', 'd', 'i' }; +static const symbol s_1_179[5] = { 'g', 'e', 'l', 'd', 'i' }; +static const symbol s_1_180[5] = { 'h', 'a', 'n', 'd', 'i' }; +static const symbol s_1_181[5] = { 'm', 'e', 'n', 'd', 'i' }; +static const symbol s_1_182[3] = { 'g', 'e', 'i' }; +static const symbol s_1_183[3] = { 'e', 'g', 'i' }; +static const symbol s_1_184[4] = { 'd', 'e', 'g', 'i' }; +static const symbol s_1_185[4] = { 't', 'e', 'g', 'i' }; +static const symbol s_1_186[4] = { 'n', 'a', 'h', 'i' }; +static const symbol s_1_187[3] = { 'o', 'h', 'i' }; +static const symbol s_1_188[2] = { 'k', 'i' }; +static const symbol s_1_189[4] = { 't', 'o', 'k', 'i' }; +static const symbol s_1_190[2] = { 'o', 'i' }; +static const symbol s_1_191[3] = { 'g', 'o', 'i' }; +static const symbol s_1_192[3] = { 'k', 'o', 'i' }; +static const symbol s_1_193[3] = { 'a', 'r', 'i' }; +static const symbol s_1_194[4] = { 'k', 'a', 'r', 'i' }; +static const symbol s_1_195[4] = { 'l', 'a', 'r', 'i' }; +static const symbol s_1_196[4] = { 't', 'a', 'r', 'i' }; +static const symbol s_1_197[5] = { 'g', 'a', 'r', 'r', 'i' }; +static const symbol s_1_198[5] = { 'l', 'a', 'r', 'r', 'i' }; +static const symbol s_1_199[5] = { 'k', 'i', 'r', 'r', 'i' }; +static const symbol s_1_200[4] = { 'd', 'u', 'r', 'i' }; +static const symbol s_1_201[3] = { 'a', 's', 'i' }; +static const symbol s_1_202[2] = { 't', 'i' }; +static const symbol s_1_203[5] = { 'o', 'n', 't', 'z', 'i' }; +static const symbol s_1_204[3] = { 0xC3, 0xB1, 'i' }; +static const symbol s_1_205[2] = { 'a', 'k' }; +static const symbol s_1_206[2] = { 'e', 'k' }; +static const symbol s_1_207[5] = { 't', 'a', 'r', 'i', 'k' }; +static const symbol s_1_208[5] = { 'g', 'i', 'b', 'e', 'l' }; +static const symbol s_1_209[3] = { 'a', 'i', 'l' }; +static const symbol s_1_210[4] = { 'k', 'a', 'i', 'l' }; +static const symbol s_1_211[3] = { 'k', 'a', 'n' }; +static const symbol s_1_212[3] = { 't', 'a', 'n' }; +static const symbol s_1_213[4] = { 'e', 't', 'a', 'n' }; +static const symbol s_1_214[2] = { 'e', 'n' }; +static const symbol s_1_215[3] = { 'r', 'e', 'n' }; +static const symbol s_1_216[6] = { 'g', 'a', 'r', 'r', 'e', 'n' }; +static const symbol s_1_217[6] = { 'g', 'e', 'r', 'r', 'e', 'n' }; +static const symbol s_1_218[5] = { 'u', 'r', 'r', 'e', 'n' }; +static const symbol s_1_219[3] = { 't', 'e', 'n' }; +static const symbol s_1_220[4] = { 't', 'z', 'e', 'n' }; +static const symbol s_1_221[4] = { 'z', 'a', 'i', 'n' }; +static const symbol s_1_222[5] = { 't', 'z', 'a', 'i', 'n' }; +static const symbol s_1_223[3] = { 'k', 'i', 'n' }; +static const symbol s_1_224[3] = { 'm', 'i', 'n' }; +static const symbol s_1_225[3] = { 'd', 'u', 'n' }; +static const symbol s_1_226[4] = { 'a', 's', 'u', 'n' }; +static const symbol s_1_227[5] = { 't', 'a', 's', 'u', 'n' }; +static const symbol s_1_228[5] = { 'a', 'i', 'z', 'u', 'n' }; +static const symbol s_1_229[4] = { 'o', 'n', 'd', 'o' }; +static const symbol s_1_230[5] = { 'k', 'o', 'n', 'd', 'o' }; +static const symbol s_1_231[2] = { 'g', 'o' }; +static const symbol s_1_232[3] = { 'n', 'g', 'o' }; +static const symbol s_1_233[3] = { 'z', 'i', 'o' }; +static const symbol s_1_234[2] = { 'k', 'o' }; +static const symbol s_1_235[5] = { 't', 'r', 'a', 'k', 'o' }; +static const symbol s_1_236[4] = { 't', 'a', 'k', 'o' }; +static const symbol s_1_237[5] = { 'e', 't', 'a', 'k', 'o' }; +static const symbol s_1_238[3] = { 'e', 'k', 'o' }; +static const symbol s_1_239[6] = { 't', 'a', 'r', 'i', 'k', 'o' }; +static const symbol s_1_240[3] = { 's', 'k', 'o' }; +static const symbol s_1_241[4] = { 't', 'u', 'k', 'o' }; +static const symbol s_1_242[8] = { 'm', 'i', 'n', 'u', 't', 'u', 'k', 'o' }; +static const symbol s_1_243[3] = { 'z', 'k', 'o' }; +static const symbol s_1_244[2] = { 'n', 'o' }; +static const symbol s_1_245[4] = { 'z', 'i', 'n', 'o' }; +static const symbol s_1_246[2] = { 'r', 'o' }; +static const symbol s_1_247[3] = { 'a', 'r', 'o' }; +static const symbol s_1_248[5] = { 'i', 'g', 'a', 'r', 'o' }; +static const symbol s_1_249[4] = { 't', 'a', 'r', 'o' }; +static const symbol s_1_250[4] = { 'z', 'a', 'r', 'o' }; +static const symbol s_1_251[3] = { 'e', 'r', 'o' }; +static const symbol s_1_252[4] = { 'g', 'i', 'r', 'o' }; +static const symbol s_1_253[3] = { 'o', 'r', 'o' }; +static const symbol s_1_254[3] = { 'o', 's', 'o' }; +static const symbol s_1_255[2] = { 't', 'o' }; +static const symbol s_1_256[3] = { 't', 't', 'o' }; +static const symbol s_1_257[3] = { 'z', 't', 'o' }; +static const symbol s_1_258[3] = { 't', 'x', 'o' }; +static const symbol s_1_259[3] = { 't', 'z', 'o' }; +static const symbol s_1_260[6] = { 'g', 'i', 'n', 't', 'z', 'o' }; +static const symbol s_1_261[3] = { 0xC3, 0xB1, 'o' }; +static const symbol s_1_262[2] = { 'z', 'p' }; +static const symbol s_1_263[2] = { 'a', 'r' }; +static const symbol s_1_264[3] = { 'd', 'a', 'r' }; +static const symbol s_1_265[5] = { 'b', 'e', 'h', 'a', 'r' }; +static const symbol s_1_266[5] = { 'z', 'e', 'h', 'a', 'r' }; +static const symbol s_1_267[4] = { 'l', 'i', 'a', 'r' }; +static const symbol s_1_268[4] = { 't', 'i', 'a', 'r' }; +static const symbol s_1_269[3] = { 't', 'a', 'r' }; +static const symbol s_1_270[4] = { 't', 'z', 'a', 'r' }; +static const symbol s_1_271[2] = { 'o', 'r' }; +static const symbol s_1_272[3] = { 'k', 'o', 'r' }; +static const symbol s_1_273[2] = { 'o', 's' }; +static const symbol s_1_274[3] = { 'k', 'e', 't' }; +static const symbol s_1_275[2] = { 'd', 'u' }; +static const symbol s_1_276[5] = { 'm', 'e', 'n', 'd', 'u' }; +static const symbol s_1_277[4] = { 'o', 'r', 'd', 'u' }; +static const symbol s_1_278[4] = { 'l', 'e', 'k', 'u' }; +static const symbol s_1_279[4] = { 'b', 'u', 'r', 'u' }; +static const symbol s_1_280[4] = { 'd', 'u', 'r', 'u' }; +static const symbol s_1_281[3] = { 't', 's', 'u' }; +static const symbol s_1_282[2] = { 't', 'u' }; +static const symbol s_1_283[4] = { 't', 'a', 't', 'u' }; +static const symbol s_1_284[5] = { 'm', 'e', 'n', 't', 'u' }; +static const symbol s_1_285[4] = { 'e', 's', 't', 'u' }; +static const symbol s_1_286[3] = { 't', 'x', 'u' }; +static const symbol s_1_287[2] = { 'z', 'u' }; +static const symbol s_1_288[3] = { 't', 'z', 'u' }; +static const symbol s_1_289[6] = { 'g', 'i', 'n', 't', 'z', 'u' }; +static const symbol s_1_290[1] = { 'z' }; +static const symbol s_1_291[2] = { 'e', 'z' }; +static const symbol s_1_292[4] = { 'e', 'r', 'o', 'z' }; +static const symbol s_1_293[2] = { 't', 'z' }; +static const symbol s_1_294[5] = { 'k', 'o', 'i', 't', 'z' }; + +static const struct among a_1[295] = +{ +/* 0 */ { 3, s_1_0, -1, 1, 0}, +/* 1 */ { 4, s_1_1, 0, 1, 0}, +/* 2 */ { 4, s_1_2, -1, 1, 0}, +/* 3 */ { 5, s_1_3, -1, 1, 0}, +/* 4 */ { 5, s_1_4, -1, 1, 0}, +/* 5 */ { 5, s_1_5, -1, 1, 0}, +/* 6 */ { 5, s_1_6, -1, 1, 0}, +/* 7 */ { 6, s_1_7, 6, 1, 0}, +/* 8 */ { 6, s_1_8, 6, 1, 0}, +/* 9 */ { 5, s_1_9, -1, 1, 0}, +/* 10 */ { 5, s_1_10, -1, 1, 0}, +/* 11 */ { 6, s_1_11, 10, 1, 0}, +/* 12 */ { 5, s_1_12, -1, 1, 0}, +/* 13 */ { 4, s_1_13, -1, 1, 0}, +/* 14 */ { 5, s_1_14, -1, 1, 0}, +/* 15 */ { 3, s_1_15, -1, 1, 0}, +/* 16 */ { 4, s_1_16, 15, 1, 0}, +/* 17 */ { 6, s_1_17, 15, 1, 0}, +/* 18 */ { 4, s_1_18, 15, 1, 0}, +/* 19 */ { 5, s_1_19, 18, 1, 0}, +/* 20 */ { 3, s_1_20, -1, 1, 0}, +/* 21 */ { 6, s_1_21, -1, 1, 0}, +/* 22 */ { 3, s_1_22, -1, 1, 0}, +/* 23 */ { 5, s_1_23, 22, 1, 0}, +/* 24 */ { 5, s_1_24, 22, 1, 0}, +/* 25 */ { 5, s_1_25, 22, 1, 0}, +/* 26 */ { 5, s_1_26, -1, 1, 0}, +/* 27 */ { 2, s_1_27, -1, 1, 0}, +/* 28 */ { 4, s_1_28, 27, 1, 0}, +/* 29 */ { 4, s_1_29, -1, 1, 0}, +/* 30 */ { 5, s_1_30, -1, 1, 0}, +/* 31 */ { 6, s_1_31, 30, 1, 0}, +/* 32 */ { 6, s_1_32, -1, 1, 0}, +/* 33 */ { 6, s_1_33, -1, 1, 0}, +/* 34 */ { 4, s_1_34, -1, 1, 0}, +/* 35 */ { 4, s_1_35, -1, 1, 0}, +/* 36 */ { 5, s_1_36, 35, 1, 0}, +/* 37 */ { 5, s_1_37, 35, 1, 0}, +/* 38 */ { 5, s_1_38, -1, 1, 0}, +/* 39 */ { 4, s_1_39, -1, 1, 0}, +/* 40 */ { 3, s_1_40, -1, 1, 0}, +/* 41 */ { 5, s_1_41, 40, 1, 0}, +/* 42 */ { 3, s_1_42, -1, 1, 0}, +/* 43 */ { 4, s_1_43, 42, 1, 0}, +/* 44 */ { 4, s_1_44, -1, 1, 0}, +/* 45 */ { 5, s_1_45, 44, 1, 0}, +/* 46 */ { 5, s_1_46, 44, 1, 0}, +/* 47 */ { 5, s_1_47, 44, 1, 0}, +/* 48 */ { 4, s_1_48, -1, 1, 0}, +/* 49 */ { 5, s_1_49, 48, 1, 0}, +/* 50 */ { 5, s_1_50, 48, 1, 0}, +/* 51 */ { 6, s_1_51, -1, 2, 0}, +/* 52 */ { 6, s_1_52, -1, 1, 0}, +/* 53 */ { 6, s_1_53, -1, 1, 0}, +/* 54 */ { 5, s_1_54, -1, 1, 0}, +/* 55 */ { 4, s_1_55, -1, 1, 0}, +/* 56 */ { 3, s_1_56, -1, 1, 0}, +/* 57 */ { 4, s_1_57, -1, 1, 0}, +/* 58 */ { 5, s_1_58, -1, 1, 0}, +/* 59 */ { 6, s_1_59, -1, 1, 0}, +/* 60 */ { 2, s_1_60, -1, 1, 0}, +/* 61 */ { 4, s_1_61, 60, 3, 0}, +/* 62 */ { 5, s_1_62, 60, 10, 0}, +/* 63 */ { 3, s_1_63, 60, 1, 0}, +/* 64 */ { 3, s_1_64, 60, 1, 0}, +/* 65 */ { 3, s_1_65, 60, 1, 0}, +/* 66 */ { 6, s_1_66, -1, 1, 0}, +/* 67 */ { 4, s_1_67, -1, 1, 0}, +/* 68 */ { 5, s_1_68, -1, 1, 0}, +/* 69 */ { 5, s_1_69, -1, 1, 0}, +/* 70 */ { 4, s_1_70, -1, 1, 0}, +/* 71 */ { 3, s_1_71, -1, 1, 0}, +/* 72 */ { 2, s_1_72, -1, 1, 0}, +/* 73 */ { 4, s_1_73, 72, 1, 0}, +/* 74 */ { 3, s_1_74, 72, 1, 0}, +/* 75 */ { 7, s_1_75, 74, 1, 0}, +/* 76 */ { 7, s_1_76, 74, 1, 0}, +/* 77 */ { 6, s_1_77, 74, 1, 0}, +/* 78 */ { 5, s_1_78, 72, 1, 0}, +/* 79 */ { 6, s_1_79, 78, 1, 0}, +/* 80 */ { 4, s_1_80, 72, 1, 0}, +/* 81 */ { 4, s_1_81, 72, 1, 0}, +/* 82 */ { 5, s_1_82, 72, 1, 0}, +/* 83 */ { 3, s_1_83, 72, 1, 0}, +/* 84 */ { 4, s_1_84, 83, 1, 0}, +/* 85 */ { 5, s_1_85, 83, 1, 0}, +/* 86 */ { 6, s_1_86, 85, 1, 0}, +/* 87 */ { 5, s_1_87, -1, 1, 0}, +/* 88 */ { 6, s_1_88, 87, 1, 0}, +/* 89 */ { 4, s_1_89, -1, 1, 0}, +/* 90 */ { 4, s_1_90, -1, 1, 0}, +/* 91 */ { 3, s_1_91, -1, 1, 0}, +/* 92 */ { 5, s_1_92, 91, 1, 0}, +/* 93 */ { 4, s_1_93, 91, 1, 0}, +/* 94 */ { 3, s_1_94, -1, 1, 0}, +/* 95 */ { 5, s_1_95, 94, 1, 0}, +/* 96 */ { 4, s_1_96, -1, 1, 0}, +/* 97 */ { 5, s_1_97, 96, 1, 0}, +/* 98 */ { 5, s_1_98, 96, 1, 0}, +/* 99 */ { 4, s_1_99, -1, 1, 0}, +/*100 */ { 4, s_1_100, -1, 1, 0}, +/*101 */ { 4, s_1_101, -1, 1, 0}, +/*102 */ { 3, s_1_102, -1, 1, 0}, +/*103 */ { 4, s_1_103, 102, 1, 0}, +/*104 */ { 4, s_1_104, 102, 1, 0}, +/*105 */ { 4, s_1_105, -1, 1, 0}, +/*106 */ { 4, s_1_106, -1, 1, 0}, +/*107 */ { 4, s_1_107, -1, 1, 0}, +/*108 */ { 2, s_1_108, -1, 1, 0}, +/*109 */ { 3, s_1_109, 108, 1, 0}, +/*110 */ { 4, s_1_110, 109, 1, 0}, +/*111 */ { 5, s_1_111, 109, 1, 0}, +/*112 */ { 5, s_1_112, 109, 1, 0}, +/*113 */ { 4, s_1_113, 109, 1, 0}, +/*114 */ { 5, s_1_114, 113, 1, 0}, +/*115 */ { 5, s_1_115, 109, 1, 0}, +/*116 */ { 4, s_1_116, 108, 1, 0}, +/*117 */ { 4, s_1_117, 108, 1, 0}, +/*118 */ { 4, s_1_118, 108, 1, 0}, +/*119 */ { 3, s_1_119, 108, 2, 0}, +/*120 */ { 6, s_1_120, 108, 1, 0}, +/*121 */ { 5, s_1_121, 108, 1, 0}, +/*122 */ { 3, s_1_122, 108, 1, 0}, +/*123 */ { 2, s_1_123, -1, 1, 0}, +/*124 */ { 3, s_1_124, 123, 1, 0}, +/*125 */ { 2, s_1_125, -1, 1, 0}, +/*126 */ { 3, s_1_126, 125, 1, 0}, +/*127 */ { 4, s_1_127, 126, 1, 0}, +/*128 */ { 3, s_1_128, 125, 1, 0}, +/*129 */ { 3, s_1_129, -1, 1, 0}, +/*130 */ { 6, s_1_130, 129, 1, 0}, +/*131 */ { 5, s_1_131, 129, 1, 0}, +/*132 */ { 5, s_1_132, -1, 1, 0}, +/*133 */ { 5, s_1_133, -1, 1, 0}, +/*134 */ { 5, s_1_134, -1, 1, 0}, +/*135 */ { 4, s_1_135, -1, 1, 0}, +/*136 */ { 3, s_1_136, -1, 1, 0}, +/*137 */ { 6, s_1_137, 136, 1, 0}, +/*138 */ { 5, s_1_138, 136, 1, 0}, +/*139 */ { 4, s_1_139, -1, 1, 0}, +/*140 */ { 3, s_1_140, -1, 1, 0}, +/*141 */ { 4, s_1_141, 140, 1, 0}, +/*142 */ { 2, s_1_142, -1, 1, 0}, +/*143 */ { 3, s_1_143, 142, 1, 0}, +/*144 */ { 5, s_1_144, 142, 1, 0}, +/*145 */ { 3, s_1_145, 142, 2, 0}, +/*146 */ { 6, s_1_146, 145, 1, 0}, +/*147 */ { 5, s_1_147, 145, 1, 0}, +/*148 */ { 6, s_1_148, 145, 1, 0}, +/*149 */ { 6, s_1_149, 145, 1, 0}, +/*150 */ { 6, s_1_150, 145, 1, 0}, +/*151 */ { 4, s_1_151, -1, 1, 0}, +/*152 */ { 4, s_1_152, -1, 1, 0}, +/*153 */ { 4, s_1_153, -1, 1, 0}, +/*154 */ { 4, s_1_154, -1, 1, 0}, +/*155 */ { 5, s_1_155, 154, 1, 0}, +/*156 */ { 5, s_1_156, 154, 1, 0}, +/*157 */ { 4, s_1_157, -1, 1, 0}, +/*158 */ { 2, s_1_158, -1, 1, 0}, +/*159 */ { 4, s_1_159, -1, 1, 0}, +/*160 */ { 5, s_1_160, 159, 1, 0}, +/*161 */ { 4, s_1_161, -1, 1, 0}, +/*162 */ { 3, s_1_162, -1, 1, 0}, +/*163 */ { 4, s_1_163, -1, 1, 0}, +/*164 */ { 2, s_1_164, -1, 1, 0}, +/*165 */ { 5, s_1_165, 164, 1, 0}, +/*166 */ { 3, s_1_166, 164, 1, 0}, +/*167 */ { 4, s_1_167, 166, 1, 0}, +/*168 */ { 2, s_1_168, -1, 1, 0}, +/*169 */ { 5, s_1_169, -1, 1, 0}, +/*170 */ { 2, s_1_170, -1, 1, 0}, +/*171 */ { 4, s_1_171, 170, 1, 0}, +/*172 */ { 4, s_1_172, 170, 1, 0}, +/*173 */ { 4, s_1_173, 170, 1, 0}, +/*174 */ { 4, s_1_174, -1, 1, 0}, +/*175 */ { 3, s_1_175, -1, 1, 0}, +/*176 */ { 2, s_1_176, -1, 1, 0}, +/*177 */ { 4, s_1_177, 176, 1, 0}, +/*178 */ { 5, s_1_178, 177, 1, 0}, +/*179 */ { 5, s_1_179, 176, 8, 0}, +/*180 */ { 5, s_1_180, 176, 1, 0}, +/*181 */ { 5, s_1_181, 176, 1, 0}, +/*182 */ { 3, s_1_182, -1, 1, 0}, +/*183 */ { 3, s_1_183, -1, 1, 0}, +/*184 */ { 4, s_1_184, 183, 1, 0}, +/*185 */ { 4, s_1_185, 183, 1, 0}, +/*186 */ { 4, s_1_186, -1, 1, 0}, +/*187 */ { 3, s_1_187, -1, 1, 0}, +/*188 */ { 2, s_1_188, -1, 1, 0}, +/*189 */ { 4, s_1_189, 188, 1, 0}, +/*190 */ { 2, s_1_190, -1, 1, 0}, +/*191 */ { 3, s_1_191, 190, 1, 0}, +/*192 */ { 3, s_1_192, 190, 1, 0}, +/*193 */ { 3, s_1_193, -1, 1, 0}, +/*194 */ { 4, s_1_194, 193, 1, 0}, +/*195 */ { 4, s_1_195, 193, 1, 0}, +/*196 */ { 4, s_1_196, 193, 1, 0}, +/*197 */ { 5, s_1_197, -1, 2, 0}, +/*198 */ { 5, s_1_198, -1, 1, 0}, +/*199 */ { 5, s_1_199, -1, 1, 0}, +/*200 */ { 4, s_1_200, -1, 1, 0}, +/*201 */ { 3, s_1_201, -1, 1, 0}, +/*202 */ { 2, s_1_202, -1, 1, 0}, +/*203 */ { 5, s_1_203, -1, 1, 0}, +/*204 */ { 3, s_1_204, -1, 1, 0}, +/*205 */ { 2, s_1_205, -1, 1, 0}, +/*206 */ { 2, s_1_206, -1, 1, 0}, +/*207 */ { 5, s_1_207, -1, 1, 0}, +/*208 */ { 5, s_1_208, -1, 1, 0}, +/*209 */ { 3, s_1_209, -1, 1, 0}, +/*210 */ { 4, s_1_210, 209, 1, 0}, +/*211 */ { 3, s_1_211, -1, 1, 0}, +/*212 */ { 3, s_1_212, -1, 1, 0}, +/*213 */ { 4, s_1_213, 212, 1, 0}, +/*214 */ { 2, s_1_214, -1, 4, 0}, +/*215 */ { 3, s_1_215, 214, 2, 0}, +/*216 */ { 6, s_1_216, 215, 1, 0}, +/*217 */ { 6, s_1_217, 215, 1, 0}, +/*218 */ { 5, s_1_218, 215, 1, 0}, +/*219 */ { 3, s_1_219, 214, 4, 0}, +/*220 */ { 4, s_1_220, 214, 4, 0}, +/*221 */ { 4, s_1_221, -1, 1, 0}, +/*222 */ { 5, s_1_222, 221, 1, 0}, +/*223 */ { 3, s_1_223, -1, 1, 0}, +/*224 */ { 3, s_1_224, -1, 1, 0}, +/*225 */ { 3, s_1_225, -1, 1, 0}, +/*226 */ { 4, s_1_226, -1, 1, 0}, +/*227 */ { 5, s_1_227, 226, 1, 0}, +/*228 */ { 5, s_1_228, -1, 1, 0}, +/*229 */ { 4, s_1_229, -1, 1, 0}, +/*230 */ { 5, s_1_230, 229, 1, 0}, +/*231 */ { 2, s_1_231, -1, 1, 0}, +/*232 */ { 3, s_1_232, 231, 1, 0}, +/*233 */ { 3, s_1_233, -1, 1, 0}, +/*234 */ { 2, s_1_234, -1, 1, 0}, +/*235 */ { 5, s_1_235, 234, 5, 0}, +/*236 */ { 4, s_1_236, 234, 1, 0}, +/*237 */ { 5, s_1_237, 236, 1, 0}, +/*238 */ { 3, s_1_238, 234, 1, 0}, +/*239 */ { 6, s_1_239, 234, 1, 0}, +/*240 */ { 3, s_1_240, 234, 1, 0}, +/*241 */ { 4, s_1_241, 234, 1, 0}, +/*242 */ { 8, s_1_242, 241, 6, 0}, +/*243 */ { 3, s_1_243, 234, 1, 0}, +/*244 */ { 2, s_1_244, -1, 1, 0}, +/*245 */ { 4, s_1_245, 244, 1, 0}, +/*246 */ { 2, s_1_246, -1, 1, 0}, +/*247 */ { 3, s_1_247, 246, 1, 0}, +/*248 */ { 5, s_1_248, 247, 9, 0}, +/*249 */ { 4, s_1_249, 247, 1, 0}, +/*250 */ { 4, s_1_250, 247, 1, 0}, +/*251 */ { 3, s_1_251, 246, 1, 0}, +/*252 */ { 4, s_1_252, 246, 1, 0}, +/*253 */ { 3, s_1_253, 246, 1, 0}, +/*254 */ { 3, s_1_254, -1, 1, 0}, +/*255 */ { 2, s_1_255, -1, 1, 0}, +/*256 */ { 3, s_1_256, 255, 1, 0}, +/*257 */ { 3, s_1_257, 255, 1, 0}, +/*258 */ { 3, s_1_258, -1, 1, 0}, +/*259 */ { 3, s_1_259, -1, 1, 0}, +/*260 */ { 6, s_1_260, 259, 1, 0}, +/*261 */ { 3, s_1_261, -1, 1, 0}, +/*262 */ { 2, s_1_262, -1, 1, 0}, +/*263 */ { 2, s_1_263, -1, 1, 0}, +/*264 */ { 3, s_1_264, 263, 1, 0}, +/*265 */ { 5, s_1_265, 263, 1, 0}, +/*266 */ { 5, s_1_266, 263, 7, 0}, +/*267 */ { 4, s_1_267, 263, 1, 0}, +/*268 */ { 4, s_1_268, 263, 1, 0}, +/*269 */ { 3, s_1_269, 263, 1, 0}, +/*270 */ { 4, s_1_270, 263, 1, 0}, +/*271 */ { 2, s_1_271, -1, 2, 0}, +/*272 */ { 3, s_1_272, 271, 1, 0}, +/*273 */ { 2, s_1_273, -1, 1, 0}, +/*274 */ { 3, s_1_274, -1, 1, 0}, +/*275 */ { 2, s_1_275, -1, 1, 0}, +/*276 */ { 5, s_1_276, 275, 1, 0}, +/*277 */ { 4, s_1_277, 275, 1, 0}, +/*278 */ { 4, s_1_278, -1, 1, 0}, +/*279 */ { 4, s_1_279, -1, 2, 0}, +/*280 */ { 4, s_1_280, -1, 1, 0}, +/*281 */ { 3, s_1_281, -1, 1, 0}, +/*282 */ { 2, s_1_282, -1, 1, 0}, +/*283 */ { 4, s_1_283, 282, 4, 0}, +/*284 */ { 5, s_1_284, 282, 1, 0}, +/*285 */ { 4, s_1_285, 282, 1, 0}, +/*286 */ { 3, s_1_286, -1, 1, 0}, +/*287 */ { 2, s_1_287, -1, 1, 0}, +/*288 */ { 3, s_1_288, 287, 1, 0}, +/*289 */ { 6, s_1_289, 288, 1, 0}, +/*290 */ { 1, s_1_290, -1, 1, 0}, +/*291 */ { 2, s_1_291, 290, 1, 0}, +/*292 */ { 4, s_1_292, 290, 1, 0}, +/*293 */ { 2, s_1_293, 290, 1, 0}, +/*294 */ { 5, s_1_294, 293, 1, 0} +}; + +static const symbol s_2_0[4] = { 'z', 'l', 'e', 'a' }; +static const symbol s_2_1[5] = { 'k', 'e', 'r', 'i', 'a' }; +static const symbol s_2_2[2] = { 'l', 'a' }; +static const symbol s_2_3[3] = { 'e', 'r', 'a' }; +static const symbol s_2_4[4] = { 'd', 'a', 'd', 'e' }; +static const symbol s_2_5[4] = { 't', 'a', 'd', 'e' }; +static const symbol s_2_6[4] = { 'd', 'a', 't', 'e' }; +static const symbol s_2_7[4] = { 't', 'a', 't', 'e' }; +static const symbol s_2_8[2] = { 'g', 'i' }; +static const symbol s_2_9[2] = { 'k', 'i' }; +static const symbol s_2_10[2] = { 'i', 'k' }; +static const symbol s_2_11[5] = { 'l', 'a', 'n', 'i', 'k' }; +static const symbol s_2_12[3] = { 'r', 'i', 'k' }; +static const symbol s_2_13[5] = { 'l', 'a', 'r', 'i', 'k' }; +static const symbol s_2_14[4] = { 'z', 't', 'i', 'k' }; +static const symbol s_2_15[2] = { 'g', 'o' }; +static const symbol s_2_16[2] = { 'r', 'o' }; +static const symbol s_2_17[3] = { 'e', 'r', 'o' }; +static const symbol s_2_18[2] = { 't', 'o' }; + +static const struct among a_2[19] = +{ +/* 0 */ { 4, s_2_0, -1, 2, 0}, +/* 1 */ { 5, s_2_1, -1, 1, 0}, +/* 2 */ { 2, s_2_2, -1, 1, 0}, +/* 3 */ { 3, s_2_3, -1, 1, 0}, +/* 4 */ { 4, s_2_4, -1, 1, 0}, +/* 5 */ { 4, s_2_5, -1, 1, 0}, +/* 6 */ { 4, s_2_6, -1, 1, 0}, +/* 7 */ { 4, s_2_7, -1, 1, 0}, +/* 8 */ { 2, s_2_8, -1, 1, 0}, +/* 9 */ { 2, s_2_9, -1, 1, 0}, +/* 10 */ { 2, s_2_10, -1, 1, 0}, +/* 11 */ { 5, s_2_11, 10, 1, 0}, +/* 12 */ { 3, s_2_12, 10, 1, 0}, +/* 13 */ { 5, s_2_13, 12, 1, 0}, +/* 14 */ { 4, s_2_14, 10, 1, 0}, +/* 15 */ { 2, s_2_15, -1, 1, 0}, +/* 16 */ { 2, s_2_16, -1, 1, 0}, +/* 17 */ { 3, s_2_17, 16, 1, 0}, +/* 18 */ { 2, s_2_18, -1, 1, 0} +}; + +static const unsigned char g_v[] = { 17, 65, 16 }; + +static const symbol s_0[] = { 'a', 't', 's', 'e', 'd', 'e', 'n' }; +static const symbol s_1[] = { 'a', 'r', 'a', 'b', 'e', 'r', 'a' }; +static const symbol s_2[] = { 'b', 'a', 'd', 'i', 't', 'u' }; +static const symbol s_3[] = { 'j', 'o', 'k' }; +static const symbol s_4[] = { 't', 'r', 'a' }; +static const symbol s_5[] = { 'm', 'i', 'n', 'u', 't', 'u' }; +static const symbol s_6[] = { 'z', 'e', 'h', 'a', 'r' }; +static const symbol s_7[] = { 'g', 'e', 'l', 'd', 'i' }; +static const symbol s_8[] = { 'i', 'g', 'a', 'r', 'o' }; +static const symbol s_9[] = { 'a', 'u', 'r', 'k', 'a' }; +static const symbol s_10[] = { 'z' }; + +static int r_mark_regions(struct SN_env * z) { /* forwardmode */ + z->I[0] = z->l; /* $pV = , line 25 */ + z->I[1] = z->l; /* $p1 = , line 26 */ + z->I[2] = z->l; /* $p2 = , line 27 */ + { int c1 = z->c; /* do, line 29 */ + { int c2 = z->c; /* or, line 31 */ + if (in_grouping_U(z, g_v, 97, 117, 0)) goto lab2; /* grouping v, line 30 */ + { int c3 = z->c; /* or, line 30 */ + if (out_grouping_U(z, g_v, 97, 117, 0)) goto lab4; /* non v, line 30 */ + { /* gopast */ /* grouping v, line 30 */ + int ret = out_grouping_U(z, g_v, 97, 117, 1); + if (ret < 0) goto lab4; + z->c += ret; + } + goto lab3; + lab4: + z->c = c3; + if (in_grouping_U(z, g_v, 97, 117, 0)) goto lab2; /* grouping v, line 30 */ + { /* gopast */ /* non v, line 30 */ + int ret = in_grouping_U(z, g_v, 97, 117, 1); + if (ret < 0) goto lab2; + z->c += ret; + } + } + lab3: + goto lab1; + lab2: + z->c = c2; + if (out_grouping_U(z, g_v, 97, 117, 0)) goto lab0; /* non v, line 32 */ + { int c4 = z->c; /* or, line 32 */ + if (out_grouping_U(z, g_v, 97, 117, 0)) goto lab6; /* non v, line 32 */ + { /* gopast */ /* grouping v, line 32 */ + int ret = out_grouping_U(z, g_v, 97, 117, 1); + if (ret < 0) goto lab6; + z->c += ret; + } + goto lab5; + lab6: + z->c = c4; + if (in_grouping_U(z, g_v, 97, 117, 0)) goto lab0; /* grouping v, line 32 */ + { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); + if (ret < 0) goto lab0; + z->c = ret; /* next, line 32 */ + } + } + lab5: + ; + } + lab1: + z->I[0] = z->c; /* setmark pV, line 33 */ + lab0: + z->c = c1; + } + { int c5 = z->c; /* do, line 35 */ + { /* gopast */ /* grouping v, line 36 */ + int ret = out_grouping_U(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + { /* gopast */ /* non v, line 36 */ + int ret = in_grouping_U(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + z->I[1] = z->c; /* setmark p1, line 36 */ + { /* gopast */ /* grouping v, line 37 */ + int ret = out_grouping_U(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + { /* gopast */ /* non v, line 37 */ + int ret = in_grouping_U(z, g_v, 97, 117, 1); + if (ret < 0) goto lab7; + z->c += ret; + } + z->I[2] = z->c; /* setmark p2, line 37 */ + lab7: + z->c = c5; + } + return 1; +} + +static int r_RV(struct SN_env * z) { /* backwardmode */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 43 */ + return 1; +} + +static int r_R2(struct SN_env * z) { /* backwardmode */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 44 */ + return 1; +} + +static int r_R1(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 45 */ + return 1; +} + +static int r_aditzak(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 48 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((70566434 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 48 */ + among_var = find_among_b(z, a_0, 109); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 48 */ + switch (among_var) { /* among, line 48 */ + case 1: + { int ret = r_RV(z); /* call RV, line 59 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 59 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 61 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 61 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 7, s_0); /* <-, line 63 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 7, s_1); /* <-, line 65 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 6, s_2); /* <-, line 67 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_izenak(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 73 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((71162402 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 73 */ + among_var = find_among_b(z, a_1, 295); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 73 */ + switch (among_var) { /* among, line 73 */ + case 1: + { int ret = r_RV(z); /* call RV, line 103 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 103 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 105 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 105 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 3, s_3); /* <-, line 107 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = r_R1(z); /* call R1, line 109 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 109 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 3, s_4); /* <-, line 111 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 6, s_5); /* <-, line 113 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 5, s_6); /* <-, line 115 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 5, s_7); /* <-, line 117 */ + if (ret < 0) return ret; + } + break; + case 9: + { int ret = slice_from_s(z, 5, s_8); /* <-, line 119 */ + if (ret < 0) return ret; + } + break; + case 10: + { int ret = slice_from_s(z, 5, s_9); /* <-, line 121 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_adjetiboak(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 126 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((35362 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 126 */ + among_var = find_among_b(z, a_2, 19); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 126 */ + switch (among_var) { /* among, line 126 */ + case 1: + { int ret = r_RV(z); /* call RV, line 129 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 129 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 1, s_10); /* <-, line 131 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +extern int basque_UTF_8_stem(struct SN_env * z) { /* forwardmode */ + /* do, line 138 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 138 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 139 */ + +/* repeat, line 140 */ + + while(1) { int m1 = z->l - z->c; (void)m1; + { int ret = r_aditzak(z); /* call aditzak, line 140 */ + if (ret == 0) goto lab0; + if (ret < 0) return ret; + } + continue; + lab0: + z->c = z->l - m1; + break; + } +/* repeat, line 141 */ + + while(1) { int m2 = z->l - z->c; (void)m2; + { int ret = r_izenak(z); /* call izenak, line 141 */ + if (ret == 0) goto lab1; + if (ret < 0) return ret; + } + continue; + lab1: + z->c = z->l - m2; + break; + } + { int m3 = z->l - z->c; (void)m3; /* do, line 142 */ + { int ret = r_adjetiboak(z); /* call adjetiboak, line 142 */ + if (ret < 0) return ret; + } + z->c = z->l - m3; + } + z->c = z->lb; + return 1; +} + +extern struct SN_env * basque_UTF_8_create_env(void) { return SN_create_env(0, 3, 0); } + +extern void basque_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_UTF_8_basque.h b/src/dep/snowball/src_c/stem_UTF_8_basque.h new file mode 100644 index 0000000000..34b4622b86 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_basque.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * basque_UTF_8_create_env(void); +extern void basque_UTF_8_close_env(struct SN_env * z); + +extern int basque_UTF_8_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_UTF_8_catalan.c b/src/dep/snowball/src_c/stem_UTF_8_catalan.c new file mode 100644 index 0000000000..851753a14e --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_catalan.c @@ -0,0 +1,1450 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int catalan_UTF_8_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_residual_suffix(struct SN_env * z); +static int r_verb_suffix(struct SN_env * z); +static int r_standard_suffix(struct SN_env * z); +static int r_attached_pronoun(struct SN_env * z); +static int r_R2(struct SN_env * z); +static int r_R1(struct SN_env * z); +static int r_mark_regions(struct SN_env * z); +static int r_cleaning(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * catalan_UTF_8_create_env(void); +extern void catalan_UTF_8_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_1[2] = { 0xC2, 0xB7 }; +static const symbol s_0_2[2] = { 0xC3, 0xA0 }; +static const symbol s_0_3[2] = { 0xC3, 0xA1 }; +static const symbol s_0_4[2] = { 0xC3, 0xA8 }; +static const symbol s_0_5[2] = { 0xC3, 0xA9 }; +static const symbol s_0_6[2] = { 0xC3, 0xAC }; +static const symbol s_0_7[2] = { 0xC3, 0xAD }; +static const symbol s_0_8[2] = { 0xC3, 0xAF }; +static const symbol s_0_9[2] = { 0xC3, 0xB2 }; +static const symbol s_0_10[2] = { 0xC3, 0xB3 }; +static const symbol s_0_11[2] = { 0xC3, 0xBA }; +static const symbol s_0_12[2] = { 0xC3, 0xBC }; + +static const struct among a_0[13] = +{ +/* 0 */ { 0, 0, -1, 7, 0}, +/* 1 */ { 2, s_0_1, 0, 6, 0}, +/* 2 */ { 2, s_0_2, 0, 1, 0}, +/* 3 */ { 2, s_0_3, 0, 1, 0}, +/* 4 */ { 2, s_0_4, 0, 2, 0}, +/* 5 */ { 2, s_0_5, 0, 2, 0}, +/* 6 */ { 2, s_0_6, 0, 3, 0}, +/* 7 */ { 2, s_0_7, 0, 3, 0}, +/* 8 */ { 2, s_0_8, 0, 3, 0}, +/* 9 */ { 2, s_0_9, 0, 4, 0}, +/* 10 */ { 2, s_0_10, 0, 4, 0}, +/* 11 */ { 2, s_0_11, 0, 5, 0}, +/* 12 */ { 2, s_0_12, 0, 5, 0} +}; + +static const symbol s_1_0[2] = { 'l', 'a' }; +static const symbol s_1_1[3] = { '-', 'l', 'a' }; +static const symbol s_1_2[4] = { 's', 'e', 'l', 'a' }; +static const symbol s_1_3[2] = { 'l', 'e' }; +static const symbol s_1_4[2] = { 'm', 'e' }; +static const symbol s_1_5[3] = { '-', 'm', 'e' }; +static const symbol s_1_6[2] = { 's', 'e' }; +static const symbol s_1_7[3] = { '-', 't', 'e' }; +static const symbol s_1_8[2] = { 'h', 'i' }; +static const symbol s_1_9[3] = { '\'', 'h', 'i' }; +static const symbol s_1_10[2] = { 'l', 'i' }; +static const symbol s_1_11[3] = { '-', 'l', 'i' }; +static const symbol s_1_12[2] = { '\'', 'l' }; +static const symbol s_1_13[2] = { '\'', 'm' }; +static const symbol s_1_14[2] = { '-', 'm' }; +static const symbol s_1_15[2] = { '\'', 'n' }; +static const symbol s_1_16[2] = { '-', 'n' }; +static const symbol s_1_17[2] = { 'h', 'o' }; +static const symbol s_1_18[3] = { '\'', 'h', 'o' }; +static const symbol s_1_19[2] = { 'l', 'o' }; +static const symbol s_1_20[4] = { 's', 'e', 'l', 'o' }; +static const symbol s_1_21[2] = { '\'', 's' }; +static const symbol s_1_22[3] = { 'l', 'a', 's' }; +static const symbol s_1_23[5] = { 's', 'e', 'l', 'a', 's' }; +static const symbol s_1_24[3] = { 'l', 'e', 's' }; +static const symbol s_1_25[4] = { '-', 'l', 'e', 's' }; +static const symbol s_1_26[3] = { '\'', 'l', 's' }; +static const symbol s_1_27[3] = { '-', 'l', 's' }; +static const symbol s_1_28[3] = { '\'', 'n', 's' }; +static const symbol s_1_29[3] = { '-', 'n', 's' }; +static const symbol s_1_30[3] = { 'e', 'n', 's' }; +static const symbol s_1_31[3] = { 'l', 'o', 's' }; +static const symbol s_1_32[5] = { 's', 'e', 'l', 'o', 's' }; +static const symbol s_1_33[3] = { 'n', 'o', 's' }; +static const symbol s_1_34[4] = { '-', 'n', 'o', 's' }; +static const symbol s_1_35[3] = { 'v', 'o', 's' }; +static const symbol s_1_36[2] = { 'u', 's' }; +static const symbol s_1_37[3] = { '-', 'u', 's' }; +static const symbol s_1_38[2] = { '\'', 't' }; + +static const struct among a_1[39] = +{ +/* 0 */ { 2, s_1_0, -1, 1, 0}, +/* 1 */ { 3, s_1_1, 0, 1, 0}, +/* 2 */ { 4, s_1_2, 0, 1, 0}, +/* 3 */ { 2, s_1_3, -1, 1, 0}, +/* 4 */ { 2, s_1_4, -1, 1, 0}, +/* 5 */ { 3, s_1_5, 4, 1, 0}, +/* 6 */ { 2, s_1_6, -1, 1, 0}, +/* 7 */ { 3, s_1_7, -1, 1, 0}, +/* 8 */ { 2, s_1_8, -1, 1, 0}, +/* 9 */ { 3, s_1_9, 8, 1, 0}, +/* 10 */ { 2, s_1_10, -1, 1, 0}, +/* 11 */ { 3, s_1_11, 10, 1, 0}, +/* 12 */ { 2, s_1_12, -1, 1, 0}, +/* 13 */ { 2, s_1_13, -1, 1, 0}, +/* 14 */ { 2, s_1_14, -1, 1, 0}, +/* 15 */ { 2, s_1_15, -1, 1, 0}, +/* 16 */ { 2, s_1_16, -1, 1, 0}, +/* 17 */ { 2, s_1_17, -1, 1, 0}, +/* 18 */ { 3, s_1_18, 17, 1, 0}, +/* 19 */ { 2, s_1_19, -1, 1, 0}, +/* 20 */ { 4, s_1_20, 19, 1, 0}, +/* 21 */ { 2, s_1_21, -1, 1, 0}, +/* 22 */ { 3, s_1_22, -1, 1, 0}, +/* 23 */ { 5, s_1_23, 22, 1, 0}, +/* 24 */ { 3, s_1_24, -1, 1, 0}, +/* 25 */ { 4, s_1_25, 24, 1, 0}, +/* 26 */ { 3, s_1_26, -1, 1, 0}, +/* 27 */ { 3, s_1_27, -1, 1, 0}, +/* 28 */ { 3, s_1_28, -1, 1, 0}, +/* 29 */ { 3, s_1_29, -1, 1, 0}, +/* 30 */ { 3, s_1_30, -1, 1, 0}, +/* 31 */ { 3, s_1_31, -1, 1, 0}, +/* 32 */ { 5, s_1_32, 31, 1, 0}, +/* 33 */ { 3, s_1_33, -1, 1, 0}, +/* 34 */ { 4, s_1_34, 33, 1, 0}, +/* 35 */ { 3, s_1_35, -1, 1, 0}, +/* 36 */ { 2, s_1_36, -1, 1, 0}, +/* 37 */ { 3, s_1_37, 36, 1, 0}, +/* 38 */ { 2, s_1_38, -1, 1, 0} +}; + +static const symbol s_2_0[3] = { 'i', 'c', 'a' }; +static const symbol s_2_1[7] = { 'l', 0xC3, 0xB3, 'g', 'i', 'c', 'a' }; +static const symbol s_2_2[4] = { 'e', 'n', 'c', 'a' }; +static const symbol s_2_3[3] = { 'a', 'd', 'a' }; +static const symbol s_2_4[5] = { 'a', 'n', 'c', 'i', 'a' }; +static const symbol s_2_5[5] = { 'e', 'n', 'c', 'i', 'a' }; +static const symbol s_2_6[6] = { 0xC3, 0xA8, 'n', 'c', 'i', 'a' }; +static const symbol s_2_7[5] = { 0xC3, 0xAD, 'c', 'i', 'a' }; +static const symbol s_2_8[5] = { 'l', 'o', 'g', 'i', 'a' }; +static const symbol s_2_9[4] = { 'i', 'n', 'i', 'a' }; +static const symbol s_2_10[6] = { 0xC3, 0xAD, 'i', 'n', 'i', 'a' }; +static const symbol s_2_11[4] = { 'e', 'r', 'i', 'a' }; +static const symbol s_2_12[5] = { 0xC3, 0xA0, 'r', 'i', 'a' }; +static const symbol s_2_13[7] = { 'a', 't', 0xC3, 0xB2, 'r', 'i', 'a' }; +static const symbol s_2_14[4] = { 'a', 'l', 'l', 'a' }; +static const symbol s_2_15[4] = { 'e', 'l', 'l', 'a' }; +static const symbol s_2_16[6] = { 0xC3, 0xAD, 'v', 'o', 'l', 'a' }; +static const symbol s_2_17[3] = { 'i', 'm', 'a' }; +static const symbol s_2_18[7] = { 0xC3, 0xAD, 's', 's', 'i', 'm', 'a' }; +static const symbol s_2_19[9] = { 'q', 'u', 0xC3, 0xAD, 's', 's', 'i', 'm', 'a' }; +static const symbol s_2_20[3] = { 'a', 'n', 'a' }; +static const symbol s_2_21[3] = { 'i', 'n', 'a' }; +static const symbol s_2_22[3] = { 'e', 'r', 'a' }; +static const symbol s_2_23[5] = { 's', 'f', 'e', 'r', 'a' }; +static const symbol s_2_24[3] = { 'o', 'r', 'a' }; +static const symbol s_2_25[4] = { 'd', 'o', 'r', 'a' }; +static const symbol s_2_26[5] = { 'a', 'd', 'o', 'r', 'a' }; +static const symbol s_2_27[5] = { 'a', 'd', 'u', 'r', 'a' }; +static const symbol s_2_28[3] = { 'e', 's', 'a' }; +static const symbol s_2_29[3] = { 'o', 's', 'a' }; +static const symbol s_2_30[4] = { 'a', 's', 's', 'a' }; +static const symbol s_2_31[4] = { 'e', 's', 's', 'a' }; +static const symbol s_2_32[4] = { 'i', 's', 's', 'a' }; +static const symbol s_2_33[3] = { 'e', 't', 'a' }; +static const symbol s_2_34[3] = { 'i', 't', 'a' }; +static const symbol s_2_35[3] = { 'o', 't', 'a' }; +static const symbol s_2_36[4] = { 'i', 's', 't', 'a' }; +static const symbol s_2_37[7] = { 'i', 'a', 'l', 'i', 's', 't', 'a' }; +static const symbol s_2_38[7] = { 'i', 'o', 'n', 'i', 's', 't', 'a' }; +static const symbol s_2_39[3] = { 'i', 'v', 'a' }; +static const symbol s_2_40[5] = { 'a', 't', 'i', 'v', 'a' }; +static const symbol s_2_41[4] = { 'n', 0xC3, 0xA7, 'a' }; +static const symbol s_2_42[6] = { 'l', 'o', 'g', 0xC3, 0xAD, 'a' }; +static const symbol s_2_43[2] = { 'i', 'c' }; +static const symbol s_2_44[6] = { 0xC3, 0xAD, 's', 't', 'i', 'c' }; +static const symbol s_2_45[3] = { 'e', 'n', 'c' }; +static const symbol s_2_46[3] = { 'e', 's', 'c' }; +static const symbol s_2_47[2] = { 'u', 'd' }; +static const symbol s_2_48[4] = { 'a', 't', 'g', 'e' }; +static const symbol s_2_49[3] = { 'b', 'l', 'e' }; +static const symbol s_2_50[4] = { 'a', 'b', 'l', 'e' }; +static const symbol s_2_51[4] = { 'i', 'b', 'l', 'e' }; +static const symbol s_2_52[4] = { 'i', 's', 'm', 'e' }; +static const symbol s_2_53[7] = { 'i', 'a', 'l', 'i', 's', 'm', 'e' }; +static const symbol s_2_54[7] = { 'i', 'o', 'n', 'i', 's', 'm', 'e' }; +static const symbol s_2_55[6] = { 'i', 'v', 'i', 's', 'm', 'e' }; +static const symbol s_2_56[4] = { 'a', 'i', 'r', 'e' }; +static const symbol s_2_57[4] = { 'i', 'c', 't', 'e' }; +static const symbol s_2_58[4] = { 'i', 's', 't', 'e' }; +static const symbol s_2_59[3] = { 'i', 'c', 'i' }; +static const symbol s_2_60[4] = { 0xC3, 0xAD, 'c', 'i' }; +static const symbol s_2_61[4] = { 'l', 'o', 'g', 'i' }; +static const symbol s_2_62[3] = { 'a', 'r', 'i' }; +static const symbol s_2_63[4] = { 't', 'o', 'r', 'i' }; +static const symbol s_2_64[2] = { 'a', 'l' }; +static const symbol s_2_65[2] = { 'i', 'l' }; +static const symbol s_2_66[3] = { 'a', 'l', 'l' }; +static const symbol s_2_67[3] = { 'e', 'l', 'l' }; +static const symbol s_2_68[5] = { 0xC3, 0xAD, 'v', 'o', 'l' }; +static const symbol s_2_69[4] = { 'i', 's', 'a', 'm' }; +static const symbol s_2_70[5] = { 'i', 's', 's', 'e', 'm' }; +static const symbol s_2_71[6] = { 0xC3, 0xAC, 's', 's', 'e', 'm' }; +static const symbol s_2_72[6] = { 0xC3, 0xAD, 's', 's', 'e', 'm' }; +static const symbol s_2_73[6] = { 0xC3, 0xAD, 's', 's', 'i', 'm' }; +static const symbol s_2_74[8] = { 'q', 'u', 0xC3, 0xAD, 's', 's', 'i', 'm' }; +static const symbol s_2_75[4] = { 'a', 'm', 'e', 'n' }; +static const symbol s_2_76[6] = { 0xC3, 0xAC, 's', 's', 'i', 'n' }; +static const symbol s_2_77[2] = { 'a', 'r' }; +static const symbol s_2_78[6] = { 'i', 'f', 'i', 'c', 'a', 'r' }; +static const symbol s_2_79[4] = { 'e', 'g', 'a', 'r' }; +static const symbol s_2_80[4] = { 'e', 'j', 'a', 'r' }; +static const symbol s_2_81[4] = { 'i', 't', 'a', 'r' }; +static const symbol s_2_82[5] = { 'i', 't', 'z', 'a', 'r' }; +static const symbol s_2_83[3] = { 'f', 'e', 'r' }; +static const symbol s_2_84[2] = { 'o', 'r' }; +static const symbol s_2_85[3] = { 'd', 'o', 'r' }; +static const symbol s_2_86[3] = { 'd', 'u', 'r' }; +static const symbol s_2_87[5] = { 'd', 'o', 'r', 'a', 's' }; +static const symbol s_2_88[3] = { 'i', 'c', 's' }; +static const symbol s_2_89[7] = { 'l', 0xC3, 0xB3, 'g', 'i', 'c', 's' }; +static const symbol s_2_90[3] = { 'u', 'd', 's' }; +static const symbol s_2_91[4] = { 'n', 'c', 'e', 's' }; +static const symbol s_2_92[4] = { 'a', 'd', 'e', 's' }; +static const symbol s_2_93[6] = { 'a', 'n', 'c', 'i', 'e', 's' }; +static const symbol s_2_94[6] = { 'e', 'n', 'c', 'i', 'e', 's' }; +static const symbol s_2_95[7] = { 0xC3, 0xA8, 'n', 'c', 'i', 'e', 's' }; +static const symbol s_2_96[6] = { 0xC3, 0xAD, 'c', 'i', 'e', 's' }; +static const symbol s_2_97[6] = { 'l', 'o', 'g', 'i', 'e', 's' }; +static const symbol s_2_98[5] = { 'i', 'n', 'i', 'e', 's' }; +static const symbol s_2_99[6] = { 0xC3, 0xAD, 'n', 'i', 'e', 's' }; +static const symbol s_2_100[5] = { 'e', 'r', 'i', 'e', 's' }; +static const symbol s_2_101[6] = { 0xC3, 0xA0, 'r', 'i', 'e', 's' }; +static const symbol s_2_102[8] = { 'a', 't', 0xC3, 0xB2, 'r', 'i', 'e', 's' }; +static const symbol s_2_103[4] = { 'b', 'l', 'e', 's' }; +static const symbol s_2_104[5] = { 'a', 'b', 'l', 'e', 's' }; +static const symbol s_2_105[5] = { 'i', 'b', 'l', 'e', 's' }; +static const symbol s_2_106[4] = { 'i', 'm', 'e', 's' }; +static const symbol s_2_107[8] = { 0xC3, 0xAD, 's', 's', 'i', 'm', 'e', 's' }; +static const symbol s_2_108[10] = { 'q', 'u', 0xC3, 0xAD, 's', 's', 'i', 'm', 'e', 's' }; +static const symbol s_2_109[6] = { 'f', 'o', 'r', 'm', 'e', 's' }; +static const symbol s_2_110[5] = { 'i', 's', 'm', 'e', 's' }; +static const symbol s_2_111[8] = { 'i', 'a', 'l', 'i', 's', 'm', 'e', 's' }; +static const symbol s_2_112[4] = { 'i', 'n', 'e', 's' }; +static const symbol s_2_113[4] = { 'e', 'r', 'e', 's' }; +static const symbol s_2_114[4] = { 'o', 'r', 'e', 's' }; +static const symbol s_2_115[5] = { 'd', 'o', 'r', 'e', 's' }; +static const symbol s_2_116[6] = { 'i', 'd', 'o', 'r', 'e', 's' }; +static const symbol s_2_117[5] = { 'd', 'u', 'r', 'e', 's' }; +static const symbol s_2_118[4] = { 'e', 's', 'e', 's' }; +static const symbol s_2_119[4] = { 'o', 's', 'e', 's' }; +static const symbol s_2_120[5] = { 'a', 's', 's', 'e', 's' }; +static const symbol s_2_121[5] = { 'i', 'c', 't', 'e', 's' }; +static const symbol s_2_122[4] = { 'i', 't', 'e', 's' }; +static const symbol s_2_123[4] = { 'o', 't', 'e', 's' }; +static const symbol s_2_124[5] = { 'i', 's', 't', 'e', 's' }; +static const symbol s_2_125[8] = { 'i', 'a', 'l', 'i', 's', 't', 'e', 's' }; +static const symbol s_2_126[8] = { 'i', 'o', 'n', 'i', 's', 't', 'e', 's' }; +static const symbol s_2_127[5] = { 'i', 'q', 'u', 'e', 's' }; +static const symbol s_2_128[9] = { 'l', 0xC3, 0xB3, 'g', 'i', 'q', 'u', 'e', 's' }; +static const symbol s_2_129[4] = { 'i', 'v', 'e', 's' }; +static const symbol s_2_130[6] = { 'a', 't', 'i', 'v', 'e', 's' }; +static const symbol s_2_131[7] = { 'l', 'o', 'g', 0xC3, 0xAD, 'e', 's' }; +static const symbol s_2_132[10] = { 'a', 'l', 'l', 'e', 'n', 'g', 0xC3, 0xBC, 'e', 's' }; +static const symbol s_2_133[4] = { 'i', 'c', 'i', 's' }; +static const symbol s_2_134[5] = { 0xC3, 0xAD, 'c', 'i', 's' }; +static const symbol s_2_135[5] = { 'l', 'o', 'g', 'i', 's' }; +static const symbol s_2_136[4] = { 'a', 'r', 'i', 's' }; +static const symbol s_2_137[5] = { 't', 'o', 'r', 'i', 's' }; +static const symbol s_2_138[2] = { 'l', 's' }; +static const symbol s_2_139[3] = { 'a', 'l', 's' }; +static const symbol s_2_140[4] = { 'e', 'l', 'l', 's' }; +static const symbol s_2_141[3] = { 'i', 'm', 's' }; +static const symbol s_2_142[7] = { 0xC3, 0xAD, 's', 's', 'i', 'm', 's' }; +static const symbol s_2_143[9] = { 'q', 'u', 0xC3, 0xAD, 's', 's', 'i', 'm', 's' }; +static const symbol s_2_144[4] = { 'i', 'o', 'n', 's' }; +static const symbol s_2_145[5] = { 'c', 'i', 'o', 'n', 's' }; +static const symbol s_2_146[6] = { 'a', 'c', 'i', 'o', 'n', 's' }; +static const symbol s_2_147[4] = { 'e', 's', 'o', 's' }; +static const symbol s_2_148[4] = { 'o', 's', 'o', 's' }; +static const symbol s_2_149[5] = { 'a', 's', 's', 'o', 's' }; +static const symbol s_2_150[5] = { 'i', 's', 's', 'o', 's' }; +static const symbol s_2_151[3] = { 'e', 'r', 's' }; +static const symbol s_2_152[3] = { 'o', 'r', 's' }; +static const symbol s_2_153[4] = { 'd', 'o', 'r', 's' }; +static const symbol s_2_154[5] = { 'a', 'd', 'o', 'r', 's' }; +static const symbol s_2_155[5] = { 'i', 'd', 'o', 'r', 's' }; +static const symbol s_2_156[3] = { 'a', 't', 's' }; +static const symbol s_2_157[5] = { 'i', 't', 'a', 't', 's' }; +static const symbol s_2_158[8] = { 'b', 'i', 'l', 'i', 't', 'a', 't', 's' }; +static const symbol s_2_159[7] = { 'i', 'v', 'i', 't', 'a', 't', 's' }; +static const symbol s_2_160[9] = { 'a', 't', 'i', 'v', 'i', 't', 'a', 't', 's' }; +static const symbol s_2_161[6] = { 0xC3, 0xAF, 't', 'a', 't', 's' }; +static const symbol s_2_162[3] = { 'e', 't', 's' }; +static const symbol s_2_163[4] = { 'a', 'n', 't', 's' }; +static const symbol s_2_164[4] = { 'e', 'n', 't', 's' }; +static const symbol s_2_165[5] = { 'm', 'e', 'n', 't', 's' }; +static const symbol s_2_166[6] = { 'a', 'm', 'e', 'n', 't', 's' }; +static const symbol s_2_167[3] = { 'o', 't', 's' }; +static const symbol s_2_168[3] = { 'u', 't', 's' }; +static const symbol s_2_169[3] = { 'i', 'u', 's' }; +static const symbol s_2_170[5] = { 't', 'r', 'i', 'u', 's' }; +static const symbol s_2_171[5] = { 'a', 't', 'i', 'u', 's' }; +static const symbol s_2_172[3] = { 0xC3, 0xA8, 's' }; +static const symbol s_2_173[3] = { 0xC3, 0xA9, 's' }; +static const symbol s_2_174[3] = { 0xC3, 0xAD, 's' }; +static const symbol s_2_175[4] = { 'd', 0xC3, 0xAD, 's' }; +static const symbol s_2_176[3] = { 0xC3, 0xB3, 's' }; +static const symbol s_2_177[4] = { 'i', 't', 'a', 't' }; +static const symbol s_2_178[7] = { 'b', 'i', 'l', 'i', 't', 'a', 't' }; +static const symbol s_2_179[6] = { 'i', 'v', 'i', 't', 'a', 't' }; +static const symbol s_2_180[8] = { 'a', 't', 'i', 'v', 'i', 't', 'a', 't' }; +static const symbol s_2_181[5] = { 0xC3, 0xAF, 't', 'a', 't' }; +static const symbol s_2_182[2] = { 'e', 't' }; +static const symbol s_2_183[3] = { 'a', 'n', 't' }; +static const symbol s_2_184[3] = { 'e', 'n', 't' }; +static const symbol s_2_185[4] = { 'i', 'e', 'n', 't' }; +static const symbol s_2_186[4] = { 'm', 'e', 'n', 't' }; +static const symbol s_2_187[5] = { 'a', 'm', 'e', 'n', 't' }; +static const symbol s_2_188[7] = { 'i', 's', 'a', 'm', 'e', 'n', 't' }; +static const symbol s_2_189[2] = { 'o', 't' }; +static const symbol s_2_190[5] = { 'i', 's', 's', 'e', 'u' }; +static const symbol s_2_191[6] = { 0xC3, 0xAC, 's', 's', 'e', 'u' }; +static const symbol s_2_192[6] = { 0xC3, 0xAD, 's', 's', 'e', 'u' }; +static const symbol s_2_193[4] = { 't', 'r', 'i', 'u' }; +static const symbol s_2_194[6] = { 0xC3, 0xAD, 's', 's', 'i', 'u' }; +static const symbol s_2_195[4] = { 'a', 't', 'i', 'u' }; +static const symbol s_2_196[2] = { 0xC3, 0xB3 }; +static const symbol s_2_197[3] = { 'i', 0xC3, 0xB3 }; +static const symbol s_2_198[4] = { 'c', 'i', 0xC3, 0xB3 }; +static const symbol s_2_199[5] = { 'a', 'c', 'i', 0xC3, 0xB3 }; + +static const struct among a_2[200] = +{ +/* 0 */ { 3, s_2_0, -1, 4, 0}, +/* 1 */ { 7, s_2_1, 0, 3, 0}, +/* 2 */ { 4, s_2_2, -1, 1, 0}, +/* 3 */ { 3, s_2_3, -1, 2, 0}, +/* 4 */ { 5, s_2_4, -1, 1, 0}, +/* 5 */ { 5, s_2_5, -1, 1, 0}, +/* 6 */ { 6, s_2_6, -1, 1, 0}, +/* 7 */ { 5, s_2_7, -1, 1, 0}, +/* 8 */ { 5, s_2_8, -1, 3, 0}, +/* 9 */ { 4, s_2_9, -1, 1, 0}, +/* 10 */ { 6, s_2_10, 9, 1, 0}, +/* 11 */ { 4, s_2_11, -1, 1, 0}, +/* 12 */ { 5, s_2_12, -1, 1, 0}, +/* 13 */ { 7, s_2_13, -1, 1, 0}, +/* 14 */ { 4, s_2_14, -1, 1, 0}, +/* 15 */ { 4, s_2_15, -1, 1, 0}, +/* 16 */ { 6, s_2_16, -1, 1, 0}, +/* 17 */ { 3, s_2_17, -1, 1, 0}, +/* 18 */ { 7, s_2_18, 17, 1, 0}, +/* 19 */ { 9, s_2_19, 18, 5, 0}, +/* 20 */ { 3, s_2_20, -1, 1, 0}, +/* 21 */ { 3, s_2_21, -1, 1, 0}, +/* 22 */ { 3, s_2_22, -1, 1, 0}, +/* 23 */ { 5, s_2_23, 22, 1, 0}, +/* 24 */ { 3, s_2_24, -1, 1, 0}, +/* 25 */ { 4, s_2_25, 24, 1, 0}, +/* 26 */ { 5, s_2_26, 25, 1, 0}, +/* 27 */ { 5, s_2_27, -1, 1, 0}, +/* 28 */ { 3, s_2_28, -1, 1, 0}, +/* 29 */ { 3, s_2_29, -1, 1, 0}, +/* 30 */ { 4, s_2_30, -1, 1, 0}, +/* 31 */ { 4, s_2_31, -1, 1, 0}, +/* 32 */ { 4, s_2_32, -1, 1, 0}, +/* 33 */ { 3, s_2_33, -1, 1, 0}, +/* 34 */ { 3, s_2_34, -1, 1, 0}, +/* 35 */ { 3, s_2_35, -1, 1, 0}, +/* 36 */ { 4, s_2_36, -1, 1, 0}, +/* 37 */ { 7, s_2_37, 36, 1, 0}, +/* 38 */ { 7, s_2_38, 36, 1, 0}, +/* 39 */ { 3, s_2_39, -1, 1, 0}, +/* 40 */ { 5, s_2_40, 39, 1, 0}, +/* 41 */ { 4, s_2_41, -1, 1, 0}, +/* 42 */ { 6, s_2_42, -1, 3, 0}, +/* 43 */ { 2, s_2_43, -1, 4, 0}, +/* 44 */ { 6, s_2_44, 43, 1, 0}, +/* 45 */ { 3, s_2_45, -1, 1, 0}, +/* 46 */ { 3, s_2_46, -1, 1, 0}, +/* 47 */ { 2, s_2_47, -1, 1, 0}, +/* 48 */ { 4, s_2_48, -1, 1, 0}, +/* 49 */ { 3, s_2_49, -1, 1, 0}, +/* 50 */ { 4, s_2_50, 49, 1, 0}, +/* 51 */ { 4, s_2_51, 49, 1, 0}, +/* 52 */ { 4, s_2_52, -1, 1, 0}, +/* 53 */ { 7, s_2_53, 52, 1, 0}, +/* 54 */ { 7, s_2_54, 52, 1, 0}, +/* 55 */ { 6, s_2_55, 52, 1, 0}, +/* 56 */ { 4, s_2_56, -1, 1, 0}, +/* 57 */ { 4, s_2_57, -1, 1, 0}, +/* 58 */ { 4, s_2_58, -1, 1, 0}, +/* 59 */ { 3, s_2_59, -1, 1, 0}, +/* 60 */ { 4, s_2_60, -1, 1, 0}, +/* 61 */ { 4, s_2_61, -1, 3, 0}, +/* 62 */ { 3, s_2_62, -1, 1, 0}, +/* 63 */ { 4, s_2_63, -1, 1, 0}, +/* 64 */ { 2, s_2_64, -1, 1, 0}, +/* 65 */ { 2, s_2_65, -1, 1, 0}, +/* 66 */ { 3, s_2_66, -1, 1, 0}, +/* 67 */ { 3, s_2_67, -1, 1, 0}, +/* 68 */ { 5, s_2_68, -1, 1, 0}, +/* 69 */ { 4, s_2_69, -1, 1, 0}, +/* 70 */ { 5, s_2_70, -1, 1, 0}, +/* 71 */ { 6, s_2_71, -1, 1, 0}, +/* 72 */ { 6, s_2_72, -1, 1, 0}, +/* 73 */ { 6, s_2_73, -1, 1, 0}, +/* 74 */ { 8, s_2_74, 73, 5, 0}, +/* 75 */ { 4, s_2_75, -1, 1, 0}, +/* 76 */ { 6, s_2_76, -1, 1, 0}, +/* 77 */ { 2, s_2_77, -1, 1, 0}, +/* 78 */ { 6, s_2_78, 77, 1, 0}, +/* 79 */ { 4, s_2_79, 77, 1, 0}, +/* 80 */ { 4, s_2_80, 77, 1, 0}, +/* 81 */ { 4, s_2_81, 77, 1, 0}, +/* 82 */ { 5, s_2_82, 77, 1, 0}, +/* 83 */ { 3, s_2_83, -1, 1, 0}, +/* 84 */ { 2, s_2_84, -1, 1, 0}, +/* 85 */ { 3, s_2_85, 84, 1, 0}, +/* 86 */ { 3, s_2_86, -1, 1, 0}, +/* 87 */ { 5, s_2_87, -1, 1, 0}, +/* 88 */ { 3, s_2_88, -1, 4, 0}, +/* 89 */ { 7, s_2_89, 88, 3, 0}, +/* 90 */ { 3, s_2_90, -1, 1, 0}, +/* 91 */ { 4, s_2_91, -1, 1, 0}, +/* 92 */ { 4, s_2_92, -1, 2, 0}, +/* 93 */ { 6, s_2_93, -1, 1, 0}, +/* 94 */ { 6, s_2_94, -1, 1, 0}, +/* 95 */ { 7, s_2_95, -1, 1, 0}, +/* 96 */ { 6, s_2_96, -1, 1, 0}, +/* 97 */ { 6, s_2_97, -1, 3, 0}, +/* 98 */ { 5, s_2_98, -1, 1, 0}, +/* 99 */ { 6, s_2_99, -1, 1, 0}, +/*100 */ { 5, s_2_100, -1, 1, 0}, +/*101 */ { 6, s_2_101, -1, 1, 0}, +/*102 */ { 8, s_2_102, -1, 1, 0}, +/*103 */ { 4, s_2_103, -1, 1, 0}, +/*104 */ { 5, s_2_104, 103, 1, 0}, +/*105 */ { 5, s_2_105, 103, 1, 0}, +/*106 */ { 4, s_2_106, -1, 1, 0}, +/*107 */ { 8, s_2_107, 106, 1, 0}, +/*108 */ { 10, s_2_108, 107, 5, 0}, +/*109 */ { 6, s_2_109, -1, 1, 0}, +/*110 */ { 5, s_2_110, -1, 1, 0}, +/*111 */ { 8, s_2_111, 110, 1, 0}, +/*112 */ { 4, s_2_112, -1, 1, 0}, +/*113 */ { 4, s_2_113, -1, 1, 0}, +/*114 */ { 4, s_2_114, -1, 1, 0}, +/*115 */ { 5, s_2_115, 114, 1, 0}, +/*116 */ { 6, s_2_116, 115, 1, 0}, +/*117 */ { 5, s_2_117, -1, 1, 0}, +/*118 */ { 4, s_2_118, -1, 1, 0}, +/*119 */ { 4, s_2_119, -1, 1, 0}, +/*120 */ { 5, s_2_120, -1, 1, 0}, +/*121 */ { 5, s_2_121, -1, 1, 0}, +/*122 */ { 4, s_2_122, -1, 1, 0}, +/*123 */ { 4, s_2_123, -1, 1, 0}, +/*124 */ { 5, s_2_124, -1, 1, 0}, +/*125 */ { 8, s_2_125, 124, 1, 0}, +/*126 */ { 8, s_2_126, 124, 1, 0}, +/*127 */ { 5, s_2_127, -1, 4, 0}, +/*128 */ { 9, s_2_128, 127, 3, 0}, +/*129 */ { 4, s_2_129, -1, 1, 0}, +/*130 */ { 6, s_2_130, 129, 1, 0}, +/*131 */ { 7, s_2_131, -1, 3, 0}, +/*132 */ { 10, s_2_132, -1, 1, 0}, +/*133 */ { 4, s_2_133, -1, 1, 0}, +/*134 */ { 5, s_2_134, -1, 1, 0}, +/*135 */ { 5, s_2_135, -1, 3, 0}, +/*136 */ { 4, s_2_136, -1, 1, 0}, +/*137 */ { 5, s_2_137, -1, 1, 0}, +/*138 */ { 2, s_2_138, -1, 1, 0}, +/*139 */ { 3, s_2_139, 138, 1, 0}, +/*140 */ { 4, s_2_140, 138, 1, 0}, +/*141 */ { 3, s_2_141, -1, 1, 0}, +/*142 */ { 7, s_2_142, 141, 1, 0}, +/*143 */ { 9, s_2_143, 142, 5, 0}, +/*144 */ { 4, s_2_144, -1, 1, 0}, +/*145 */ { 5, s_2_145, 144, 1, 0}, +/*146 */ { 6, s_2_146, 145, 2, 0}, +/*147 */ { 4, s_2_147, -1, 1, 0}, +/*148 */ { 4, s_2_148, -1, 1, 0}, +/*149 */ { 5, s_2_149, -1, 1, 0}, +/*150 */ { 5, s_2_150, -1, 1, 0}, +/*151 */ { 3, s_2_151, -1, 1, 0}, +/*152 */ { 3, s_2_152, -1, 1, 0}, +/*153 */ { 4, s_2_153, 152, 1, 0}, +/*154 */ { 5, s_2_154, 153, 1, 0}, +/*155 */ { 5, s_2_155, 153, 1, 0}, +/*156 */ { 3, s_2_156, -1, 1, 0}, +/*157 */ { 5, s_2_157, 156, 1, 0}, +/*158 */ { 8, s_2_158, 157, 1, 0}, +/*159 */ { 7, s_2_159, 157, 1, 0}, +/*160 */ { 9, s_2_160, 159, 1, 0}, +/*161 */ { 6, s_2_161, 156, 1, 0}, +/*162 */ { 3, s_2_162, -1, 1, 0}, +/*163 */ { 4, s_2_163, -1, 1, 0}, +/*164 */ { 4, s_2_164, -1, 1, 0}, +/*165 */ { 5, s_2_165, 164, 1, 0}, +/*166 */ { 6, s_2_166, 165, 1, 0}, +/*167 */ { 3, s_2_167, -1, 1, 0}, +/*168 */ { 3, s_2_168, -1, 1, 0}, +/*169 */ { 3, s_2_169, -1, 1, 0}, +/*170 */ { 5, s_2_170, 169, 1, 0}, +/*171 */ { 5, s_2_171, 169, 1, 0}, +/*172 */ { 3, s_2_172, -1, 1, 0}, +/*173 */ { 3, s_2_173, -1, 1, 0}, +/*174 */ { 3, s_2_174, -1, 1, 0}, +/*175 */ { 4, s_2_175, 174, 1, 0}, +/*176 */ { 3, s_2_176, -1, 1, 0}, +/*177 */ { 4, s_2_177, -1, 1, 0}, +/*178 */ { 7, s_2_178, 177, 1, 0}, +/*179 */ { 6, s_2_179, 177, 1, 0}, +/*180 */ { 8, s_2_180, 179, 1, 0}, +/*181 */ { 5, s_2_181, -1, 1, 0}, +/*182 */ { 2, s_2_182, -1, 1, 0}, +/*183 */ { 3, s_2_183, -1, 1, 0}, +/*184 */ { 3, s_2_184, -1, 1, 0}, +/*185 */ { 4, s_2_185, 184, 1, 0}, +/*186 */ { 4, s_2_186, 184, 1, 0}, +/*187 */ { 5, s_2_187, 186, 1, 0}, +/*188 */ { 7, s_2_188, 187, 1, 0}, +/*189 */ { 2, s_2_189, -1, 1, 0}, +/*190 */ { 5, s_2_190, -1, 1, 0}, +/*191 */ { 6, s_2_191, -1, 1, 0}, +/*192 */ { 6, s_2_192, -1, 1, 0}, +/*193 */ { 4, s_2_193, -1, 1, 0}, +/*194 */ { 6, s_2_194, -1, 1, 0}, +/*195 */ { 4, s_2_195, -1, 1, 0}, +/*196 */ { 2, s_2_196, -1, 1, 0}, +/*197 */ { 3, s_2_197, 196, 1, 0}, +/*198 */ { 4, s_2_198, 197, 1, 0}, +/*199 */ { 5, s_2_199, 198, 1, 0} +}; + +static const symbol s_3_0[3] = { 'a', 'b', 'a' }; +static const symbol s_3_1[4] = { 'e', 's', 'c', 'a' }; +static const symbol s_3_2[4] = { 'i', 's', 'c', 'a' }; +static const symbol s_3_3[5] = { 0xC3, 0xAF, 's', 'c', 'a' }; +static const symbol s_3_4[3] = { 'a', 'd', 'a' }; +static const symbol s_3_5[3] = { 'i', 'd', 'a' }; +static const symbol s_3_6[3] = { 'u', 'd', 'a' }; +static const symbol s_3_7[4] = { 0xC3, 0xAF, 'd', 'a' }; +static const symbol s_3_8[2] = { 'i', 'a' }; +static const symbol s_3_9[4] = { 'a', 'r', 'i', 'a' }; +static const symbol s_3_10[4] = { 'i', 'r', 'i', 'a' }; +static const symbol s_3_11[3] = { 'a', 'r', 'a' }; +static const symbol s_3_12[4] = { 'i', 'e', 'r', 'a' }; +static const symbol s_3_13[3] = { 'i', 'r', 'a' }; +static const symbol s_3_14[5] = { 'a', 'd', 'o', 'r', 'a' }; +static const symbol s_3_15[4] = { 0xC3, 0xAF, 'r', 'a' }; +static const symbol s_3_16[3] = { 'a', 'v', 'a' }; +static const symbol s_3_17[3] = { 'i', 'x', 'a' }; +static const symbol s_3_18[4] = { 'i', 't', 'z', 'a' }; +static const symbol s_3_19[3] = { 0xC3, 0xAD, 'a' }; +static const symbol s_3_20[5] = { 'a', 'r', 0xC3, 0xAD, 'a' }; +static const symbol s_3_21[5] = { 'e', 'r', 0xC3, 0xAD, 'a' }; +static const symbol s_3_22[5] = { 'i', 'r', 0xC3, 0xAD, 'a' }; +static const symbol s_3_23[3] = { 0xC3, 0xAF, 'a' }; +static const symbol s_3_24[3] = { 'i', 's', 'c' }; +static const symbol s_3_25[4] = { 0xC3, 0xAF, 's', 'c' }; +static const symbol s_3_26[2] = { 'a', 'd' }; +static const symbol s_3_27[2] = { 'e', 'd' }; +static const symbol s_3_28[2] = { 'i', 'd' }; +static const symbol s_3_29[2] = { 'i', 'e' }; +static const symbol s_3_30[2] = { 'r', 'e' }; +static const symbol s_3_31[3] = { 'd', 'r', 'e' }; +static const symbol s_3_32[3] = { 'a', 's', 'e' }; +static const symbol s_3_33[4] = { 'i', 'e', 's', 'e' }; +static const symbol s_3_34[4] = { 'a', 's', 't', 'e' }; +static const symbol s_3_35[4] = { 'i', 's', 't', 'e' }; +static const symbol s_3_36[2] = { 'i', 'i' }; +static const symbol s_3_37[3] = { 'i', 'n', 'i' }; +static const symbol s_3_38[5] = { 'e', 's', 'q', 'u', 'i' }; +static const symbol s_3_39[4] = { 'e', 'i', 'x', 'i' }; +static const symbol s_3_40[4] = { 'i', 't', 'z', 'i' }; +static const symbol s_3_41[2] = { 'a', 'm' }; +static const symbol s_3_42[2] = { 'e', 'm' }; +static const symbol s_3_43[4] = { 'a', 'r', 'e', 'm' }; +static const symbol s_3_44[4] = { 'i', 'r', 'e', 'm' }; +static const symbol s_3_45[5] = { 0xC3, 0xA0, 'r', 'e', 'm' }; +static const symbol s_3_46[5] = { 0xC3, 0xAD, 'r', 'e', 'm' }; +static const symbol s_3_47[6] = { 0xC3, 0xA0, 's', 's', 'e', 'm' }; +static const symbol s_3_48[6] = { 0xC3, 0xA9, 's', 's', 'e', 'm' }; +static const symbol s_3_49[5] = { 'i', 'g', 'u', 'e', 'm' }; +static const symbol s_3_50[6] = { 0xC3, 0xAF, 'g', 'u', 'e', 'm' }; +static const symbol s_3_51[4] = { 'a', 'v', 'e', 'm' }; +static const symbol s_3_52[5] = { 0xC3, 0xA0, 'v', 'e', 'm' }; +static const symbol s_3_53[5] = { 0xC3, 0xA1, 'v', 'e', 'm' }; +static const symbol s_3_54[6] = { 'i', 'r', 0xC3, 0xAC, 'e', 'm' }; +static const symbol s_3_55[4] = { 0xC3, 0xAD, 'e', 'm' }; +static const symbol s_3_56[6] = { 'a', 'r', 0xC3, 0xAD, 'e', 'm' }; +static const symbol s_3_57[6] = { 'i', 'r', 0xC3, 0xAD, 'e', 'm' }; +static const symbol s_3_58[5] = { 'a', 's', 's', 'i', 'm' }; +static const symbol s_3_59[5] = { 'e', 's', 's', 'i', 'm' }; +static const symbol s_3_60[5] = { 'i', 's', 's', 'i', 'm' }; +static const symbol s_3_61[6] = { 0xC3, 0xA0, 's', 's', 'i', 'm' }; +static const symbol s_3_62[6] = { 0xC3, 0xA8, 's', 's', 'i', 'm' }; +static const symbol s_3_63[6] = { 0xC3, 0xA9, 's', 's', 'i', 'm' }; +static const symbol s_3_64[6] = { 0xC3, 0xAD, 's', 's', 'i', 'm' }; +static const symbol s_3_65[3] = { 0xC3, 0xAF, 'm' }; +static const symbol s_3_66[2] = { 'a', 'n' }; +static const symbol s_3_67[4] = { 'a', 'b', 'a', 'n' }; +static const symbol s_3_68[5] = { 'a', 'r', 'i', 'a', 'n' }; +static const symbol s_3_69[4] = { 'a', 'r', 'a', 'n' }; +static const symbol s_3_70[5] = { 'i', 'e', 'r', 'a', 'n' }; +static const symbol s_3_71[4] = { 'i', 'r', 'a', 'n' }; +static const symbol s_3_72[4] = { 0xC3, 0xAD, 'a', 'n' }; +static const symbol s_3_73[6] = { 'a', 'r', 0xC3, 0xAD, 'a', 'n' }; +static const symbol s_3_74[6] = { 'e', 'r', 0xC3, 0xAD, 'a', 'n' }; +static const symbol s_3_75[6] = { 'i', 'r', 0xC3, 0xAD, 'a', 'n' }; +static const symbol s_3_76[2] = { 'e', 'n' }; +static const symbol s_3_77[3] = { 'i', 'e', 'n' }; +static const symbol s_3_78[5] = { 'a', 'r', 'i', 'e', 'n' }; +static const symbol s_3_79[5] = { 'i', 'r', 'i', 'e', 'n' }; +static const symbol s_3_80[4] = { 'a', 'r', 'e', 'n' }; +static const symbol s_3_81[4] = { 'e', 'r', 'e', 'n' }; +static const symbol s_3_82[4] = { 'i', 'r', 'e', 'n' }; +static const symbol s_3_83[5] = { 0xC3, 0xA0, 'r', 'e', 'n' }; +static const symbol s_3_84[5] = { 0xC3, 0xAF, 'r', 'e', 'n' }; +static const symbol s_3_85[4] = { 'a', 's', 'e', 'n' }; +static const symbol s_3_86[5] = { 'i', 'e', 's', 'e', 'n' }; +static const symbol s_3_87[5] = { 'a', 's', 's', 'e', 'n' }; +static const symbol s_3_88[5] = { 'e', 's', 's', 'e', 'n' }; +static const symbol s_3_89[5] = { 'i', 's', 's', 'e', 'n' }; +static const symbol s_3_90[6] = { 0xC3, 0xA9, 's', 's', 'e', 'n' }; +static const symbol s_3_91[6] = { 0xC3, 0xAF, 's', 's', 'e', 'n' }; +static const symbol s_3_92[6] = { 'e', 's', 'q', 'u', 'e', 'n' }; +static const symbol s_3_93[6] = { 'i', 's', 'q', 'u', 'e', 'n' }; +static const symbol s_3_94[7] = { 0xC3, 0xAF, 's', 'q', 'u', 'e', 'n' }; +static const symbol s_3_95[4] = { 'a', 'v', 'e', 'n' }; +static const symbol s_3_96[4] = { 'i', 'x', 'e', 'n' }; +static const symbol s_3_97[5] = { 'e', 'i', 'x', 'e', 'n' }; +static const symbol s_3_98[5] = { 0xC3, 0xAF, 'x', 'e', 'n' }; +static const symbol s_3_99[4] = { 0xC3, 0xAF, 'e', 'n' }; +static const symbol s_3_100[2] = { 'i', 'n' }; +static const symbol s_3_101[4] = { 'i', 'n', 'i', 'n' }; +static const symbol s_3_102[3] = { 's', 'i', 'n' }; +static const symbol s_3_103[4] = { 'i', 's', 'i', 'n' }; +static const symbol s_3_104[5] = { 'a', 's', 's', 'i', 'n' }; +static const symbol s_3_105[5] = { 'e', 's', 's', 'i', 'n' }; +static const symbol s_3_106[5] = { 'i', 's', 's', 'i', 'n' }; +static const symbol s_3_107[6] = { 0xC3, 0xAF, 's', 's', 'i', 'n' }; +static const symbol s_3_108[6] = { 'e', 's', 'q', 'u', 'i', 'n' }; +static const symbol s_3_109[5] = { 'e', 'i', 'x', 'i', 'n' }; +static const symbol s_3_110[4] = { 'a', 'r', 'o', 'n' }; +static const symbol s_3_111[5] = { 'i', 'e', 'r', 'o', 'n' }; +static const symbol s_3_112[5] = { 'a', 'r', 0xC3, 0xA1, 'n' }; +static const symbol s_3_113[5] = { 'e', 'r', 0xC3, 0xA1, 'n' }; +static const symbol s_3_114[5] = { 'i', 'r', 0xC3, 0xA1, 'n' }; +static const symbol s_3_115[4] = { 'i', 0xC3, 0xAF, 'n' }; +static const symbol s_3_116[3] = { 'a', 'd', 'o' }; +static const symbol s_3_117[3] = { 'i', 'd', 'o' }; +static const symbol s_3_118[4] = { 'a', 'n', 'd', 'o' }; +static const symbol s_3_119[5] = { 'i', 'e', 'n', 'd', 'o' }; +static const symbol s_3_120[2] = { 'i', 'o' }; +static const symbol s_3_121[3] = { 'i', 'x', 'o' }; +static const symbol s_3_122[4] = { 'e', 'i', 'x', 'o' }; +static const symbol s_3_123[4] = { 0xC3, 0xAF, 'x', 'o' }; +static const symbol s_3_124[4] = { 'i', 't', 'z', 'o' }; +static const symbol s_3_125[2] = { 'a', 'r' }; +static const symbol s_3_126[4] = { 't', 'z', 'a', 'r' }; +static const symbol s_3_127[2] = { 'e', 'r' }; +static const symbol s_3_128[5] = { 'e', 'i', 'x', 'e', 'r' }; +static const symbol s_3_129[2] = { 'i', 'r' }; +static const symbol s_3_130[4] = { 'a', 'd', 'o', 'r' }; +static const symbol s_3_131[2] = { 'a', 's' }; +static const symbol s_3_132[4] = { 'a', 'b', 'a', 's' }; +static const symbol s_3_133[4] = { 'a', 'd', 'a', 's' }; +static const symbol s_3_134[4] = { 'i', 'd', 'a', 's' }; +static const symbol s_3_135[4] = { 'a', 'r', 'a', 's' }; +static const symbol s_3_136[5] = { 'i', 'e', 'r', 'a', 's' }; +static const symbol s_3_137[4] = { 0xC3, 0xAD, 'a', 's' }; +static const symbol s_3_138[6] = { 'a', 'r', 0xC3, 0xAD, 'a', 's' }; +static const symbol s_3_139[6] = { 'e', 'r', 0xC3, 0xAD, 'a', 's' }; +static const symbol s_3_140[6] = { 'i', 'r', 0xC3, 0xAD, 'a', 's' }; +static const symbol s_3_141[3] = { 'i', 'd', 's' }; +static const symbol s_3_142[2] = { 'e', 's' }; +static const symbol s_3_143[4] = { 'a', 'd', 'e', 's' }; +static const symbol s_3_144[4] = { 'i', 'd', 'e', 's' }; +static const symbol s_3_145[4] = { 'u', 'd', 'e', 's' }; +static const symbol s_3_146[5] = { 0xC3, 0xAF, 'd', 'e', 's' }; +static const symbol s_3_147[5] = { 'a', 't', 'g', 'e', 's' }; +static const symbol s_3_148[3] = { 'i', 'e', 's' }; +static const symbol s_3_149[5] = { 'a', 'r', 'i', 'e', 's' }; +static const symbol s_3_150[5] = { 'i', 'r', 'i', 'e', 's' }; +static const symbol s_3_151[4] = { 'a', 'r', 'e', 's' }; +static const symbol s_3_152[4] = { 'i', 'r', 'e', 's' }; +static const symbol s_3_153[6] = { 'a', 'd', 'o', 'r', 'e', 's' }; +static const symbol s_3_154[5] = { 0xC3, 0xAF, 'r', 'e', 's' }; +static const symbol s_3_155[4] = { 'a', 's', 'e', 's' }; +static const symbol s_3_156[5] = { 'i', 'e', 's', 'e', 's' }; +static const symbol s_3_157[5] = { 'a', 's', 's', 'e', 's' }; +static const symbol s_3_158[5] = { 'e', 's', 's', 'e', 's' }; +static const symbol s_3_159[5] = { 'i', 's', 's', 'e', 's' }; +static const symbol s_3_160[6] = { 0xC3, 0xAF, 's', 's', 'e', 's' }; +static const symbol s_3_161[4] = { 'q', 'u', 'e', 's' }; +static const symbol s_3_162[6] = { 'e', 's', 'q', 'u', 'e', 's' }; +static const symbol s_3_163[7] = { 0xC3, 0xAF, 's', 'q', 'u', 'e', 's' }; +static const symbol s_3_164[4] = { 'a', 'v', 'e', 's' }; +static const symbol s_3_165[4] = { 'i', 'x', 'e', 's' }; +static const symbol s_3_166[5] = { 'e', 'i', 'x', 'e', 's' }; +static const symbol s_3_167[5] = { 0xC3, 0xAF, 'x', 'e', 's' }; +static const symbol s_3_168[4] = { 0xC3, 0xAF, 'e', 's' }; +static const symbol s_3_169[5] = { 'a', 'b', 'a', 'i', 's' }; +static const symbol s_3_170[5] = { 'a', 'r', 'a', 'i', 's' }; +static const symbol s_3_171[6] = { 'i', 'e', 'r', 'a', 'i', 's' }; +static const symbol s_3_172[5] = { 0xC3, 0xAD, 'a', 'i', 's' }; +static const symbol s_3_173[7] = { 'a', 'r', 0xC3, 0xAD, 'a', 'i', 's' }; +static const symbol s_3_174[7] = { 'e', 'r', 0xC3, 0xAD, 'a', 'i', 's' }; +static const symbol s_3_175[7] = { 'i', 'r', 0xC3, 0xAD, 'a', 'i', 's' }; +static const symbol s_3_176[5] = { 'a', 's', 'e', 'i', 's' }; +static const symbol s_3_177[6] = { 'i', 'e', 's', 'e', 'i', 's' }; +static const symbol s_3_178[6] = { 'a', 's', 't', 'e', 'i', 's' }; +static const symbol s_3_179[6] = { 'i', 's', 't', 'e', 'i', 's' }; +static const symbol s_3_180[4] = { 'i', 'n', 'i', 's' }; +static const symbol s_3_181[3] = { 's', 'i', 's' }; +static const symbol s_3_182[4] = { 'i', 's', 'i', 's' }; +static const symbol s_3_183[5] = { 'a', 's', 's', 'i', 's' }; +static const symbol s_3_184[5] = { 'e', 's', 's', 'i', 's' }; +static const symbol s_3_185[5] = { 'i', 's', 's', 'i', 's' }; +static const symbol s_3_186[6] = { 0xC3, 0xAF, 's', 's', 'i', 's' }; +static const symbol s_3_187[6] = { 'e', 's', 'q', 'u', 'i', 's' }; +static const symbol s_3_188[5] = { 'e', 'i', 'x', 'i', 's' }; +static const symbol s_3_189[5] = { 'i', 't', 'z', 'i', 's' }; +static const symbol s_3_190[4] = { 0xC3, 0xA1, 'i', 's' }; +static const symbol s_3_191[6] = { 'a', 'r', 0xC3, 0xA9, 'i', 's' }; +static const symbol s_3_192[6] = { 'e', 'r', 0xC3, 0xA9, 'i', 's' }; +static const symbol s_3_193[6] = { 'i', 'r', 0xC3, 0xA9, 'i', 's' }; +static const symbol s_3_194[3] = { 'a', 'm', 's' }; +static const symbol s_3_195[4] = { 'a', 'd', 'o', 's' }; +static const symbol s_3_196[4] = { 'i', 'd', 'o', 's' }; +static const symbol s_3_197[4] = { 'a', 'm', 'o', 's' }; +static const symbol s_3_198[7] = { 0xC3, 0xA1, 'b', 'a', 'm', 'o', 's' }; +static const symbol s_3_199[7] = { 0xC3, 0xA1, 'r', 'a', 'm', 'o', 's' }; +static const symbol s_3_200[8] = { 'i', 0xC3, 0xA9, 'r', 'a', 'm', 'o', 's' }; +static const symbol s_3_201[6] = { 0xC3, 0xAD, 'a', 'm', 'o', 's' }; +static const symbol s_3_202[8] = { 'a', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' }; +static const symbol s_3_203[8] = { 'e', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' }; +static const symbol s_3_204[8] = { 'i', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' }; +static const symbol s_3_205[6] = { 'a', 'r', 'e', 'm', 'o', 's' }; +static const symbol s_3_206[6] = { 'e', 'r', 'e', 'm', 'o', 's' }; +static const symbol s_3_207[6] = { 'i', 'r', 'e', 'm', 'o', 's' }; +static const symbol s_3_208[7] = { 0xC3, 0xA1, 's', 'e', 'm', 'o', 's' }; +static const symbol s_3_209[8] = { 'i', 0xC3, 0xA9, 's', 'e', 'm', 'o', 's' }; +static const symbol s_3_210[4] = { 'i', 'm', 'o', 's' }; +static const symbol s_3_211[5] = { 'a', 'd', 'o', 'r', 's' }; +static const symbol s_3_212[3] = { 'a', 's', 's' }; +static const symbol s_3_213[5] = { 'e', 'r', 'a', 's', 's' }; +static const symbol s_3_214[3] = { 'e', 's', 's' }; +static const symbol s_3_215[3] = { 'a', 't', 's' }; +static const symbol s_3_216[3] = { 'i', 't', 's' }; +static const symbol s_3_217[4] = { 'e', 'n', 't', 's' }; +static const symbol s_3_218[3] = { 0xC3, 0xA0, 's' }; +static const symbol s_3_219[5] = { 'a', 'r', 0xC3, 0xA0, 's' }; +static const symbol s_3_220[5] = { 'i', 'r', 0xC3, 0xA0, 's' }; +static const symbol s_3_221[5] = { 'a', 'r', 0xC3, 0xA1, 's' }; +static const symbol s_3_222[5] = { 'e', 'r', 0xC3, 0xA1, 's' }; +static const symbol s_3_223[5] = { 'i', 'r', 0xC3, 0xA1, 's' }; +static const symbol s_3_224[3] = { 0xC3, 0xA9, 's' }; +static const symbol s_3_225[5] = { 'a', 'r', 0xC3, 0xA9, 's' }; +static const symbol s_3_226[3] = { 0xC3, 0xAD, 's' }; +static const symbol s_3_227[4] = { 'i', 0xC3, 0xAF, 's' }; +static const symbol s_3_228[2] = { 'a', 't' }; +static const symbol s_3_229[2] = { 'i', 't' }; +static const symbol s_3_230[3] = { 'a', 'n', 't' }; +static const symbol s_3_231[3] = { 'e', 'n', 't' }; +static const symbol s_3_232[3] = { 'i', 'n', 't' }; +static const symbol s_3_233[2] = { 'u', 't' }; +static const symbol s_3_234[3] = { 0xC3, 0xAF, 't' }; +static const symbol s_3_235[2] = { 'a', 'u' }; +static const symbol s_3_236[4] = { 'e', 'r', 'a', 'u' }; +static const symbol s_3_237[3] = { 'i', 'e', 'u' }; +static const symbol s_3_238[4] = { 'i', 'n', 'e', 'u' }; +static const symbol s_3_239[4] = { 'a', 'r', 'e', 'u' }; +static const symbol s_3_240[4] = { 'i', 'r', 'e', 'u' }; +static const symbol s_3_241[5] = { 0xC3, 0xA0, 'r', 'e', 'u' }; +static const symbol s_3_242[5] = { 0xC3, 0xAD, 'r', 'e', 'u' }; +static const symbol s_3_243[5] = { 'a', 's', 's', 'e', 'u' }; +static const symbol s_3_244[5] = { 'e', 's', 's', 'e', 'u' }; +static const symbol s_3_245[7] = { 'e', 'r', 'e', 's', 's', 'e', 'u' }; +static const symbol s_3_246[6] = { 0xC3, 0xA0, 's', 's', 'e', 'u' }; +static const symbol s_3_247[6] = { 0xC3, 0xA9, 's', 's', 'e', 'u' }; +static const symbol s_3_248[5] = { 'i', 'g', 'u', 'e', 'u' }; +static const symbol s_3_249[6] = { 0xC3, 0xAF, 'g', 'u', 'e', 'u' }; +static const symbol s_3_250[5] = { 0xC3, 0xA0, 'v', 'e', 'u' }; +static const symbol s_3_251[5] = { 0xC3, 0xA1, 'v', 'e', 'u' }; +static const symbol s_3_252[5] = { 'i', 't', 'z', 'e', 'u' }; +static const symbol s_3_253[4] = { 0xC3, 0xAC, 'e', 'u' }; +static const symbol s_3_254[6] = { 'i', 'r', 0xC3, 0xAC, 'e', 'u' }; +static const symbol s_3_255[4] = { 0xC3, 0xAD, 'e', 'u' }; +static const symbol s_3_256[6] = { 'a', 'r', 0xC3, 0xAD, 'e', 'u' }; +static const symbol s_3_257[6] = { 'i', 'r', 0xC3, 0xAD, 'e', 'u' }; +static const symbol s_3_258[5] = { 'a', 's', 's', 'i', 'u' }; +static const symbol s_3_259[5] = { 'i', 's', 's', 'i', 'u' }; +static const symbol s_3_260[6] = { 0xC3, 0xA0, 's', 's', 'i', 'u' }; +static const symbol s_3_261[6] = { 0xC3, 0xA8, 's', 's', 'i', 'u' }; +static const symbol s_3_262[6] = { 0xC3, 0xA9, 's', 's', 'i', 'u' }; +static const symbol s_3_263[6] = { 0xC3, 0xAD, 's', 's', 'i', 'u' }; +static const symbol s_3_264[3] = { 0xC3, 0xAF, 'u' }; +static const symbol s_3_265[2] = { 'i', 'x' }; +static const symbol s_3_266[3] = { 'e', 'i', 'x' }; +static const symbol s_3_267[3] = { 0xC3, 0xAF, 'x' }; +static const symbol s_3_268[3] = { 'i', 't', 'z' }; +static const symbol s_3_269[3] = { 'i', 0xC3, 0xA0 }; +static const symbol s_3_270[4] = { 'a', 'r', 0xC3, 0xA0 }; +static const symbol s_3_271[4] = { 'i', 'r', 0xC3, 0xA0 }; +static const symbol s_3_272[5] = { 'i', 't', 'z', 0xC3, 0xA0 }; +static const symbol s_3_273[4] = { 'a', 'r', 0xC3, 0xA1 }; +static const symbol s_3_274[4] = { 'e', 'r', 0xC3, 0xA1 }; +static const symbol s_3_275[4] = { 'i', 'r', 0xC3, 0xA1 }; +static const symbol s_3_276[4] = { 'i', 'r', 0xC3, 0xA8 }; +static const symbol s_3_277[4] = { 'a', 'r', 0xC3, 0xA9 }; +static const symbol s_3_278[4] = { 'e', 'r', 0xC3, 0xA9 }; +static const symbol s_3_279[4] = { 'i', 'r', 0xC3, 0xA9 }; +static const symbol s_3_280[2] = { 0xC3, 0xAD }; +static const symbol s_3_281[3] = { 'i', 0xC3, 0xAF }; +static const symbol s_3_282[3] = { 'i', 0xC3, 0xB3 }; + +static const struct among a_3[283] = +{ +/* 0 */ { 3, s_3_0, -1, 1, 0}, +/* 1 */ { 4, s_3_1, -1, 1, 0}, +/* 2 */ { 4, s_3_2, -1, 1, 0}, +/* 3 */ { 5, s_3_3, -1, 1, 0}, +/* 4 */ { 3, s_3_4, -1, 1, 0}, +/* 5 */ { 3, s_3_5, -1, 1, 0}, +/* 6 */ { 3, s_3_6, -1, 1, 0}, +/* 7 */ { 4, s_3_7, -1, 1, 0}, +/* 8 */ { 2, s_3_8, -1, 1, 0}, +/* 9 */ { 4, s_3_9, 8, 1, 0}, +/* 10 */ { 4, s_3_10, 8, 1, 0}, +/* 11 */ { 3, s_3_11, -1, 1, 0}, +/* 12 */ { 4, s_3_12, -1, 1, 0}, +/* 13 */ { 3, s_3_13, -1, 1, 0}, +/* 14 */ { 5, s_3_14, -1, 1, 0}, +/* 15 */ { 4, s_3_15, -1, 1, 0}, +/* 16 */ { 3, s_3_16, -1, 1, 0}, +/* 17 */ { 3, s_3_17, -1, 1, 0}, +/* 18 */ { 4, s_3_18, -1, 1, 0}, +/* 19 */ { 3, s_3_19, -1, 1, 0}, +/* 20 */ { 5, s_3_20, 19, 1, 0}, +/* 21 */ { 5, s_3_21, 19, 1, 0}, +/* 22 */ { 5, s_3_22, 19, 1, 0}, +/* 23 */ { 3, s_3_23, -1, 1, 0}, +/* 24 */ { 3, s_3_24, -1, 1, 0}, +/* 25 */ { 4, s_3_25, -1, 1, 0}, +/* 26 */ { 2, s_3_26, -1, 1, 0}, +/* 27 */ { 2, s_3_27, -1, 1, 0}, +/* 28 */ { 2, s_3_28, -1, 1, 0}, +/* 29 */ { 2, s_3_29, -1, 1, 0}, +/* 30 */ { 2, s_3_30, -1, 1, 0}, +/* 31 */ { 3, s_3_31, 30, 1, 0}, +/* 32 */ { 3, s_3_32, -1, 1, 0}, +/* 33 */ { 4, s_3_33, -1, 1, 0}, +/* 34 */ { 4, s_3_34, -1, 1, 0}, +/* 35 */ { 4, s_3_35, -1, 1, 0}, +/* 36 */ { 2, s_3_36, -1, 1, 0}, +/* 37 */ { 3, s_3_37, -1, 1, 0}, +/* 38 */ { 5, s_3_38, -1, 1, 0}, +/* 39 */ { 4, s_3_39, -1, 1, 0}, +/* 40 */ { 4, s_3_40, -1, 1, 0}, +/* 41 */ { 2, s_3_41, -1, 1, 0}, +/* 42 */ { 2, s_3_42, -1, 1, 0}, +/* 43 */ { 4, s_3_43, 42, 1, 0}, +/* 44 */ { 4, s_3_44, 42, 1, 0}, +/* 45 */ { 5, s_3_45, 42, 1, 0}, +/* 46 */ { 5, s_3_46, 42, 1, 0}, +/* 47 */ { 6, s_3_47, 42, 1, 0}, +/* 48 */ { 6, s_3_48, 42, 1, 0}, +/* 49 */ { 5, s_3_49, 42, 1, 0}, +/* 50 */ { 6, s_3_50, 42, 1, 0}, +/* 51 */ { 4, s_3_51, 42, 1, 0}, +/* 52 */ { 5, s_3_52, 42, 1, 0}, +/* 53 */ { 5, s_3_53, 42, 1, 0}, +/* 54 */ { 6, s_3_54, 42, 1, 0}, +/* 55 */ { 4, s_3_55, 42, 1, 0}, +/* 56 */ { 6, s_3_56, 55, 1, 0}, +/* 57 */ { 6, s_3_57, 55, 1, 0}, +/* 58 */ { 5, s_3_58, -1, 1, 0}, +/* 59 */ { 5, s_3_59, -1, 1, 0}, +/* 60 */ { 5, s_3_60, -1, 1, 0}, +/* 61 */ { 6, s_3_61, -1, 1, 0}, +/* 62 */ { 6, s_3_62, -1, 1, 0}, +/* 63 */ { 6, s_3_63, -1, 1, 0}, +/* 64 */ { 6, s_3_64, -1, 1, 0}, +/* 65 */ { 3, s_3_65, -1, 1, 0}, +/* 66 */ { 2, s_3_66, -1, 1, 0}, +/* 67 */ { 4, s_3_67, 66, 1, 0}, +/* 68 */ { 5, s_3_68, 66, 1, 0}, +/* 69 */ { 4, s_3_69, 66, 1, 0}, +/* 70 */ { 5, s_3_70, 66, 1, 0}, +/* 71 */ { 4, s_3_71, 66, 1, 0}, +/* 72 */ { 4, s_3_72, 66, 1, 0}, +/* 73 */ { 6, s_3_73, 72, 1, 0}, +/* 74 */ { 6, s_3_74, 72, 1, 0}, +/* 75 */ { 6, s_3_75, 72, 1, 0}, +/* 76 */ { 2, s_3_76, -1, 1, 0}, +/* 77 */ { 3, s_3_77, 76, 1, 0}, +/* 78 */ { 5, s_3_78, 77, 1, 0}, +/* 79 */ { 5, s_3_79, 77, 1, 0}, +/* 80 */ { 4, s_3_80, 76, 1, 0}, +/* 81 */ { 4, s_3_81, 76, 1, 0}, +/* 82 */ { 4, s_3_82, 76, 1, 0}, +/* 83 */ { 5, s_3_83, 76, 1, 0}, +/* 84 */ { 5, s_3_84, 76, 1, 0}, +/* 85 */ { 4, s_3_85, 76, 1, 0}, +/* 86 */ { 5, s_3_86, 76, 1, 0}, +/* 87 */ { 5, s_3_87, 76, 1, 0}, +/* 88 */ { 5, s_3_88, 76, 1, 0}, +/* 89 */ { 5, s_3_89, 76, 1, 0}, +/* 90 */ { 6, s_3_90, 76, 1, 0}, +/* 91 */ { 6, s_3_91, 76, 1, 0}, +/* 92 */ { 6, s_3_92, 76, 1, 0}, +/* 93 */ { 6, s_3_93, 76, 1, 0}, +/* 94 */ { 7, s_3_94, 76, 1, 0}, +/* 95 */ { 4, s_3_95, 76, 1, 0}, +/* 96 */ { 4, s_3_96, 76, 1, 0}, +/* 97 */ { 5, s_3_97, 96, 1, 0}, +/* 98 */ { 5, s_3_98, 76, 1, 0}, +/* 99 */ { 4, s_3_99, 76, 1, 0}, +/*100 */ { 2, s_3_100, -1, 1, 0}, +/*101 */ { 4, s_3_101, 100, 1, 0}, +/*102 */ { 3, s_3_102, 100, 1, 0}, +/*103 */ { 4, s_3_103, 102, 1, 0}, +/*104 */ { 5, s_3_104, 102, 1, 0}, +/*105 */ { 5, s_3_105, 102, 1, 0}, +/*106 */ { 5, s_3_106, 102, 1, 0}, +/*107 */ { 6, s_3_107, 102, 1, 0}, +/*108 */ { 6, s_3_108, 100, 1, 0}, +/*109 */ { 5, s_3_109, 100, 1, 0}, +/*110 */ { 4, s_3_110, -1, 1, 0}, +/*111 */ { 5, s_3_111, -1, 1, 0}, +/*112 */ { 5, s_3_112, -1, 1, 0}, +/*113 */ { 5, s_3_113, -1, 1, 0}, +/*114 */ { 5, s_3_114, -1, 1, 0}, +/*115 */ { 4, s_3_115, -1, 1, 0}, +/*116 */ { 3, s_3_116, -1, 1, 0}, +/*117 */ { 3, s_3_117, -1, 1, 0}, +/*118 */ { 4, s_3_118, -1, 2, 0}, +/*119 */ { 5, s_3_119, -1, 1, 0}, +/*120 */ { 2, s_3_120, -1, 1, 0}, +/*121 */ { 3, s_3_121, -1, 1, 0}, +/*122 */ { 4, s_3_122, 121, 1, 0}, +/*123 */ { 4, s_3_123, -1, 1, 0}, +/*124 */ { 4, s_3_124, -1, 1, 0}, +/*125 */ { 2, s_3_125, -1, 1, 0}, +/*126 */ { 4, s_3_126, 125, 1, 0}, +/*127 */ { 2, s_3_127, -1, 1, 0}, +/*128 */ { 5, s_3_128, 127, 1, 0}, +/*129 */ { 2, s_3_129, -1, 1, 0}, +/*130 */ { 4, s_3_130, -1, 1, 0}, +/*131 */ { 2, s_3_131, -1, 1, 0}, +/*132 */ { 4, s_3_132, 131, 1, 0}, +/*133 */ { 4, s_3_133, 131, 1, 0}, +/*134 */ { 4, s_3_134, 131, 1, 0}, +/*135 */ { 4, s_3_135, 131, 1, 0}, +/*136 */ { 5, s_3_136, 131, 1, 0}, +/*137 */ { 4, s_3_137, 131, 1, 0}, +/*138 */ { 6, s_3_138, 137, 1, 0}, +/*139 */ { 6, s_3_139, 137, 1, 0}, +/*140 */ { 6, s_3_140, 137, 1, 0}, +/*141 */ { 3, s_3_141, -1, 1, 0}, +/*142 */ { 2, s_3_142, -1, 1, 0}, +/*143 */ { 4, s_3_143, 142, 1, 0}, +/*144 */ { 4, s_3_144, 142, 1, 0}, +/*145 */ { 4, s_3_145, 142, 1, 0}, +/*146 */ { 5, s_3_146, 142, 1, 0}, +/*147 */ { 5, s_3_147, 142, 1, 0}, +/*148 */ { 3, s_3_148, 142, 1, 0}, +/*149 */ { 5, s_3_149, 148, 1, 0}, +/*150 */ { 5, s_3_150, 148, 1, 0}, +/*151 */ { 4, s_3_151, 142, 1, 0}, +/*152 */ { 4, s_3_152, 142, 1, 0}, +/*153 */ { 6, s_3_153, 142, 1, 0}, +/*154 */ { 5, s_3_154, 142, 1, 0}, +/*155 */ { 4, s_3_155, 142, 1, 0}, +/*156 */ { 5, s_3_156, 142, 1, 0}, +/*157 */ { 5, s_3_157, 142, 1, 0}, +/*158 */ { 5, s_3_158, 142, 1, 0}, +/*159 */ { 5, s_3_159, 142, 1, 0}, +/*160 */ { 6, s_3_160, 142, 1, 0}, +/*161 */ { 4, s_3_161, 142, 1, 0}, +/*162 */ { 6, s_3_162, 161, 1, 0}, +/*163 */ { 7, s_3_163, 161, 1, 0}, +/*164 */ { 4, s_3_164, 142, 1, 0}, +/*165 */ { 4, s_3_165, 142, 1, 0}, +/*166 */ { 5, s_3_166, 165, 1, 0}, +/*167 */ { 5, s_3_167, 142, 1, 0}, +/*168 */ { 4, s_3_168, 142, 1, 0}, +/*169 */ { 5, s_3_169, -1, 1, 0}, +/*170 */ { 5, s_3_170, -1, 1, 0}, +/*171 */ { 6, s_3_171, -1, 1, 0}, +/*172 */ { 5, s_3_172, -1, 1, 0}, +/*173 */ { 7, s_3_173, 172, 1, 0}, +/*174 */ { 7, s_3_174, 172, 1, 0}, +/*175 */ { 7, s_3_175, 172, 1, 0}, +/*176 */ { 5, s_3_176, -1, 1, 0}, +/*177 */ { 6, s_3_177, -1, 1, 0}, +/*178 */ { 6, s_3_178, -1, 1, 0}, +/*179 */ { 6, s_3_179, -1, 1, 0}, +/*180 */ { 4, s_3_180, -1, 1, 0}, +/*181 */ { 3, s_3_181, -1, 1, 0}, +/*182 */ { 4, s_3_182, 181, 1, 0}, +/*183 */ { 5, s_3_183, 181, 1, 0}, +/*184 */ { 5, s_3_184, 181, 1, 0}, +/*185 */ { 5, s_3_185, 181, 1, 0}, +/*186 */ { 6, s_3_186, 181, 1, 0}, +/*187 */ { 6, s_3_187, -1, 1, 0}, +/*188 */ { 5, s_3_188, -1, 1, 0}, +/*189 */ { 5, s_3_189, -1, 1, 0}, +/*190 */ { 4, s_3_190, -1, 1, 0}, +/*191 */ { 6, s_3_191, -1, 1, 0}, +/*192 */ { 6, s_3_192, -1, 1, 0}, +/*193 */ { 6, s_3_193, -1, 1, 0}, +/*194 */ { 3, s_3_194, -1, 1, 0}, +/*195 */ { 4, s_3_195, -1, 1, 0}, +/*196 */ { 4, s_3_196, -1, 1, 0}, +/*197 */ { 4, s_3_197, -1, 1, 0}, +/*198 */ { 7, s_3_198, 197, 1, 0}, +/*199 */ { 7, s_3_199, 197, 1, 0}, +/*200 */ { 8, s_3_200, 197, 1, 0}, +/*201 */ { 6, s_3_201, 197, 1, 0}, +/*202 */ { 8, s_3_202, 201, 1, 0}, +/*203 */ { 8, s_3_203, 201, 1, 0}, +/*204 */ { 8, s_3_204, 201, 1, 0}, +/*205 */ { 6, s_3_205, -1, 1, 0}, +/*206 */ { 6, s_3_206, -1, 1, 0}, +/*207 */ { 6, s_3_207, -1, 1, 0}, +/*208 */ { 7, s_3_208, -1, 1, 0}, +/*209 */ { 8, s_3_209, -1, 1, 0}, +/*210 */ { 4, s_3_210, -1, 1, 0}, +/*211 */ { 5, s_3_211, -1, 1, 0}, +/*212 */ { 3, s_3_212, -1, 1, 0}, +/*213 */ { 5, s_3_213, 212, 1, 0}, +/*214 */ { 3, s_3_214, -1, 1, 0}, +/*215 */ { 3, s_3_215, -1, 1, 0}, +/*216 */ { 3, s_3_216, -1, 1, 0}, +/*217 */ { 4, s_3_217, -1, 1, 0}, +/*218 */ { 3, s_3_218, -1, 1, 0}, +/*219 */ { 5, s_3_219, 218, 1, 0}, +/*220 */ { 5, s_3_220, 218, 1, 0}, +/*221 */ { 5, s_3_221, -1, 1, 0}, +/*222 */ { 5, s_3_222, -1, 1, 0}, +/*223 */ { 5, s_3_223, -1, 1, 0}, +/*224 */ { 3, s_3_224, -1, 1, 0}, +/*225 */ { 5, s_3_225, 224, 1, 0}, +/*226 */ { 3, s_3_226, -1, 1, 0}, +/*227 */ { 4, s_3_227, -1, 1, 0}, +/*228 */ { 2, s_3_228, -1, 1, 0}, +/*229 */ { 2, s_3_229, -1, 1, 0}, +/*230 */ { 3, s_3_230, -1, 1, 0}, +/*231 */ { 3, s_3_231, -1, 1, 0}, +/*232 */ { 3, s_3_232, -1, 1, 0}, +/*233 */ { 2, s_3_233, -1, 1, 0}, +/*234 */ { 3, s_3_234, -1, 1, 0}, +/*235 */ { 2, s_3_235, -1, 1, 0}, +/*236 */ { 4, s_3_236, 235, 1, 0}, +/*237 */ { 3, s_3_237, -1, 1, 0}, +/*238 */ { 4, s_3_238, -1, 1, 0}, +/*239 */ { 4, s_3_239, -1, 1, 0}, +/*240 */ { 4, s_3_240, -1, 1, 0}, +/*241 */ { 5, s_3_241, -1, 1, 0}, +/*242 */ { 5, s_3_242, -1, 1, 0}, +/*243 */ { 5, s_3_243, -1, 1, 0}, +/*244 */ { 5, s_3_244, -1, 1, 0}, +/*245 */ { 7, s_3_245, 244, 1, 0}, +/*246 */ { 6, s_3_246, -1, 1, 0}, +/*247 */ { 6, s_3_247, -1, 1, 0}, +/*248 */ { 5, s_3_248, -1, 1, 0}, +/*249 */ { 6, s_3_249, -1, 1, 0}, +/*250 */ { 5, s_3_250, -1, 1, 0}, +/*251 */ { 5, s_3_251, -1, 1, 0}, +/*252 */ { 5, s_3_252, -1, 1, 0}, +/*253 */ { 4, s_3_253, -1, 1, 0}, +/*254 */ { 6, s_3_254, 253, 1, 0}, +/*255 */ { 4, s_3_255, -1, 1, 0}, +/*256 */ { 6, s_3_256, 255, 1, 0}, +/*257 */ { 6, s_3_257, 255, 1, 0}, +/*258 */ { 5, s_3_258, -1, 1, 0}, +/*259 */ { 5, s_3_259, -1, 1, 0}, +/*260 */ { 6, s_3_260, -1, 1, 0}, +/*261 */ { 6, s_3_261, -1, 1, 0}, +/*262 */ { 6, s_3_262, -1, 1, 0}, +/*263 */ { 6, s_3_263, -1, 1, 0}, +/*264 */ { 3, s_3_264, -1, 1, 0}, +/*265 */ { 2, s_3_265, -1, 1, 0}, +/*266 */ { 3, s_3_266, 265, 1, 0}, +/*267 */ { 3, s_3_267, -1, 1, 0}, +/*268 */ { 3, s_3_268, -1, 1, 0}, +/*269 */ { 3, s_3_269, -1, 1, 0}, +/*270 */ { 4, s_3_270, -1, 1, 0}, +/*271 */ { 4, s_3_271, -1, 1, 0}, +/*272 */ { 5, s_3_272, -1, 1, 0}, +/*273 */ { 4, s_3_273, -1, 1, 0}, +/*274 */ { 4, s_3_274, -1, 1, 0}, +/*275 */ { 4, s_3_275, -1, 1, 0}, +/*276 */ { 4, s_3_276, -1, 1, 0}, +/*277 */ { 4, s_3_277, -1, 1, 0}, +/*278 */ { 4, s_3_278, -1, 1, 0}, +/*279 */ { 4, s_3_279, -1, 1, 0}, +/*280 */ { 2, s_3_280, -1, 1, 0}, +/*281 */ { 3, s_3_281, -1, 1, 0}, +/*282 */ { 3, s_3_282, -1, 1, 0} +}; + +static const symbol s_4_0[1] = { 'a' }; +static const symbol s_4_1[1] = { 'e' }; +static const symbol s_4_2[1] = { 'i' }; +static const symbol s_4_3[3] = { 0xC3, 0xAF, 'n' }; +static const symbol s_4_4[1] = { 'o' }; +static const symbol s_4_5[2] = { 'i', 'r' }; +static const symbol s_4_6[1] = { 's' }; +static const symbol s_4_7[2] = { 'i', 's' }; +static const symbol s_4_8[2] = { 'o', 's' }; +static const symbol s_4_9[3] = { 0xC3, 0xAF, 's' }; +static const symbol s_4_10[2] = { 'i', 't' }; +static const symbol s_4_11[2] = { 'e', 'u' }; +static const symbol s_4_12[2] = { 'i', 'u' }; +static const symbol s_4_13[3] = { 'i', 'q', 'u' }; +static const symbol s_4_14[3] = { 'i', 't', 'z' }; +static const symbol s_4_15[2] = { 0xC3, 0xA0 }; +static const symbol s_4_16[2] = { 0xC3, 0xA1 }; +static const symbol s_4_17[2] = { 0xC3, 0xA9 }; +static const symbol s_4_18[2] = { 0xC3, 0xAC }; +static const symbol s_4_19[2] = { 0xC3, 0xAD }; +static const symbol s_4_20[2] = { 0xC3, 0xAF }; +static const symbol s_4_21[2] = { 0xC3, 0xB3 }; + +static const struct among a_4[22] = +{ +/* 0 */ { 1, s_4_0, -1, 1, 0}, +/* 1 */ { 1, s_4_1, -1, 1, 0}, +/* 2 */ { 1, s_4_2, -1, 1, 0}, +/* 3 */ { 3, s_4_3, -1, 1, 0}, +/* 4 */ { 1, s_4_4, -1, 1, 0}, +/* 5 */ { 2, s_4_5, -1, 1, 0}, +/* 6 */ { 1, s_4_6, -1, 1, 0}, +/* 7 */ { 2, s_4_7, 6, 1, 0}, +/* 8 */ { 2, s_4_8, 6, 1, 0}, +/* 9 */ { 3, s_4_9, 6, 1, 0}, +/* 10 */ { 2, s_4_10, -1, 1, 0}, +/* 11 */ { 2, s_4_11, -1, 1, 0}, +/* 12 */ { 2, s_4_12, -1, 1, 0}, +/* 13 */ { 3, s_4_13, -1, 2, 0}, +/* 14 */ { 3, s_4_14, -1, 1, 0}, +/* 15 */ { 2, s_4_15, -1, 1, 0}, +/* 16 */ { 2, s_4_16, -1, 1, 0}, +/* 17 */ { 2, s_4_17, -1, 1, 0}, +/* 18 */ { 2, s_4_18, -1, 1, 0}, +/* 19 */ { 2, s_4_19, -1, 1, 0}, +/* 20 */ { 2, s_4_20, -1, 1, 0}, +/* 21 */ { 2, s_4_21, -1, 1, 0} +}; + +static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 129, 81, 6, 10 }; + +static const symbol s_0[] = { 'a' }; +static const symbol s_1[] = { 'e' }; +static const symbol s_2[] = { 'i' }; +static const symbol s_3[] = { 'o' }; +static const symbol s_4[] = { 'u' }; +static const symbol s_5[] = { '.' }; +static const symbol s_6[] = { 'l', 'o', 'g' }; +static const symbol s_7[] = { 'i', 'c' }; +static const symbol s_8[] = { 'c' }; +static const symbol s_9[] = { 'i', 'c' }; + +static int r_mark_regions(struct SN_env * z) { /* forwardmode */ + z->I[0] = z->l; /* $p1 = , line 38 */ + z->I[1] = z->l; /* $p2 = , line 39 */ + { int c1 = z->c; /* do, line 41 */ + { /* gopast */ /* grouping v, line 42 */ + int ret = out_grouping_U(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + { /* gopast */ /* non v, line 42 */ + int ret = in_grouping_U(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + z->I[0] = z->c; /* setmark p1, line 42 */ + { /* gopast */ /* grouping v, line 43 */ + int ret = out_grouping_U(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + { /* gopast */ /* non v, line 43 */ + int ret = in_grouping_U(z, g_v, 97, 252, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + z->I[1] = z->c; /* setmark p2, line 43 */ + lab0: + z->c = c1; + } + return 1; +} + +static int r_cleaning(struct SN_env * z) { /* forwardmode */ + int among_var; +/* repeat, line 47 */ + + while(1) { int c1 = z->c; + z->bra = z->c; /* [, line 48 */ + if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 5 || !((344765187 >> (z->p[z->c + 1] & 0x1f)) & 1)) among_var = 7; else /* substring, line 48 */ + among_var = find_among(z, a_0, 13); + if (!(among_var)) goto lab0; + z->ket = z->c; /* ], line 48 */ + switch (among_var) { /* among, line 48 */ + case 1: + { int ret = slice_from_s(z, 1, s_0); /* <-, line 49 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 1, s_1); /* <-, line 51 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 1, s_2); /* <-, line 53 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 1, s_3); /* <-, line 55 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 1, s_4); /* <-, line 57 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 1, s_5); /* <-, line 60 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); + if (ret < 0) goto lab0; + z->c = ret; /* next, line 61 */ + } + break; + } + continue; + lab0: + z->c = c1; + break; + } + return 1; +} + +static int r_R1(struct SN_env * z) { /* backwardmode */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 67 */ + return 1; +} + +static int r_R2(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 68 */ + return 1; +} + +static int r_attached_pronoun(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 71 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1634850 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 71 */ + if (!(find_among_b(z, a_1, 39))) return 0; + z->bra = z->c; /* ], line 71 */ + { int ret = r_R1(z); /* call R1, line 81 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 81 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 86 */ + among_var = find_among_b(z, a_2, 200); /* substring, line 86 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 86 */ + switch (among_var) { /* among, line 86 */ + case 1: + { int ret = r_R1(z); /* call R1, line 110 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 110 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 112 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 112 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = r_R2(z); /* call R2, line 114 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 3, s_6); /* <-, line 114 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = r_R2(z); /* call R2, line 116 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 2, s_7); /* <-, line 116 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = r_R1(z); /* call R1, line 118 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 1, s_8); /* <-, line 118 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 123 */ + among_var = find_among_b(z, a_3, 283); /* substring, line 123 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 123 */ + switch (among_var) { /* among, line 123 */ + case 1: + { int ret = r_R1(z); /* call R1, line 168 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 168 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 170 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 170 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 175 */ + among_var = find_among_b(z, a_4, 22); /* substring, line 175 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 175 */ + switch (among_var) { /* among, line 175 */ + case 1: + { int ret = r_R1(z); /* call R1, line 178 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 178 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R1(z); /* call R1, line 180 */ + if (ret <= 0) return ret; + } + { int ret = slice_from_s(z, 2, s_9); /* <-, line 180 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +extern int catalan_UTF_8_stem(struct SN_env * z) { /* forwardmode */ + /* do, line 186 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 186 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 187 */ + + { int m1 = z->l - z->c; (void)m1; /* do, line 188 */ + { int ret = r_attached_pronoun(z); /* call attached_pronoun, line 188 */ + if (ret < 0) return ret; + } + z->c = z->l - m1; + } + { int m2 = z->l - z->c; (void)m2; /* do, line 189 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 189 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 189 */ + if (ret == 0) goto lab2; + if (ret < 0) return ret; + } + goto lab1; + lab2: + z->c = z->l - m3; + { int ret = r_verb_suffix(z); /* call verb_suffix, line 190 */ + if (ret == 0) goto lab0; + if (ret < 0) return ret; + } + } + lab1: + lab0: + z->c = z->l - m2; + } + { int m4 = z->l - z->c; (void)m4; /* do, line 192 */ + { int ret = r_residual_suffix(z); /* call residual_suffix, line 192 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + z->c = z->lb; + { int c5 = z->c; /* do, line 194 */ + { int ret = r_cleaning(z); /* call cleaning, line 194 */ + if (ret < 0) return ret; + } + z->c = c5; + } + return 1; +} + +extern struct SN_env * catalan_UTF_8_create_env(void) { return SN_create_env(0, 2, 0); } + +extern void catalan_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_UTF_8_catalan.h b/src/dep/snowball/src_c/stem_UTF_8_catalan.h new file mode 100644 index 0000000000..e5a3ae20a5 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_catalan.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * catalan_UTF_8_create_env(void); +extern void catalan_UTF_8_close_env(struct SN_env * z); + +extern int catalan_UTF_8_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_UTF_8_danish.c b/src/dep/snowball/src_c/stem_UTF_8_danish.c index 5be3bffd95..694078d8c2 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_danish.c +++ b/src/dep/snowball/src_c/stem_UTF_8_danish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -124,6 +123,8 @@ static const struct among a_2[5] = /* 4 */ { 5, s_2_4, -1, 2, 0} }; +static const unsigned char g_c[] = { 119, 223, 119, 1 }; + static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 128 }; static const unsigned char g_s_ending[] = { 239, 254, 42, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16 }; @@ -133,54 +134,51 @@ static const symbol s_1[] = { 'i', 'g' }; static const symbol s_2[] = { 'l', 0xC3, 0xB8, 's' }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ - z->I[0] = z->l; /* $p1 = , line 31 */ - { int c_test1 = z->c; /* test, line 33 */ - { int ret = skip_utf8(z->p, z->c, 0, z->l, + 3); /* hop, line 33 */ + z->I[0] = z->l; /* $p1 = , line 33 */ + { int c_test1 = z->c; /* test, line 35 */ + { int ret = skip_utf8(z->p, z->c, 0, z->l, + 3); /* hop, line 35 */ if (ret < 0) return 0; z->c = ret; } - z->I[1] = z->c; /* setmark x, line 33 */ + z->I[1] = z->c; /* setmark x, line 35 */ z->c = c_test1; } - if (out_grouping_U(z, g_v, 97, 248, 1) < 0) return 0; /* goto */ /* grouping v, line 34 */ - { /* gopast */ /* non v, line 34 */ + if (out_grouping_U(z, g_v, 97, 248, 1) < 0) return 0; /* goto */ /* grouping v, line 36 */ + { /* gopast */ /* non v, line 36 */ int ret = in_grouping_U(z, g_v, 97, 248, 1); if (ret < 0) return 0; z->c += ret; } - z->I[0] = z->c; /* setmark p1, line 34 */ - /* try, line 35 */ - if (!(z->I[0] < z->I[1])) goto lab0; /* $p1 < , line 35 */ - z->I[0] = z->I[1]; /* $p1 = , line 35 */ + z->I[0] = z->c; /* setmark p1, line 36 */ + /* try, line 37 */ + if (!(z->I[0] < z->I[1])) goto lab0; /* $( < ), line 37 */ + z->I[0] = z->I[1]; /* $p1 = , line 37 */ lab0: return 1; } static int r_main_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 41 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 43 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 41 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 41 */ - if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851440 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 41 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 43 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851440 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 43 */ among_var = find_among_b(z, a_0, 32); if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 41 */ + z->bra = z->c; /* ], line 43 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 42 */ - case 0: return 0; + switch (among_var) { /* among, line 44 */ case 1: - { int ret = slice_del(z); /* delete, line 48 */ + { int ret = slice_del(z); /* delete, line 50 */ if (ret < 0) return ret; } break; case 2: - if (in_grouping_b_U(z, g_s_ending, 97, 229, 0)) return 0; /* grouping s_ending, line 50 */ - { int ret = slice_del(z); /* delete, line 50 */ + if (in_grouping_b_U(z, g_s_ending, 97, 229, 0)) return 0; /* grouping s_ending, line 52 */ + { int ret = slice_del(z); /* delete, line 52 */ if (ret < 0) return ret; } break; @@ -189,27 +187,25 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ } static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ - { int m_test1 = z->l - z->c; /* test, line 55 */ - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 56 */ - int mlimit2; + { int m_test1 = z->l - z->c; /* test, line 57 */ + + { int mlimit2; /* setlimit, line 58 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 56 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; - z->ket = z->c; /* [, line 56 */ - if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 116)) { z->lb = mlimit2; return 0; } /* substring, line 56 */ + mlimit2 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 58 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 116)) { z->lb = mlimit2; return 0; } /* substring, line 58 */ if (!(find_among_b(z, a_1, 4))) { z->lb = mlimit2; return 0; } - z->bra = z->c; /* ], line 56 */ + z->bra = z->c; /* ], line 58 */ z->lb = mlimit2; } z->c = z->l - m_test1; } { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) return 0; - z->c = ret; /* next, line 62 */ + z->c = ret; /* next, line 64 */ } - z->bra = z->c; /* ], line 62 */ - { int ret = slice_del(z); /* delete, line 62 */ + z->bra = z->c; /* ], line 64 */ + { int ret = slice_del(z); /* delete, line 64 */ if (ret < 0) return ret; } return 1; @@ -217,47 +213,42 @@ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* do, line 66 */ - z->ket = z->c; /* [, line 66 */ - if (!(eq_s_b(z, 2, s_0))) goto lab0; /* literal, line 66 */ - z->bra = z->c; /* ], line 66 */ - if (!(eq_s_b(z, 2, s_1))) goto lab0; /* literal, line 66 */ - { int ret = slice_del(z); /* delete, line 66 */ + { int m1 = z->l - z->c; (void)m1; /* do, line 68 */ + z->ket = z->c; /* [, line 68 */ + if (!(eq_s_b(z, 2, s_0))) goto lab0; /* literal, line 68 */ + z->bra = z->c; /* ], line 68 */ + if (!(eq_s_b(z, 2, s_1))) goto lab0; /* literal, line 68 */ + { int ret = slice_del(z); /* delete, line 68 */ if (ret < 0) return ret; } lab0: z->c = z->l - m1; } - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 67 */ - int mlimit2; + + { int mlimit2; /* setlimit, line 69 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 67 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; - z->ket = z->c; /* [, line 67 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit2; return 0; } /* substring, line 67 */ + mlimit2 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 69 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit2; return 0; } /* substring, line 69 */ among_var = find_among_b(z, a_2, 5); if (!(among_var)) { z->lb = mlimit2; return 0; } - z->bra = z->c; /* ], line 67 */ + z->bra = z->c; /* ], line 69 */ z->lb = mlimit2; } - switch (among_var) { /* among, line 68 */ - case 0: return 0; + switch (among_var) { /* among, line 70 */ case 1: - { int ret = slice_del(z); /* delete, line 70 */ + { int ret = slice_del(z); /* delete, line 72 */ if (ret < 0) return ret; } - { int m3 = z->l - z->c; (void)m3; /* do, line 70 */ - { int ret = r_consonant_pair(z); /* call consonant_pair, line 70 */ - if (ret == 0) goto lab1; + { int m3 = z->l - z->c; (void)m3; /* do, line 72 */ + { int ret = r_consonant_pair(z); /* call consonant_pair, line 72 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m3; } break; case 2: - { int ret = slice_from_s(z, 4, s_2); /* <-, line 72 */ + { int ret = slice_from_s(z, 4, s_2); /* <-, line 74 */ if (ret < 0) return ret; } break; @@ -266,67 +257,55 @@ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ } static int r_undouble(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 76 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 78 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 76 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 76 */ - if (out_grouping_b_U(z, g_v, 97, 248, 0)) { z->lb = mlimit1; return 0; } /* non v, line 76 */ - z->bra = z->c; /* ], line 76 */ - z->S[0] = slice_to(z, z->S[0]); /* -> ch, line 76 */ - if (z->S[0] == 0) return -1; /* -> ch, line 76 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 78 */ + if (in_grouping_b_U(z, g_c, 98, 122, 0)) { z->lb = mlimit1; return 0; } /* grouping c, line 78 */ + z->bra = z->c; /* ], line 78 */ + z->S[0] = slice_to(z, z->S[0]); /* -> ch, line 78 */ + if (z->S[0] == 0) return -1; /* -> ch, line 78 */ z->lb = mlimit1; } - if (!(eq_v_b(z, z->S[0]))) return 0; /* name ch, line 77 */ - { int ret = slice_del(z); /* delete, line 78 */ + if (!(eq_v_b(z, z->S[0]))) return 0; /* name ch, line 79 */ + { int ret = slice_del(z); /* delete, line 80 */ if (ret < 0) return ret; } return 1; } extern int danish_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 84 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 84 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 86 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 86 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - z->lb = z->c; z->c = z->l; /* backwards, line 85 */ + z->lb = z->c; z->c = z->l; /* backwards, line 87 */ - { int m2 = z->l - z->c; (void)m2; /* do, line 86 */ - { int ret = r_main_suffix(z); /* call main_suffix, line 86 */ - if (ret == 0) goto lab1; + { int m2 = z->l - z->c; (void)m2; /* do, line 88 */ + { int ret = r_main_suffix(z); /* call main_suffix, line 88 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } - { int m3 = z->l - z->c; (void)m3; /* do, line 87 */ - { int ret = r_consonant_pair(z); /* call consonant_pair, line 87 */ - if (ret == 0) goto lab2; + { int m3 = z->l - z->c; (void)m3; /* do, line 89 */ + { int ret = r_consonant_pair(z); /* call consonant_pair, line 89 */ if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } - { int m4 = z->l - z->c; (void)m4; /* do, line 88 */ - { int ret = r_other_suffix(z); /* call other_suffix, line 88 */ - if (ret == 0) goto lab3; + { int m4 = z->l - z->c; (void)m4; /* do, line 90 */ + { int ret = r_other_suffix(z); /* call other_suffix, line 90 */ if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } - { int m5 = z->l - z->c; (void)m5; /* do, line 89 */ - { int ret = r_undouble(z); /* call undouble, line 89 */ - if (ret == 0) goto lab4; + { int m5 = z->l - z->c; (void)m5; /* do, line 91 */ + { int ret = r_undouble(z); /* call undouble, line 91 */ if (ret < 0) return ret; } - lab4: z->c = z->l - m5; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_UTF_8_danish.h b/src/dep/snowball/src_c/stem_UTF_8_danish.h index 71f93155ed..a408655b7d 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_danish.h +++ b/src/dep/snowball/src_c/stem_UTF_8_danish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_dutch.c b/src/dep/snowball/src_c/stem_UTF_8_dutch.c index 8267061f54..b77252a2f1 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_dutch.c +++ b/src/dep/snowball/src_c/stem_UTF_8_dutch.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -148,15 +147,15 @@ static const symbol s_14[] = { 'i', 'g' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ int among_var; { int c_test1 = z->c; /* test, line 42 */ - while(1) { /* repeat, line 42 */ - int c2 = z->c; +/* repeat, line 42 */ + + while(1) { int c2 = z->c; z->bra = z->c; /* [, line 43 */ if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 5 || !((340306450 >> (z->p[z->c + 1] & 0x1f)) & 1)) among_var = 6; else /* substring, line 43 */ among_var = find_among(z, a_0, 11); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 43 */ switch (among_var) { /* among, line 43 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_0); /* <-, line 45 */ if (ret < 0) return ret; @@ -207,8 +206,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ lab1: ; } - while(1) { /* repeat, line 58 */ - int c4 = z->c; +/* repeat, line 58 */ + + while(1) { int c4 = z->c; while(1) { /* goto, line 58 */ int c5 = z->c; if (in_grouping_U(z, g_v, 97, 232, 0)) goto lab3; /* grouping v, line 59 */ @@ -264,7 +264,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 69 */ /* try, line 70 */ - if (!(z->I[0] < 3)) goto lab0; /* $p1 < , line 70 */ + if (!(z->I[0] < 3)) goto lab0; /* $( < ), line 70 */ z->I[0] = 3; /* $p1 = , line 70 */ lab0: { /* gopast */ /* grouping v, line 71 */ @@ -283,15 +283,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 75 */ - int c1 = z->c; +/* repeat, line 75 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 77 */ if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 89)) among_var = 3; else /* substring, line 77 */ among_var = find_among(z, a_1, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 77 */ switch (among_var) { /* among, line 77 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_8); /* <-, line 78 */ if (ret < 0) return ret; @@ -318,12 +318,12 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 87 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 87 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 88 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 88 */ return 1; } @@ -400,7 +400,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) goto lab0; z->bra = z->c; /* ], line 108 */ switch (among_var) { /* among, line 108 */ - case 0: goto lab0; case 1: { int ret = r_R1(z); /* call R1, line 110 */ if (ret == 0) goto lab0; @@ -432,51 +431,48 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } { int m2 = z->l - z->c; (void)m2; /* do, line 120 */ { int ret = r_e_ending(z); /* call e_ending, line 120 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 122 */ z->ket = z->c; /* [, line 122 */ - if (!(eq_s_b(z, 4, s_12))) goto lab2; /* literal, line 122 */ + if (!(eq_s_b(z, 4, s_12))) goto lab1; /* literal, line 122 */ z->bra = z->c; /* ], line 122 */ { int ret = r_R2(z); /* call R2, line 122 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab1; if (ret < 0) return ret; } { int m4 = z->l - z->c; (void)m4; /* not, line 122 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab3; /* literal, line 122 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab2; /* literal, line 122 */ z->c--; - goto lab2; - lab3: + goto lab1; + lab2: z->c = z->l - m4; } { int ret = slice_del(z); /* delete, line 122 */ if (ret < 0) return ret; } z->ket = z->c; /* [, line 123 */ - if (!(eq_s_b(z, 2, s_13))) goto lab2; /* literal, line 123 */ + if (!(eq_s_b(z, 2, s_13))) goto lab1; /* literal, line 123 */ z->bra = z->c; /* ], line 123 */ { int ret = r_en_ending(z); /* call en_ending, line 123 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab2: + lab1: z->c = z->l - m3; } { int m5 = z->l - z->c; (void)m5; /* do, line 126 */ z->ket = z->c; /* [, line 127 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((264336 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab4; /* substring, line 127 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((264336 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab3; /* substring, line 127 */ among_var = find_among_b(z, a_4, 6); - if (!(among_var)) goto lab4; + if (!(among_var)) goto lab3; z->bra = z->c; /* ], line 127 */ switch (among_var) { /* among, line 127 */ - case 0: goto lab4; case 1: { int ret = r_R2(z); /* call R2, line 129 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 129 */ @@ -484,42 +480,42 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } { int m6 = z->l - z->c; (void)m6; /* or, line 130 */ z->ket = z->c; /* [, line 130 */ - if (!(eq_s_b(z, 2, s_14))) goto lab6; /* literal, line 130 */ + if (!(eq_s_b(z, 2, s_14))) goto lab5; /* literal, line 130 */ z->bra = z->c; /* ], line 130 */ { int ret = r_R2(z); /* call R2, line 130 */ - if (ret == 0) goto lab6; + if (ret == 0) goto lab5; if (ret < 0) return ret; } { int m7 = z->l - z->c; (void)m7; /* not, line 130 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab7; /* literal, line 130 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab6; /* literal, line 130 */ z->c--; - goto lab6; - lab7: + goto lab5; + lab6: z->c = z->l - m7; } { int ret = slice_del(z); /* delete, line 130 */ if (ret < 0) return ret; } - goto lab5; - lab6: + goto lab4; + lab5: z->c = z->l - m6; { int ret = r_undouble(z); /* call undouble, line 130 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } } - lab5: + lab4: break; case 2: { int ret = r_R2(z); /* call R2, line 133 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int m8 = z->l - z->c; (void)m8; /* not, line 133 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab8; /* literal, line 133 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab7; /* literal, line 133 */ z->c--; - goto lab4; - lab8: + goto lab3; + lab7: z->c = z->l - m8; } { int ret = slice_del(z); /* delete, line 133 */ @@ -528,20 +524,20 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ break; case 3: { int ret = r_R2(z); /* call R2, line 136 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 136 */ if (ret < 0) return ret; } { int ret = r_e_ending(z); /* call e_ending, line 136 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } break; case 4: { int ret = r_R2(z); /* call R2, line 139 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 139 */ @@ -550,36 +546,36 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ break; case 5: { int ret = r_R2(z); /* call R2, line 142 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab3; if (ret < 0) return ret; } - if (!(z->B[0])) goto lab4; /* Boolean test e_found, line 142 */ + if (!(z->B[0])) goto lab3; /* Boolean test e_found, line 142 */ { int ret = slice_del(z); /* delete, line 142 */ if (ret < 0) return ret; } break; } - lab4: + lab3: z->c = z->l - m5; } { int m9 = z->l - z->c; (void)m9; /* do, line 146 */ - if (out_grouping_b_U(z, g_v_I, 73, 232, 0)) goto lab9; /* non v_I, line 147 */ + if (out_grouping_b_U(z, g_v_I, 73, 232, 0)) goto lab8; /* non v_I, line 147 */ { int m_test10 = z->l - z->c; /* test, line 148 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2129954 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab9; /* among, line 149 */ - if (!(find_among_b(z, a_5, 4))) goto lab9; - if (out_grouping_b_U(z, g_v, 97, 232, 0)) goto lab9; /* non v, line 150 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2129954 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab8; /* among, line 149 */ + if (!(find_among_b(z, a_5, 4))) goto lab8; + if (out_grouping_b_U(z, g_v, 97, 232, 0)) goto lab8; /* non v, line 150 */ z->c = z->l - m_test10; } z->ket = z->c; /* [, line 152 */ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); - if (ret < 0) goto lab9; + if (ret < 0) goto lab8; z->c = ret; /* next, line 152 */ } z->bra = z->c; /* ], line 152 */ { int ret = slice_del(z); /* delete, line 152 */ if (ret < 0) return ret; } - lab9: + lab8: z->c = z->l - m9; } return 1; @@ -588,38 +584,28 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ extern int dutch_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 159 */ { int ret = r_prelude(z); /* call prelude, line 159 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } { int c2 = z->c; /* do, line 160 */ { int ret = r_mark_regions(z); /* call mark_regions, line 160 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = c2; } z->lb = z->c; z->c = z->l; /* backwards, line 161 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 162 */ - { int ret = r_standard_suffix(z); /* call standard_suffix, line 162 */ - if (ret == 0) goto lab2; - if (ret < 0) return ret; - } - lab2: - z->c = z->l - m3; + /* do, line 162 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 162 */ + if (ret < 0) return ret; } z->c = z->lb; - { int c4 = z->c; /* do, line 163 */ + { int c3 = z->c; /* do, line 163 */ { int ret = r_postlude(z); /* call postlude, line 163 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: - z->c = c4; + z->c = c3; } return 1; } diff --git a/src/dep/snowball/src_c/stem_UTF_8_dutch.h b/src/dep/snowball/src_c/stem_UTF_8_dutch.h index 6af7d0adf3..bd851fedf2 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_dutch.h +++ b/src/dep/snowball/src_c/stem_UTF_8_dutch.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_english.c b/src/dep/snowball/src_c/stem_UTF_8_english.c index 754d267126..0538a5106e 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_english.c +++ b/src/dep/snowball/src_c/stem_UTF_8_english.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -153,12 +152,12 @@ static const struct among a_5[24] = /* 0 */ { 4, s_5_0, -1, 3, 0}, /* 1 */ { 4, s_5_1, -1, 2, 0}, /* 2 */ { 3, s_5_2, -1, 13, 0}, -/* 3 */ { 2, s_5_3, -1, 16, 0}, +/* 3 */ { 2, s_5_3, -1, 15, 0}, /* 4 */ { 3, s_5_4, 3, 12, 0}, /* 5 */ { 4, s_5_5, 4, 4, 0}, /* 6 */ { 4, s_5_6, 3, 8, 0}, -/* 7 */ { 5, s_5_7, 3, 14, 0}, -/* 8 */ { 6, s_5_8, 3, 15, 0}, +/* 7 */ { 5, s_5_7, 3, 9, 0}, +/* 8 */ { 6, s_5_8, 3, 14, 0}, /* 9 */ { 5, s_5_9, 3, 10, 0}, /* 10 */ { 5, s_5_10, 3, 5, 0}, /* 11 */ { 5, s_5_11, -1, 8, 0}, @@ -339,24 +338,23 @@ static const symbol s_18[] = { 'o', 'u', 's' }; static const symbol s_19[] = { 'i', 'v', 'e' }; static const symbol s_20[] = { 'b', 'l', 'e' }; static const symbol s_21[] = { 'o', 'g' }; -static const symbol s_22[] = { 'f', 'u', 'l' }; -static const symbol s_23[] = { 'l', 'e', 's', 's' }; -static const symbol s_24[] = { 't', 'i', 'o', 'n' }; -static const symbol s_25[] = { 'a', 't', 'e' }; -static const symbol s_26[] = { 'a', 'l' }; -static const symbol s_27[] = { 'i', 'c' }; -static const symbol s_28[] = { 's', 'k', 'i' }; -static const symbol s_29[] = { 's', 'k', 'y' }; -static const symbol s_30[] = { 'd', 'i', 'e' }; -static const symbol s_31[] = { 'l', 'i', 'e' }; -static const symbol s_32[] = { 't', 'i', 'e' }; -static const symbol s_33[] = { 'i', 'd', 'l' }; -static const symbol s_34[] = { 'g', 'e', 'n', 't', 'l' }; -static const symbol s_35[] = { 'u', 'g', 'l', 'i' }; -static const symbol s_36[] = { 'e', 'a', 'r', 'l', 'i' }; -static const symbol s_37[] = { 'o', 'n', 'l', 'i' }; -static const symbol s_38[] = { 's', 'i', 'n', 'g', 'l' }; -static const symbol s_39[] = { 'y' }; +static const symbol s_22[] = { 'l', 'e', 's', 's' }; +static const symbol s_23[] = { 't', 'i', 'o', 'n' }; +static const symbol s_24[] = { 'a', 't', 'e' }; +static const symbol s_25[] = { 'a', 'l' }; +static const symbol s_26[] = { 'i', 'c' }; +static const symbol s_27[] = { 's', 'k', 'i' }; +static const symbol s_28[] = { 's', 'k', 'y' }; +static const symbol s_29[] = { 'd', 'i', 'e' }; +static const symbol s_30[] = { 'l', 'i', 'e' }; +static const symbol s_31[] = { 't', 'i', 'e' }; +static const symbol s_32[] = { 'i', 'd', 'l' }; +static const symbol s_33[] = { 'g', 'e', 'n', 't', 'l' }; +static const symbol s_34[] = { 'u', 'g', 'l', 'i' }; +static const symbol s_35[] = { 'e', 'a', 'r', 'l', 'i' }; +static const symbol s_36[] = { 'o', 'n', 'l', 'i' }; +static const symbol s_37[] = { 's', 'i', 'n', 'g', 'l' }; +static const symbol s_38[] = { 'y' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ z->B[0] = 0; /* unset Y_found, line 26 */ @@ -384,8 +382,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ z->c = c2; } { int c3 = z->c; /* do, line 29 */ - while(1) { /* repeat, line 29 */ - int c4 = z->c; +/* repeat, line 29 */ + + while(1) { int c4 = z->c; while(1) { /* goto, line 29 */ int c5 = z->c; if (in_grouping_U(z, g_v, 97, 121, 0)) goto lab4; /* grouping v, line 29 */ @@ -473,12 +472,12 @@ static int r_shortv(struct SN_env * z) { /* backwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 55 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 55 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 56 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 56 */ return 1; } @@ -487,16 +486,10 @@ static int r_Step_1a(struct SN_env * z) { /* backwardmode */ { int m1 = z->l - z->c; (void)m1; /* try, line 59 */ z->ket = z->c; /* [, line 60 */ if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115)) { z->c = z->l - m1; goto lab0; } /* substring, line 60 */ - among_var = find_among_b(z, a_1, 3); - if (!(among_var)) { z->c = z->l - m1; goto lab0; } + if (!(find_among_b(z, a_1, 3))) { z->c = z->l - m1; goto lab0; } z->bra = z->c; /* ], line 60 */ - switch (among_var) { /* among, line 60 */ - case 0: { z->c = z->l - m1; goto lab0; } - case 1: - { int ret = slice_del(z); /* delete, line 62 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 62 */ + if (ret < 0) return ret; } lab0: ; @@ -507,7 +500,6 @@ static int r_Step_1a(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 65 */ switch (among_var) { /* among, line 65 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 2, s_2); /* <-, line 66 */ if (ret < 0) return ret; @@ -557,7 +549,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 75 */ switch (among_var) { /* among, line 75 */ - case 0: return 0; case 1: { int ret = r_R1(z); /* call R1, line 77 */ if (ret <= 0) return ret; @@ -585,7 +576,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ z->c = z->l - m_test2; } switch (among_var) { /* among, line 81 */ - case 0: return 0; case 1: { int ret; { int saved_c = z->c; @@ -642,12 +632,10 @@ static int r_Step_1c(struct SN_env * z) { /* backwardmode */ lab0: z->bra = z->c; /* ], line 94 */ if (out_grouping_b_U(z, g_v, 97, 121, 0)) return 0; /* non v, line 95 */ - { int m2 = z->l - z->c; (void)m2; /* not, line 95 */ - if (z->c > z->lb) goto lab2; /* atlimit, line 95 */ - return 0; - lab2: - z->c = z->l - m2; - } + /* not, line 95 */ + if (z->c > z->lb) goto lab2; /* atlimit, line 95 */ + return 0; +lab2: { int ret = slice_from_s(z, 1, s_8); /* <-, line 96 */ if (ret < 0) return ret; } @@ -665,7 +653,6 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 100 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 4, s_9); /* <-, line 101 */ if (ret < 0) return ret; @@ -734,16 +721,11 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ } break; case 14: - { int ret = slice_from_s(z, 3, s_22); /* <-, line 120 */ + { int ret = slice_from_s(z, 4, s_22); /* <-, line 121 */ if (ret < 0) return ret; } break; case 15: - { int ret = slice_from_s(z, 4, s_23); /* <-, line 121 */ - if (ret < 0) return ret; - } - break; - case 16: if (in_grouping_b_U(z, g_valid_LI, 99, 116, 0)) return 0; /* grouping valid_LI, line 122 */ { int ret = slice_del(z); /* delete, line 122 */ if (ret < 0) return ret; @@ -764,24 +746,23 @@ static int r_Step_3(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 127 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 4, s_24); /* <-, line 128 */ + { int ret = slice_from_s(z, 4, s_23); /* <-, line 128 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 3, s_25); /* <-, line 129 */ + { int ret = slice_from_s(z, 3, s_24); /* <-, line 129 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 2, s_26); /* <-, line 130 */ + { int ret = slice_from_s(z, 2, s_25); /* <-, line 130 */ if (ret < 0) return ret; } break; case 4: - { int ret = slice_from_s(z, 2, s_27); /* <-, line 132 */ + { int ret = slice_from_s(z, 2, s_26); /* <-, line 132 */ if (ret < 0) return ret; } break; @@ -813,7 +794,6 @@ static int r_Step_4(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 141 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 144 */ if (ret < 0) return ret; @@ -846,7 +826,6 @@ static int r_Step_5(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 150 */ switch (among_var) { /* among, line 150 */ - case 0: return 0; case 1: { int m1 = z->l - z->c; (void)m1; /* or, line 151 */ { int ret = r_R2(z); /* call R2, line 151 */ @@ -906,59 +885,58 @@ static int r_exception1(struct SN_env * z) { /* forwardmode */ z->ket = z->c; /* ], line 170 */ if (z->c < z->l) return 0; /* atlimit, line 170 */ switch (among_var) { /* among, line 170 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 3, s_28); /* <-, line 174 */ + { int ret = slice_from_s(z, 3, s_27); /* <-, line 174 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 3, s_29); /* <-, line 175 */ + { int ret = slice_from_s(z, 3, s_28); /* <-, line 175 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 3, s_30); /* <-, line 176 */ + { int ret = slice_from_s(z, 3, s_29); /* <-, line 176 */ if (ret < 0) return ret; } break; case 4: - { int ret = slice_from_s(z, 3, s_31); /* <-, line 177 */ + { int ret = slice_from_s(z, 3, s_30); /* <-, line 177 */ if (ret < 0) return ret; } break; case 5: - { int ret = slice_from_s(z, 3, s_32); /* <-, line 178 */ + { int ret = slice_from_s(z, 3, s_31); /* <-, line 178 */ if (ret < 0) return ret; } break; case 6: - { int ret = slice_from_s(z, 3, s_33); /* <-, line 182 */ + { int ret = slice_from_s(z, 3, s_32); /* <-, line 182 */ if (ret < 0) return ret; } break; case 7: - { int ret = slice_from_s(z, 5, s_34); /* <-, line 183 */ + { int ret = slice_from_s(z, 5, s_33); /* <-, line 183 */ if (ret < 0) return ret; } break; case 8: - { int ret = slice_from_s(z, 4, s_35); /* <-, line 184 */ + { int ret = slice_from_s(z, 4, s_34); /* <-, line 184 */ if (ret < 0) return ret; } break; case 9: - { int ret = slice_from_s(z, 5, s_36); /* <-, line 185 */ + { int ret = slice_from_s(z, 5, s_35); /* <-, line 185 */ if (ret < 0) return ret; } break; case 10: - { int ret = slice_from_s(z, 4, s_37); /* <-, line 186 */ + { int ret = slice_from_s(z, 4, s_36); /* <-, line 186 */ if (ret < 0) return ret; } break; case 11: - { int ret = slice_from_s(z, 5, s_38); /* <-, line 187 */ + { int ret = slice_from_s(z, 5, s_37); /* <-, line 187 */ if (ret < 0) return ret; } break; @@ -968,8 +946,9 @@ static int r_exception1(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ if (!(z->B[0])) return 0; /* Boolean test Y_found, line 203 */ - while(1) { /* repeat, line 203 */ - int c1 = z->c; +/* repeat, line 203 */ + + while(1) { int c1 = z->c; while(1) { /* goto, line 203 */ int c2 = z->c; z->bra = z->c; /* [, line 203 */ @@ -985,7 +964,7 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ z->c = ret; /* goto, line 203 */ } } - { int ret = slice_from_s(z, 1, s_39); /* <-, line 203 */ + { int ret = slice_from_s(z, 1, s_38); /* <-, line 203 */ if (ret < 0) return ret; } continue; @@ -1017,98 +996,74 @@ extern int english_UTF_8_stem(struct SN_env * z) { /* forwardmode */ goto lab0; lab2: z->c = c1; - { int c3 = z->c; /* do, line 209 */ - { int ret = r_prelude(z); /* call prelude, line 209 */ - if (ret == 0) goto lab4; - if (ret < 0) return ret; - } - lab4: - z->c = c3; + /* do, line 209 */ + { int ret = r_prelude(z); /* call prelude, line 209 */ + if (ret < 0) return ret; } - { int c4 = z->c; /* do, line 210 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 210 */ - if (ret == 0) goto lab5; - if (ret < 0) return ret; - } - lab5: - z->c = c4; + /* do, line 210 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 210 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 211 */ - { int m5 = z->l - z->c; (void)m5; /* do, line 213 */ + { int m3 = z->l - z->c; (void)m3; /* do, line 213 */ { int ret = r_Step_1a(z); /* call Step_1a, line 213 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: - z->c = z->l - m5; + z->c = z->l - m3; } - { int m6 = z->l - z->c; (void)m6; /* or, line 215 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 215 */ { int ret = r_exception2(z); /* call exception2, line 215 */ - if (ret == 0) goto lab8; + if (ret == 0) goto lab5; if (ret < 0) return ret; } - goto lab7; - lab8: - z->c = z->l - m6; - { int m7 = z->l - z->c; (void)m7; /* do, line 217 */ + goto lab4; + lab5: + z->c = z->l - m4; + { int m5 = z->l - z->c; (void)m5; /* do, line 217 */ { int ret = r_Step_1b(z); /* call Step_1b, line 217 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: - z->c = z->l - m7; + z->c = z->l - m5; } - { int m8 = z->l - z->c; (void)m8; /* do, line 218 */ + { int m6 = z->l - z->c; (void)m6; /* do, line 218 */ { int ret = r_Step_1c(z); /* call Step_1c, line 218 */ - if (ret == 0) goto lab10; if (ret < 0) return ret; } - lab10: - z->c = z->l - m8; + z->c = z->l - m6; } - { int m9 = z->l - z->c; (void)m9; /* do, line 220 */ + { int m7 = z->l - z->c; (void)m7; /* do, line 220 */ { int ret = r_Step_2(z); /* call Step_2, line 220 */ - if (ret == 0) goto lab11; if (ret < 0) return ret; } - lab11: - z->c = z->l - m9; + z->c = z->l - m7; } - { int m10 = z->l - z->c; (void)m10; /* do, line 221 */ + { int m8 = z->l - z->c; (void)m8; /* do, line 221 */ { int ret = r_Step_3(z); /* call Step_3, line 221 */ - if (ret == 0) goto lab12; if (ret < 0) return ret; } - lab12: - z->c = z->l - m10; + z->c = z->l - m8; } - { int m11 = z->l - z->c; (void)m11; /* do, line 222 */ + { int m9 = z->l - z->c; (void)m9; /* do, line 222 */ { int ret = r_Step_4(z); /* call Step_4, line 222 */ - if (ret == 0) goto lab13; if (ret < 0) return ret; } - lab13: - z->c = z->l - m11; + z->c = z->l - m9; } - { int m12 = z->l - z->c; (void)m12; /* do, line 224 */ + { int m10 = z->l - z->c; (void)m10; /* do, line 224 */ { int ret = r_Step_5(z); /* call Step_5, line 224 */ - if (ret == 0) goto lab14; if (ret < 0) return ret; } - lab14: - z->c = z->l - m12; + z->c = z->l - m10; } } - lab7: + lab4: z->c = z->lb; - { int c13 = z->c; /* do, line 227 */ + { int c11 = z->c; /* do, line 227 */ { int ret = r_postlude(z); /* call postlude, line 227 */ - if (ret == 0) goto lab15; if (ret < 0) return ret; } - lab15: - z->c = c13; + z->c = c11; } } lab0: diff --git a/src/dep/snowball/src_c/stem_UTF_8_english.h b/src/dep/snowball/src_c/stem_UTF_8_english.h index d0ea10ef9f..c58b71d17f 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_english.h +++ b/src/dep/snowball/src_c/stem_UTF_8_english.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_finnish.c b/src/dep/snowball/src_c/stem_UTF_8_finnish.c index 5aea65ea14..08a29cea08 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_finnish.c +++ b/src/dep/snowball/src_c/stem_UTF_8_finnish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -183,7 +182,7 @@ static const struct among a_6[30] = /* 4 */ { 2, s_6_4, 0, -1, 0}, /* 5 */ { 3, s_6_5, 4, -1, 0}, /* 6 */ { 3, s_6_6, 4, -1, 0}, -/* 7 */ { 3, s_6_7, 4, 9, 0}, +/* 7 */ { 3, s_6_7, 4, 2, 0}, /* 8 */ { 3, s_6_8, -1, -1, 0}, /* 9 */ { 3, s_6_9, -1, -1, 0}, /* 10 */ { 3, s_6_10, -1, -1, 0}, @@ -205,7 +204,7 @@ static const struct among a_6[30] = /* 26 */ { 3, s_6_26, 22, -1, 0}, /* 27 */ { 4, s_6_27, 26, -1, 0}, /* 28 */ { 4, s_6_28, 26, -1, 0}, -/* 29 */ { 4, s_6_29, 26, 9, 0} +/* 29 */ { 4, s_6_29, 26, 2, 0} }; static const symbol s_7_0[3] = { 'e', 'j', 'a' }; @@ -261,6 +260,8 @@ static const struct among a_9[2] = static const unsigned char g_AEI[] = { 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8 }; +static const unsigned char g_C[] = { 119, 223, 119, 1 }; + static const unsigned char g_V1[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }; static const unsigned char g_V2[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }; @@ -276,56 +277,53 @@ static const symbol s_5[] = { 'p', 'o' }; static const symbol s_6[] = { 'p', 'o' }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ - z->I[0] = z->l; /* $p1 = , line 43 */ - z->I[1] = z->l; /* $p2 = , line 44 */ - if (out_grouping_U(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 46 */ - { /* gopast */ /* non V1, line 46 */ + z->I[0] = z->l; /* $p1 = , line 44 */ + z->I[1] = z->l; /* $p2 = , line 45 */ + if (out_grouping_U(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 47 */ + { /* gopast */ /* non V1, line 47 */ int ret = in_grouping_U(z, g_V1, 97, 246, 1); if (ret < 0) return 0; z->c += ret; } - z->I[0] = z->c; /* setmark p1, line 46 */ - if (out_grouping_U(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 47 */ - { /* gopast */ /* non V1, line 47 */ + z->I[0] = z->c; /* setmark p1, line 47 */ + if (out_grouping_U(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 48 */ + { /* gopast */ /* non V1, line 48 */ int ret = in_grouping_U(z, g_V1, 97, 246, 1); if (ret < 0) return 0; z->c += ret; } - z->I[1] = z->c; /* setmark p2, line 47 */ + z->I[1] = z->c; /* setmark p2, line 48 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 52 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 53 */ return 1; } static int r_particle_etc(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 55 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 56 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 55 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 55 */ - among_var = find_among_b(z, a_0, 10); /* substring, line 55 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 56 */ + among_var = find_among_b(z, a_0, 10); /* substring, line 56 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 55 */ + z->bra = z->c; /* ], line 56 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 56 */ - case 0: return 0; + switch (among_var) { /* among, line 57 */ case 1: - if (in_grouping_b_U(z, g_particle_end, 97, 246, 0)) return 0; /* grouping particle_end, line 62 */ + if (in_grouping_b_U(z, g_particle_end, 97, 246, 0)) return 0; /* grouping particle_end, line 63 */ break; case 2: - { int ret = r_R2(z); /* call R2, line 64 */ + { int ret = r_R2(z); /* call R2, line 65 */ if (ret <= 0) return ret; } break; } - { int ret = slice_del(z); /* delete, line 66 */ + { int ret = slice_del(z); /* delete, line 67 */ if (ret < 0) return ret; } return 1; @@ -333,66 +331,63 @@ static int r_particle_etc(struct SN_env * z) { /* backwardmode */ static int r_possessive(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 69 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 70 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 69 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 69 */ - among_var = find_among_b(z, a_4, 9); /* substring, line 69 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 70 */ + among_var = find_among_b(z, a_4, 9); /* substring, line 70 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 69 */ + z->bra = z->c; /* ], line 70 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 70 */ - case 0: return 0; + switch (among_var) { /* among, line 71 */ case 1: - { int m2 = z->l - z->c; (void)m2; /* not, line 72 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'k') goto lab0; /* literal, line 72 */ + { int m2 = z->l - z->c; (void)m2; /* not, line 73 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'k') goto lab0; /* literal, line 73 */ z->c--; return 0; lab0: z->c = z->l - m2; } - { int ret = slice_del(z); /* delete, line 72 */ + { int ret = slice_del(z); /* delete, line 73 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 74 */ + { int ret = slice_del(z); /* delete, line 75 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 74 */ - if (!(eq_s_b(z, 3, s_0))) return 0; /* literal, line 74 */ - z->bra = z->c; /* ], line 74 */ - { int ret = slice_from_s(z, 3, s_1); /* <-, line 74 */ + z->ket = z->c; /* [, line 75 */ + if (!(eq_s_b(z, 3, s_0))) return 0; /* literal, line 75 */ + z->bra = z->c; /* ], line 75 */ + { int ret = slice_from_s(z, 3, s_1); /* <-, line 75 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 78 */ + { int ret = slice_del(z); /* delete, line 79 */ if (ret < 0) return ret; } break; case 4: - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 97) return 0; /* among, line 81 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 97) return 0; /* among, line 82 */ if (!(find_among_b(z, a_1, 6))) return 0; - { int ret = slice_del(z); /* delete, line 81 */ + { int ret = slice_del(z); /* delete, line 82 */ if (ret < 0) return ret; } break; case 5: - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 164) return 0; /* among, line 83 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 164) return 0; /* among, line 84 */ if (!(find_among_b(z, a_2, 6))) return 0; - { int ret = slice_del(z); /* delete, line 84 */ + { int ret = slice_del(z); /* delete, line 85 */ if (ret < 0) return ret; } break; case 6: - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 101) return 0; /* among, line 86 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 101) return 0; /* among, line 87 */ if (!(find_among_b(z, a_3, 2))) return 0; - { int ret = slice_del(z); /* delete, line 86 */ + { int ret = slice_del(z); /* delete, line 87 */ if (ret < 0) return ret; } break; @@ -401,141 +396,129 @@ static int r_possessive(struct SN_env * z) { /* backwardmode */ } static int r_LONG(struct SN_env * z) { /* backwardmode */ - if (!(find_among_b(z, a_5, 7))) return 0; /* among, line 91 */ + if (!(find_among_b(z, a_5, 7))) return 0; /* among, line 92 */ return 1; } static int r_VI(struct SN_env * z) { /* backwardmode */ - if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 93 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 94 */ z->c--; - if (in_grouping_b_U(z, g_V2, 97, 246, 0)) return 0; /* grouping V2, line 93 */ + if (in_grouping_b_U(z, g_V2, 97, 246, 0)) return 0; /* grouping V2, line 94 */ return 1; } static int r_case_ending(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 96 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 97 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 96 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 96 */ - among_var = find_among_b(z, a_6, 30); /* substring, line 96 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 97 */ + among_var = find_among_b(z, a_6, 30); /* substring, line 97 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 96 */ + z->bra = z->c; /* ], line 97 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 97 */ - case 0: return 0; + switch (among_var) { /* among, line 98 */ case 1: - if (z->c <= z->lb || z->p[z->c - 1] != 'a') return 0; /* literal, line 98 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'a') return 0; /* literal, line 99 */ z->c--; break; case 2: - if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0; /* literal, line 99 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0; /* literal, line 100 */ z->c--; break; case 3: - if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 100 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0; /* literal, line 101 */ z->c--; break; case 4: - if (z->c <= z->lb || z->p[z->c - 1] != 'o') return 0; /* literal, line 101 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') return 0; /* literal, line 102 */ z->c--; break; case 5: - if (!(eq_s_b(z, 2, s_2))) return 0; /* literal, line 102 */ + if (!(eq_s_b(z, 2, s_2))) return 0; /* literal, line 103 */ break; case 6: - if (!(eq_s_b(z, 2, s_3))) return 0; /* literal, line 103 */ + if (!(eq_s_b(z, 2, s_3))) return 0; /* literal, line 104 */ break; case 7: - { int m2 = z->l - z->c; (void)m2; /* try, line 111 */ - { int m3 = z->l - z->c; (void)m3; /* and, line 113 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 112 */ - { int ret = r_LONG(z); /* call LONG, line 111 */ + { int m2 = z->l - z->c; (void)m2; /* try, line 112 */ + { int m3 = z->l - z->c; (void)m3; /* and, line 114 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 113 */ + { int ret = r_LONG(z); /* call LONG, line 112 */ if (ret == 0) goto lab2; if (ret < 0) return ret; } goto lab1; lab2: z->c = z->l - m4; - if (!(eq_s_b(z, 2, s_4))) { z->c = z->l - m2; goto lab0; } /* literal, line 112 */ + if (!(eq_s_b(z, 2, s_4))) { z->c = z->l - m2; goto lab0; } /* literal, line 113 */ } lab1: z->c = z->l - m3; { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) { z->c = z->l - m2; goto lab0; } - z->c = ret; /* next, line 113 */ + z->c = ret; /* next, line 114 */ } } - z->bra = z->c; /* ], line 113 */ + z->bra = z->c; /* ], line 114 */ lab0: ; } break; case 8: - if (in_grouping_b_U(z, g_V1, 97, 246, 0)) return 0; /* grouping V1, line 119 */ - if (out_grouping_b_U(z, g_V1, 97, 246, 0)) return 0; /* non V1, line 119 */ - break; - case 9: - if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0; /* literal, line 121 */ - z->c--; + if (in_grouping_b_U(z, g_V1, 97, 246, 0)) return 0; /* grouping V1, line 120 */ + if (in_grouping_b_U(z, g_C, 98, 122, 0)) return 0; /* grouping C, line 120 */ break; } - { int ret = slice_del(z); /* delete, line 138 */ + { int ret = slice_del(z); /* delete, line 139 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set ending_removed, line 139 */ + z->B[0] = 1; /* set ending_removed, line 140 */ return 1; } static int r_other_endings(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 142 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 143 */ if (z->c < z->I[1]) return 0; - z->c = z->I[1]; /* tomark, line 142 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 142 */ - among_var = find_among_b(z, a_7, 14); /* substring, line 142 */ + mlimit1 = z->lb; z->lb = z->I[1]; + z->ket = z->c; /* [, line 143 */ + among_var = find_among_b(z, a_7, 14); /* substring, line 143 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 142 */ + z->bra = z->c; /* ], line 143 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 143 */ - case 0: return 0; + switch (among_var) { /* among, line 144 */ case 1: - { int m2 = z->l - z->c; (void)m2; /* not, line 146 */ - if (!(eq_s_b(z, 2, s_5))) goto lab0; /* literal, line 146 */ + { int m2 = z->l - z->c; (void)m2; /* not, line 147 */ + if (!(eq_s_b(z, 2, s_5))) goto lab0; /* literal, line 147 */ return 0; lab0: z->c = z->l - m2; } break; } - { int ret = slice_del(z); /* delete, line 151 */ + { int ret = slice_del(z); /* delete, line 152 */ if (ret < 0) return ret; } return 1; } static int r_i_plural(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 154 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 155 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 154 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 154 */ - if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 106)) { z->lb = mlimit1; return 0; } /* substring, line 154 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 155 */ + if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 106)) { z->lb = mlimit1; return 0; } /* substring, line 155 */ if (!(find_among_b(z, a_8, 2))) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 154 */ + z->bra = z->c; /* ], line 155 */ z->lb = mlimit1; } - { int ret = slice_del(z); /* delete, line 158 */ + { int ret = slice_del(z); /* delete, line 159 */ if (ret < 0) return ret; } return 1; @@ -543,122 +526,115 @@ static int r_i_plural(struct SN_env * z) { /* backwardmode */ static int r_t_plural(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 161 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 162 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 161 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 162 */ - if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit1; return 0; } /* literal, line 162 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 163 */ + if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit1; return 0; } /* literal, line 163 */ z->c--; - z->bra = z->c; /* ], line 162 */ - { int m_test2 = z->l - z->c; /* test, line 162 */ - if (in_grouping_b_U(z, g_V1, 97, 246, 0)) { z->lb = mlimit1; return 0; } /* grouping V1, line 162 */ + z->bra = z->c; /* ], line 163 */ + { int m_test2 = z->l - z->c; /* test, line 163 */ + if (in_grouping_b_U(z, g_V1, 97, 246, 0)) { z->lb = mlimit1; return 0; } /* grouping V1, line 163 */ z->c = z->l - m_test2; } - { int ret = slice_del(z); /* delete, line 163 */ + { int ret = slice_del(z); /* delete, line 164 */ if (ret < 0) return ret; } z->lb = mlimit1; } - { int m3 = z->l - z->c; (void)m3; /* setlimit, line 165 */ - int mlimit3; + + { int mlimit3; /* setlimit, line 166 */ if (z->c < z->I[1]) return 0; - z->c = z->I[1]; /* tomark, line 165 */ - mlimit3 = z->lb; z->lb = z->c; - z->c = z->l - m3; - z->ket = z->c; /* [, line 165 */ - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 97) { z->lb = mlimit3; return 0; } /* substring, line 165 */ + mlimit3 = z->lb; z->lb = z->I[1]; + z->ket = z->c; /* [, line 166 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 97) { z->lb = mlimit3; return 0; } /* substring, line 166 */ among_var = find_among_b(z, a_9, 2); if (!(among_var)) { z->lb = mlimit3; return 0; } - z->bra = z->c; /* ], line 165 */ + z->bra = z->c; /* ], line 166 */ z->lb = mlimit3; } - switch (among_var) { /* among, line 166 */ - case 0: return 0; + switch (among_var) { /* among, line 167 */ case 1: - { int m4 = z->l - z->c; (void)m4; /* not, line 167 */ - if (!(eq_s_b(z, 2, s_6))) goto lab0; /* literal, line 167 */ + { int m4 = z->l - z->c; (void)m4; /* not, line 168 */ + if (!(eq_s_b(z, 2, s_6))) goto lab0; /* literal, line 168 */ return 0; lab0: z->c = z->l - m4; } break; } - { int ret = slice_del(z); /* delete, line 170 */ + { int ret = slice_del(z); /* delete, line 171 */ if (ret < 0) return ret; } return 1; } static int r_tidy(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 173 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 174 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 173 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - { int m2 = z->l - z->c; (void)m2; /* do, line 174 */ - { int m3 = z->l - z->c; (void)m3; /* and, line 174 */ - { int ret = r_LONG(z); /* call LONG, line 174 */ + mlimit1 = z->lb; z->lb = z->I[0]; + { int m2 = z->l - z->c; (void)m2; /* do, line 175 */ + { int m3 = z->l - z->c; (void)m3; /* and, line 175 */ + { int ret = r_LONG(z); /* call LONG, line 175 */ if (ret == 0) goto lab0; if (ret < 0) return ret; } z->c = z->l - m3; - z->ket = z->c; /* [, line 174 */ + z->ket = z->c; /* [, line 175 */ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) goto lab0; - z->c = ret; /* next, line 174 */ + z->c = ret; /* next, line 175 */ } - z->bra = z->c; /* ], line 174 */ - { int ret = slice_del(z); /* delete, line 174 */ + z->bra = z->c; /* ], line 175 */ + { int ret = slice_del(z); /* delete, line 175 */ if (ret < 0) return ret; } } lab0: z->c = z->l - m2; } - { int m4 = z->l - z->c; (void)m4; /* do, line 175 */ - z->ket = z->c; /* [, line 175 */ - if (in_grouping_b_U(z, g_AEI, 97, 228, 0)) goto lab1; /* grouping AEI, line 175 */ - z->bra = z->c; /* ], line 175 */ - if (out_grouping_b_U(z, g_V1, 97, 246, 0)) goto lab1; /* non V1, line 175 */ - { int ret = slice_del(z); /* delete, line 175 */ + { int m4 = z->l - z->c; (void)m4; /* do, line 176 */ + z->ket = z->c; /* [, line 176 */ + if (in_grouping_b_U(z, g_AEI, 97, 228, 0)) goto lab1; /* grouping AEI, line 176 */ + z->bra = z->c; /* ], line 176 */ + if (in_grouping_b_U(z, g_C, 98, 122, 0)) goto lab1; /* grouping C, line 176 */ + { int ret = slice_del(z); /* delete, line 176 */ if (ret < 0) return ret; } lab1: z->c = z->l - m4; } - { int m5 = z->l - z->c; (void)m5; /* do, line 176 */ - z->ket = z->c; /* [, line 176 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab2; /* literal, line 176 */ + { int m5 = z->l - z->c; (void)m5; /* do, line 177 */ + z->ket = z->c; /* [, line 177 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab2; /* literal, line 177 */ z->c--; - z->bra = z->c; /* ], line 176 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 176 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab4; /* literal, line 176 */ + z->bra = z->c; /* ], line 177 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 177 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab4; /* literal, line 177 */ z->c--; goto lab3; lab4: z->c = z->l - m6; - if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab2; /* literal, line 176 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab2; /* literal, line 177 */ z->c--; } lab3: - { int ret = slice_del(z); /* delete, line 176 */ + { int ret = slice_del(z); /* delete, line 177 */ if (ret < 0) return ret; } lab2: z->c = z->l - m5; } - { int m7 = z->l - z->c; (void)m7; /* do, line 177 */ - z->ket = z->c; /* [, line 177 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab5; /* literal, line 177 */ + { int m7 = z->l - z->c; (void)m7; /* do, line 178 */ + z->ket = z->c; /* [, line 178 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab5; /* literal, line 178 */ z->c--; - z->bra = z->c; /* ], line 177 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab5; /* literal, line 177 */ + z->bra = z->c; /* ], line 178 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab5; /* literal, line 178 */ z->c--; - { int ret = slice_del(z); /* delete, line 177 */ + { int ret = slice_del(z); /* delete, line 178 */ if (ret < 0) return ret; } lab5: @@ -666,96 +642,75 @@ static int r_tidy(struct SN_env * z) { /* backwardmode */ } z->lb = mlimit1; } - if (in_grouping_b_U(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* non V1, line 179 */ - z->ket = z->c; /* [, line 179 */ - { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); - if (ret < 0) return 0; - z->c = ret; /* next, line 179 */ - } - z->bra = z->c; /* ], line 179 */ - z->S[0] = slice_to(z, z->S[0]); /* -> x, line 179 */ - if (z->S[0] == 0) return -1; /* -> x, line 179 */ - if (!(eq_v_b(z, z->S[0]))) return 0; /* name x, line 179 */ - { int ret = slice_del(z); /* delete, line 179 */ + if (in_grouping_b_U(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* non V1, line 180 */ + z->ket = z->c; /* [, line 180 */ + if (in_grouping_b_U(z, g_C, 98, 122, 0)) return 0; /* grouping C, line 180 */ + z->bra = z->c; /* ], line 180 */ + z->S[0] = slice_to(z, z->S[0]); /* -> x, line 180 */ + if (z->S[0] == 0) return -1; /* -> x, line 180 */ + if (!(eq_v_b(z, z->S[0]))) return 0; /* name x, line 180 */ + { int ret = slice_del(z); /* delete, line 180 */ if (ret < 0) return ret; } return 1; } extern int finnish_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 185 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 185 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 186 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 186 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - z->B[0] = 0; /* unset ending_removed, line 186 */ - z->lb = z->c; z->c = z->l; /* backwards, line 187 */ + z->B[0] = 0; /* unset ending_removed, line 187 */ + z->lb = z->c; z->c = z->l; /* backwards, line 188 */ - { int m2 = z->l - z->c; (void)m2; /* do, line 188 */ - { int ret = r_particle_etc(z); /* call particle_etc, line 188 */ - if (ret == 0) goto lab1; + { int m2 = z->l - z->c; (void)m2; /* do, line 189 */ + { int ret = r_particle_etc(z); /* call particle_etc, line 189 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } - { int m3 = z->l - z->c; (void)m3; /* do, line 189 */ - { int ret = r_possessive(z); /* call possessive, line 189 */ - if (ret == 0) goto lab2; + { int m3 = z->l - z->c; (void)m3; /* do, line 190 */ + { int ret = r_possessive(z); /* call possessive, line 190 */ if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } - { int m4 = z->l - z->c; (void)m4; /* do, line 190 */ - { int ret = r_case_ending(z); /* call case_ending, line 190 */ - if (ret == 0) goto lab3; + { int m4 = z->l - z->c; (void)m4; /* do, line 191 */ + { int ret = r_case_ending(z); /* call case_ending, line 191 */ if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } - { int m5 = z->l - z->c; (void)m5; /* do, line 191 */ - { int ret = r_other_endings(z); /* call other_endings, line 191 */ - if (ret == 0) goto lab4; + { int m5 = z->l - z->c; (void)m5; /* do, line 192 */ + { int ret = r_other_endings(z); /* call other_endings, line 192 */ if (ret < 0) return ret; } - lab4: z->c = z->l - m5; } - { int m6 = z->l - z->c; (void)m6; /* or, line 192 */ - if (!(z->B[0])) goto lab6; /* Boolean test ending_removed, line 192 */ - { int m7 = z->l - z->c; (void)m7; /* do, line 192 */ - { int ret = r_i_plural(z); /* call i_plural, line 192 */ - if (ret == 0) goto lab7; - if (ret < 0) return ret; - } - lab7: - z->c = z->l - m7; + /* or, line 193 */ + if (!(z->B[0])) goto lab1; /* Boolean test ending_removed, line 193 */ + { int m6 = z->l - z->c; (void)m6; /* do, line 193 */ + { int ret = r_i_plural(z); /* call i_plural, line 193 */ + if (ret < 0) return ret; } - goto lab5; - lab6: z->c = z->l - m6; - { int m8 = z->l - z->c; (void)m8; /* do, line 192 */ - { int ret = r_t_plural(z); /* call t_plural, line 192 */ - if (ret == 0) goto lab8; - if (ret < 0) return ret; - } - lab8: - z->c = z->l - m8; + } + goto lab0; +lab1: + { int m7 = z->l - z->c; (void)m7; /* do, line 193 */ + { int ret = r_t_plural(z); /* call t_plural, line 193 */ + if (ret < 0) return ret; } + z->c = z->l - m7; } -lab5: - { int m9 = z->l - z->c; (void)m9; /* do, line 193 */ - { int ret = r_tidy(z); /* call tidy, line 193 */ - if (ret == 0) goto lab9; +lab0: + { int m8 = z->l - z->c; (void)m8; /* do, line 194 */ + { int ret = r_tidy(z); /* call tidy, line 194 */ if (ret < 0) return ret; } - lab9: - z->c = z->l - m9; + z->c = z->l - m8; } z->c = z->lb; return 1; diff --git a/src/dep/snowball/src_c/stem_UTF_8_finnish.h b/src/dep/snowball/src_c/stem_UTF_8_finnish.h index 7d07fbaf4a..fa6866178d 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_finnish.h +++ b/src/dep/snowball/src_c/stem_UTF_8_finnish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_french.c b/src/dep/snowball/src_c/stem_UTF_8_french.c index d418aa2c11..56d4aa422f 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_french.c +++ b/src/dep/snowball/src_c/stem_UTF_8_french.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -45,16 +44,22 @@ static const struct among a_0[3] = /* 2 */ { 3, s_0_2, -1, -1, 0} }; -static const symbol s_1_1[1] = { 'I' }; -static const symbol s_1_2[1] = { 'U' }; -static const symbol s_1_3[1] = { 'Y' }; +static const symbol s_1_1[1] = { 'H' }; +static const symbol s_1_2[2] = { 'H', 'e' }; +static const symbol s_1_3[2] = { 'H', 'i' }; +static const symbol s_1_4[1] = { 'I' }; +static const symbol s_1_5[1] = { 'U' }; +static const symbol s_1_6[1] = { 'Y' }; -static const struct among a_1[4] = +static const struct among a_1[7] = { -/* 0 */ { 0, 0, -1, 4, 0}, -/* 1 */ { 1, s_1_1, 0, 1, 0}, -/* 2 */ { 1, s_1_2, 0, 2, 0}, -/* 3 */ { 1, s_1_3, 0, 3, 0} +/* 0 */ { 0, 0, -1, 7, 0}, +/* 1 */ { 1, s_1_1, 0, 6, 0}, +/* 2 */ { 2, s_1_2, 1, 4, 0}, +/* 3 */ { 2, s_1_3, 1, 5, 0}, +/* 4 */ { 1, s_1_4, 0, 1, 0}, +/* 5 */ { 1, s_1_5, 0, 2, 0}, +/* 6 */ { 1, s_1_6, 0, 3, 0} }; static const symbol s_2_0[3] = { 'i', 'q', 'U' }; @@ -338,17 +343,15 @@ static const symbol s_7_2[5] = { 'i', 0xC3, 0xA8, 'r', 'e' }; static const symbol s_7_3[3] = { 'i', 'o', 'n' }; static const symbol s_7_4[3] = { 'I', 'e', 'r' }; static const symbol s_7_5[3] = { 'i', 'e', 'r' }; -static const symbol s_7_6[2] = { 0xC3, 0xAB }; -static const struct among a_7[7] = +static const struct among a_7[6] = { /* 0 */ { 1, s_7_0, -1, 3, 0}, /* 1 */ { 5, s_7_1, 0, 2, 0}, /* 2 */ { 5, s_7_2, 0, 2, 0}, /* 3 */ { 3, s_7_3, -1, 1, 0}, /* 4 */ { 3, s_7_4, -1, 2, 0}, -/* 5 */ { 3, s_7_5, -1, 2, 0}, -/* 6 */ { 2, s_7_6, -1, 4, 0} +/* 5 */ { 3, s_7_5, -1, 2, 0} }; static const symbol s_8_0[3] = { 'e', 'l', 'l' }; @@ -373,41 +376,48 @@ static const unsigned char g_keep_with_s[] = { 1, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0 static const symbol s_0[] = { 'U' }; static const symbol s_1[] = { 'I' }; static const symbol s_2[] = { 'Y' }; -static const symbol s_3[] = { 'Y' }; -static const symbol s_4[] = { 'U' }; -static const symbol s_5[] = { 'i' }; -static const symbol s_6[] = { 'u' }; -static const symbol s_7[] = { 'y' }; -static const symbol s_8[] = { 'i', 'c' }; -static const symbol s_9[] = { 'i', 'q', 'U' }; -static const symbol s_10[] = { 'l', 'o', 'g' }; -static const symbol s_11[] = { 'u' }; -static const symbol s_12[] = { 'e', 'n', 't' }; -static const symbol s_13[] = { 'a', 't' }; -static const symbol s_14[] = { 'e', 'u', 'x' }; -static const symbol s_15[] = { 'i' }; -static const symbol s_16[] = { 'a', 'b', 'l' }; -static const symbol s_17[] = { 'i', 'q', 'U' }; -static const symbol s_18[] = { 'a', 't' }; -static const symbol s_19[] = { 'i', 'c' }; -static const symbol s_20[] = { 'i', 'q', 'U' }; -static const symbol s_21[] = { 'e', 'a', 'u' }; -static const symbol s_22[] = { 'a', 'l' }; -static const symbol s_23[] = { 'e', 'u', 'x' }; -static const symbol s_24[] = { 'a', 'n', 't' }; -static const symbol s_25[] = { 'e', 'n', 't' }; -static const symbol s_26[] = { 'i' }; -static const symbol s_27[] = { 'g', 'u' }; -static const symbol s_28[] = { 0xC3, 0xA9 }; -static const symbol s_29[] = { 0xC3, 0xA8 }; -static const symbol s_30[] = { 'e' }; -static const symbol s_31[] = { 'i' }; -static const symbol s_32[] = { 0xC3, 0xA7 }; -static const symbol s_33[] = { 'c' }; +static const symbol s_3[] = { 0xC3, 0xAB }; +static const symbol s_4[] = { 'H', 'e' }; +static const symbol s_5[] = { 0xC3, 0xAF }; +static const symbol s_6[] = { 'H', 'i' }; +static const symbol s_7[] = { 'Y' }; +static const symbol s_8[] = { 'U' }; +static const symbol s_9[] = { 'i' }; +static const symbol s_10[] = { 'u' }; +static const symbol s_11[] = { 'y' }; +static const symbol s_12[] = { 0xC3, 0xAB }; +static const symbol s_13[] = { 0xC3, 0xAF }; +static const symbol s_14[] = { 'i', 'c' }; +static const symbol s_15[] = { 'i', 'q', 'U' }; +static const symbol s_16[] = { 'l', 'o', 'g' }; +static const symbol s_17[] = { 'u' }; +static const symbol s_18[] = { 'e', 'n', 't' }; +static const symbol s_19[] = { 'a', 't' }; +static const symbol s_20[] = { 'e', 'u', 'x' }; +static const symbol s_21[] = { 'i' }; +static const symbol s_22[] = { 'a', 'b', 'l' }; +static const symbol s_23[] = { 'i', 'q', 'U' }; +static const symbol s_24[] = { 'a', 't' }; +static const symbol s_25[] = { 'i', 'c' }; +static const symbol s_26[] = { 'i', 'q', 'U' }; +static const symbol s_27[] = { 'e', 'a', 'u' }; +static const symbol s_28[] = { 'a', 'l' }; +static const symbol s_29[] = { 'e', 'u', 'x' }; +static const symbol s_30[] = { 'a', 'n', 't' }; +static const symbol s_31[] = { 'e', 'n', 't' }; +static const symbol s_32[] = { 'H', 'i' }; +static const symbol s_33[] = { 'i' }; +static const symbol s_34[] = { 0xC3, 0xA9 }; +static const symbol s_35[] = { 0xC3, 0xA8 }; +static const symbol s_36[] = { 'e' }; +static const symbol s_37[] = { 'i' }; +static const symbol s_38[] = { 0xC3, 0xA7 }; +static const symbol s_39[] = { 'c' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ - while(1) { /* repeat, line 38 */ - int c1 = z->c; +/* repeat, line 38 */ + + while(1) { int c1 = z->c; while(1) { /* goto, line 38 */ int c2 = z->c; { int c3 = z->c; /* or, line 44 */ @@ -446,23 +456,41 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ lab3: z->c = c3; z->bra = z->c; /* [, line 45 */ - if (z->c == z->l || z->p[z->c] != 'y') goto lab7; /* literal, line 45 */ - z->c++; + if (!(eq_s(z, 2, s_3))) goto lab7; /* literal, line 45 */ z->ket = z->c; /* ], line 45 */ - if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab7; /* grouping v, line 45 */ - { int ret = slice_from_s(z, 1, s_3); /* <-, line 45 */ + { int ret = slice_from_s(z, 2, s_4); /* <-, line 45 */ if (ret < 0) return ret; } goto lab2; lab7: z->c = c3; - if (z->c == z->l || z->p[z->c] != 'q') goto lab1; /* literal, line 47 */ - z->c++; z->bra = z->c; /* [, line 47 */ - if (z->c == z->l || z->p[z->c] != 'u') goto lab1; /* literal, line 47 */ - z->c++; + if (!(eq_s(z, 2, s_5))) goto lab8; /* literal, line 47 */ z->ket = z->c; /* ], line 47 */ - { int ret = slice_from_s(z, 1, s_4); /* <-, line 47 */ + { int ret = slice_from_s(z, 2, s_6); /* <-, line 47 */ + if (ret < 0) return ret; + } + goto lab2; + lab8: + z->c = c3; + z->bra = z->c; /* [, line 49 */ + if (z->c == z->l || z->p[z->c] != 'y') goto lab9; /* literal, line 49 */ + z->c++; + z->ket = z->c; /* ], line 49 */ + if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab9; /* grouping v, line 49 */ + { int ret = slice_from_s(z, 1, s_7); /* <-, line 49 */ + if (ret < 0) return ret; + } + goto lab2; + lab9: + z->c = c3; + if (z->c == z->l || z->p[z->c] != 'q') goto lab1; /* literal, line 51 */ + z->c++; + z->bra = z->c; /* [, line 51 */ + if (z->c == z->l || z->p[z->c] != 'u') goto lab1; /* literal, line 51 */ + z->c++; + z->ket = z->c; /* ], line 51 */ + { int ret = slice_from_s(z, 1, s_8); /* <-, line 51 */ if (ret < 0) return ret; } } @@ -485,63 +513,63 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ } static int r_mark_regions(struct SN_env * z) { /* forwardmode */ - z->I[0] = z->l; /* $pV = , line 52 */ - z->I[1] = z->l; /* $p1 = , line 53 */ - z->I[2] = z->l; /* $p2 = , line 54 */ - { int c1 = z->c; /* do, line 56 */ - { int c2 = z->c; /* or, line 58 */ - if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 57 */ - if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 57 */ + z->I[0] = z->l; /* $pV = , line 56 */ + z->I[1] = z->l; /* $p1 = , line 57 */ + z->I[2] = z->l; /* $p2 = , line 58 */ + { int c1 = z->c; /* do, line 60 */ + { int c2 = z->c; /* or, line 62 */ + if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 61 */ + if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab2; /* grouping v, line 61 */ { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); if (ret < 0) goto lab2; - z->c = ret; /* next, line 57 */ + z->c = ret; /* next, line 61 */ } goto lab1; lab2: z->c = c2; - if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((331776 >> (z->p[z->c + 2] & 0x1f)) & 1)) goto lab3; /* among, line 59 */ + if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((331776 >> (z->p[z->c + 2] & 0x1f)) & 1)) goto lab3; /* among, line 63 */ if (!(find_among(z, a_0, 3))) goto lab3; goto lab1; lab3: z->c = c2; { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); if (ret < 0) goto lab0; - z->c = ret; /* next, line 66 */ + z->c = ret; /* next, line 70 */ } - { /* gopast */ /* grouping v, line 66 */ + { /* gopast */ /* grouping v, line 70 */ int ret = out_grouping_U(z, g_v, 97, 251, 1); if (ret < 0) goto lab0; z->c += ret; } } lab1: - z->I[0] = z->c; /* setmark pV, line 67 */ + z->I[0] = z->c; /* setmark pV, line 71 */ lab0: z->c = c1; } - { int c3 = z->c; /* do, line 69 */ - { /* gopast */ /* grouping v, line 70 */ + { int c3 = z->c; /* do, line 73 */ + { /* gopast */ /* grouping v, line 74 */ int ret = out_grouping_U(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - { /* gopast */ /* non v, line 70 */ + { /* gopast */ /* non v, line 74 */ int ret = in_grouping_U(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - z->I[1] = z->c; /* setmark p1, line 70 */ - { /* gopast */ /* grouping v, line 71 */ + z->I[1] = z->c; /* setmark p1, line 74 */ + { /* gopast */ /* grouping v, line 75 */ int ret = out_grouping_U(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - { /* gopast */ /* non v, line 71 */ + { /* gopast */ /* non v, line 75 */ int ret = in_grouping_U(z, g_v, 97, 251, 1); if (ret < 0) goto lab4; z->c += ret; } - z->I[2] = z->c; /* setmark p2, line 71 */ + z->I[2] = z->c; /* setmark p2, line 75 */ lab4: z->c = c3; } @@ -550,34 +578,49 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 75 */ - int c1 = z->c; - z->bra = z->c; /* [, line 77 */ - if (z->c >= z->l || z->p[z->c + 0] >> 5 != 2 || !((35652096 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 4; else /* substring, line 77 */ - among_var = find_among(z, a_1, 4); +/* repeat, line 79 */ + + while(1) { int c1 = z->c; + z->bra = z->c; /* [, line 81 */ + if (z->c >= z->l || z->p[z->c + 0] >> 5 != 2 || !((35652352 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 7; else /* substring, line 81 */ + among_var = find_among(z, a_1, 7); if (!(among_var)) goto lab0; - z->ket = z->c; /* ], line 77 */ - switch (among_var) { /* among, line 77 */ - case 0: goto lab0; + z->ket = z->c; /* ], line 81 */ + switch (among_var) { /* among, line 81 */ case 1: - { int ret = slice_from_s(z, 1, s_5); /* <-, line 78 */ + { int ret = slice_from_s(z, 1, s_9); /* <-, line 82 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_6); /* <-, line 79 */ + { int ret = slice_from_s(z, 1, s_10); /* <-, line 83 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_7); /* <-, line 80 */ + { int ret = slice_from_s(z, 1, s_11); /* <-, line 84 */ if (ret < 0) return ret; } break; case 4: + { int ret = slice_from_s(z, 2, s_12); /* <-, line 85 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 2, s_13); /* <-, line 86 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_del(z); /* delete, line 87 */ + if (ret < 0) return ret; + } + break; + case 7: { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); if (ret < 0) goto lab0; - z->c = ret; /* next, line 81 */ + z->c = ret; /* next, line 88 */ } break; } @@ -590,59 +633,58 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 87 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 94 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 88 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 95 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 89 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 96 */ return 1; } static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - z->ket = z->c; /* [, line 92 */ - among_var = find_among_b(z, a_4, 43); /* substring, line 92 */ + z->ket = z->c; /* [, line 99 */ + among_var = find_among_b(z, a_4, 43); /* substring, line 99 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 92 */ - switch (among_var) { /* among, line 92 */ - case 0: return 0; + z->bra = z->c; /* ], line 99 */ + switch (among_var) { /* among, line 99 */ case 1: - { int ret = r_R2(z); /* call R2, line 96 */ + { int ret = r_R2(z); /* call R2, line 103 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 96 */ + { int ret = slice_del(z); /* delete, line 103 */ if (ret < 0) return ret; } break; case 2: - { int ret = r_R2(z); /* call R2, line 99 */ + { int ret = r_R2(z); /* call R2, line 106 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 99 */ + { int ret = slice_del(z); /* delete, line 106 */ if (ret < 0) return ret; } - { int m1 = z->l - z->c; (void)m1; /* try, line 100 */ - z->ket = z->c; /* [, line 100 */ - if (!(eq_s_b(z, 2, s_8))) { z->c = z->l - m1; goto lab0; } /* literal, line 100 */ - z->bra = z->c; /* ], line 100 */ - { int m2 = z->l - z->c; (void)m2; /* or, line 100 */ - { int ret = r_R2(z); /* call R2, line 100 */ + { int m1 = z->l - z->c; (void)m1; /* try, line 107 */ + z->ket = z->c; /* [, line 107 */ + if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m1; goto lab0; } /* literal, line 107 */ + z->bra = z->c; /* ], line 107 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 107 */ + { int ret = r_R2(z); /* call R2, line 107 */ if (ret == 0) goto lab2; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 100 */ + { int ret = slice_del(z); /* delete, line 107 */ if (ret < 0) return ret; } goto lab1; lab2: z->c = z->l - m2; - { int ret = slice_from_s(z, 3, s_9); /* <-, line 100 */ + { int ret = slice_from_s(z, 3, s_15); /* <-, line 107 */ if (ret < 0) return ret; } } @@ -652,99 +694,98 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 3: - { int ret = r_R2(z); /* call R2, line 104 */ + { int ret = r_R2(z); /* call R2, line 111 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_10); /* <-, line 104 */ + { int ret = slice_from_s(z, 3, s_16); /* <-, line 111 */ if (ret < 0) return ret; } break; case 4: - { int ret = r_R2(z); /* call R2, line 107 */ + { int ret = r_R2(z); /* call R2, line 114 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 1, s_11); /* <-, line 107 */ + { int ret = slice_from_s(z, 1, s_17); /* <-, line 114 */ if (ret < 0) return ret; } break; case 5: - { int ret = r_R2(z); /* call R2, line 110 */ + { int ret = r_R2(z); /* call R2, line 117 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_12); /* <-, line 110 */ + { int ret = slice_from_s(z, 3, s_18); /* <-, line 117 */ if (ret < 0) return ret; } break; case 6: - { int ret = r_RV(z); /* call RV, line 114 */ + { int ret = r_RV(z); /* call RV, line 121 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 114 */ + { int ret = slice_del(z); /* delete, line 121 */ if (ret < 0) return ret; } - { int m3 = z->l - z->c; (void)m3; /* try, line 115 */ - z->ket = z->c; /* [, line 116 */ - among_var = find_among_b(z, a_2, 6); /* substring, line 116 */ + { int m3 = z->l - z->c; (void)m3; /* try, line 122 */ + z->ket = z->c; /* [, line 123 */ + among_var = find_among_b(z, a_2, 6); /* substring, line 123 */ if (!(among_var)) { z->c = z->l - m3; goto lab3; } - z->bra = z->c; /* ], line 116 */ - switch (among_var) { /* among, line 116 */ - case 0: { z->c = z->l - m3; goto lab3; } + z->bra = z->c; /* ], line 123 */ + switch (among_var) { /* among, line 123 */ case 1: - { int ret = r_R2(z); /* call R2, line 117 */ + { int ret = r_R2(z); /* call R2, line 124 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 117 */ + { int ret = slice_del(z); /* delete, line 124 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 117 */ - if (!(eq_s_b(z, 2, s_13))) { z->c = z->l - m3; goto lab3; } /* literal, line 117 */ - z->bra = z->c; /* ], line 117 */ - { int ret = r_R2(z); /* call R2, line 117 */ + z->ket = z->c; /* [, line 124 */ + if (!(eq_s_b(z, 2, s_19))) { z->c = z->l - m3; goto lab3; } /* literal, line 124 */ + z->bra = z->c; /* ], line 124 */ + { int ret = r_R2(z); /* call R2, line 124 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 117 */ + { int ret = slice_del(z); /* delete, line 124 */ if (ret < 0) return ret; } break; case 2: - { int m4 = z->l - z->c; (void)m4; /* or, line 118 */ - { int ret = r_R2(z); /* call R2, line 118 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 125 */ + { int ret = r_R2(z); /* call R2, line 125 */ if (ret == 0) goto lab5; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 118 */ + { int ret = slice_del(z); /* delete, line 125 */ if (ret < 0) return ret; } goto lab4; lab5: z->c = z->l - m4; - { int ret = r_R1(z); /* call R1, line 118 */ + { int ret = r_R1(z); /* call R1, line 125 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_from_s(z, 3, s_14); /* <-, line 118 */ + { int ret = slice_from_s(z, 3, s_20); /* <-, line 125 */ if (ret < 0) return ret; } } lab4: break; case 3: - { int ret = r_R2(z); /* call R2, line 120 */ + { int ret = r_R2(z); /* call R2, line 127 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 120 */ + { int ret = slice_del(z); /* delete, line 127 */ if (ret < 0) return ret; } break; case 4: - { int ret = r_RV(z); /* call RV, line 122 */ + { int ret = r_RV(z); /* call RV, line 129 */ if (ret == 0) { z->c = z->l - m3; goto lab3; } if (ret < 0) return ret; } - { int ret = slice_from_s(z, 1, s_15); /* <-, line 122 */ + { int ret = slice_from_s(z, 1, s_21); /* <-, line 129 */ if (ret < 0) return ret; } break; @@ -754,62 +795,61 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 7: - { int ret = r_R2(z); /* call R2, line 129 */ + { int ret = r_R2(z); /* call R2, line 136 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 129 */ + { int ret = slice_del(z); /* delete, line 136 */ if (ret < 0) return ret; } - { int m5 = z->l - z->c; (void)m5; /* try, line 130 */ - z->ket = z->c; /* [, line 131 */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m5; goto lab6; } /* substring, line 131 */ + { int m5 = z->l - z->c; (void)m5; /* try, line 137 */ + z->ket = z->c; /* [, line 138 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m5; goto lab6; } /* substring, line 138 */ among_var = find_among_b(z, a_3, 3); if (!(among_var)) { z->c = z->l - m5; goto lab6; } - z->bra = z->c; /* ], line 131 */ - switch (among_var) { /* among, line 131 */ - case 0: { z->c = z->l - m5; goto lab6; } + z->bra = z->c; /* ], line 138 */ + switch (among_var) { /* among, line 138 */ case 1: - { int m6 = z->l - z->c; (void)m6; /* or, line 132 */ - { int ret = r_R2(z); /* call R2, line 132 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 139 */ + { int ret = r_R2(z); /* call R2, line 139 */ if (ret == 0) goto lab8; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 132 */ + { int ret = slice_del(z); /* delete, line 139 */ if (ret < 0) return ret; } goto lab7; lab8: z->c = z->l - m6; - { int ret = slice_from_s(z, 3, s_16); /* <-, line 132 */ + { int ret = slice_from_s(z, 3, s_22); /* <-, line 139 */ if (ret < 0) return ret; } } lab7: break; case 2: - { int m7 = z->l - z->c; (void)m7; /* or, line 133 */ - { int ret = r_R2(z); /* call R2, line 133 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 140 */ + { int ret = r_R2(z); /* call R2, line 140 */ if (ret == 0) goto lab10; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 133 */ + { int ret = slice_del(z); /* delete, line 140 */ if (ret < 0) return ret; } goto lab9; lab10: z->c = z->l - m7; - { int ret = slice_from_s(z, 3, s_17); /* <-, line 133 */ + { int ret = slice_from_s(z, 3, s_23); /* <-, line 140 */ if (ret < 0) return ret; } } lab9: break; case 3: - { int ret = r_R2(z); /* call R2, line 134 */ + { int ret = r_R2(z); /* call R2, line 141 */ if (ret == 0) { z->c = z->l - m5; goto lab6; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 134 */ + { int ret = slice_del(z); /* delete, line 141 */ if (ret < 0) return ret; } break; @@ -819,38 +859,38 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 8: - { int ret = r_R2(z); /* call R2, line 141 */ + { int ret = r_R2(z); /* call R2, line 148 */ if (ret <= 0) return ret; } - { int ret = slice_del(z); /* delete, line 141 */ + { int ret = slice_del(z); /* delete, line 148 */ if (ret < 0) return ret; } - { int m8 = z->l - z->c; (void)m8; /* try, line 142 */ - z->ket = z->c; /* [, line 142 */ - if (!(eq_s_b(z, 2, s_18))) { z->c = z->l - m8; goto lab11; } /* literal, line 142 */ - z->bra = z->c; /* ], line 142 */ - { int ret = r_R2(z); /* call R2, line 142 */ + { int m8 = z->l - z->c; (void)m8; /* try, line 149 */ + z->ket = z->c; /* [, line 149 */ + if (!(eq_s_b(z, 2, s_24))) { z->c = z->l - m8; goto lab11; } /* literal, line 149 */ + z->bra = z->c; /* ], line 149 */ + { int ret = r_R2(z); /* call R2, line 149 */ if (ret == 0) { z->c = z->l - m8; goto lab11; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 142 */ + { int ret = slice_del(z); /* delete, line 149 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 142 */ - if (!(eq_s_b(z, 2, s_19))) { z->c = z->l - m8; goto lab11; } /* literal, line 142 */ - z->bra = z->c; /* ], line 142 */ - { int m9 = z->l - z->c; (void)m9; /* or, line 142 */ - { int ret = r_R2(z); /* call R2, line 142 */ + z->ket = z->c; /* [, line 149 */ + if (!(eq_s_b(z, 2, s_25))) { z->c = z->l - m8; goto lab11; } /* literal, line 149 */ + z->bra = z->c; /* ], line 149 */ + { int m9 = z->l - z->c; (void)m9; /* or, line 149 */ + { int ret = r_R2(z); /* call R2, line 149 */ if (ret == 0) goto lab13; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 142 */ + { int ret = slice_del(z); /* delete, line 149 */ if (ret < 0) return ret; } goto lab12; lab13: z->c = z->l - m9; - { int ret = slice_from_s(z, 3, s_20); /* <-, line 142 */ + { int ret = slice_from_s(z, 3, s_26); /* <-, line 149 */ if (ret < 0) return ret; } } @@ -860,104 +900,102 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } break; case 9: - { int ret = slice_from_s(z, 3, s_21); /* <-, line 144 */ + { int ret = slice_from_s(z, 3, s_27); /* <-, line 151 */ if (ret < 0) return ret; } break; case 10: - { int ret = r_R1(z); /* call R1, line 145 */ + { int ret = r_R1(z); /* call R1, line 152 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 2, s_22); /* <-, line 145 */ + { int ret = slice_from_s(z, 2, s_28); /* <-, line 152 */ if (ret < 0) return ret; } break; case 11: - { int m10 = z->l - z->c; (void)m10; /* or, line 147 */ - { int ret = r_R2(z); /* call R2, line 147 */ + { int m10 = z->l - z->c; (void)m10; /* or, line 154 */ + { int ret = r_R2(z); /* call R2, line 154 */ if (ret == 0) goto lab15; if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 147 */ + { int ret = slice_del(z); /* delete, line 154 */ if (ret < 0) return ret; } goto lab14; lab15: z->c = z->l - m10; - { int ret = r_R1(z); /* call R1, line 147 */ + { int ret = r_R1(z); /* call R1, line 154 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_23); /* <-, line 147 */ + { int ret = slice_from_s(z, 3, s_29); /* <-, line 154 */ if (ret < 0) return ret; } } lab14: break; case 12: - { int ret = r_R1(z); /* call R1, line 150 */ + { int ret = r_R1(z); /* call R1, line 157 */ if (ret <= 0) return ret; } - if (out_grouping_b_U(z, g_v, 97, 251, 0)) return 0; /* non v, line 150 */ - { int ret = slice_del(z); /* delete, line 150 */ + if (out_grouping_b_U(z, g_v, 97, 251, 0)) return 0; /* non v, line 157 */ + { int ret = slice_del(z); /* delete, line 157 */ if (ret < 0) return ret; } break; case 13: - { int ret = r_RV(z); /* call RV, line 155 */ + { int ret = r_RV(z); /* call RV, line 162 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_24); /* <-, line 155 */ + { int ret = slice_from_s(z, 3, s_30); /* <-, line 162 */ if (ret < 0) return ret; } - return 0; /* fail, line 155 */ + return 0; /* fail, line 162 */ break; case 14: - { int ret = r_RV(z); /* call RV, line 156 */ + { int ret = r_RV(z); /* call RV, line 163 */ if (ret <= 0) return ret; } - { int ret = slice_from_s(z, 3, s_25); /* <-, line 156 */ + { int ret = slice_from_s(z, 3, s_31); /* <-, line 163 */ if (ret < 0) return ret; } - return 0; /* fail, line 156 */ + return 0; /* fail, line 163 */ break; case 15: - { int m_test11 = z->l - z->c; /* test, line 158 */ - if (in_grouping_b_U(z, g_v, 97, 251, 0)) return 0; /* grouping v, line 158 */ - { int ret = r_RV(z); /* call RV, line 158 */ + { int m_test11 = z->l - z->c; /* test, line 165 */ + if (in_grouping_b_U(z, g_v, 97, 251, 0)) return 0; /* grouping v, line 165 */ + { int ret = r_RV(z); /* call RV, line 165 */ if (ret <= 0) return ret; } z->c = z->l - m_test11; } - { int ret = slice_del(z); /* delete, line 158 */ + { int ret = slice_del(z); /* delete, line 165 */ if (ret < 0) return ret; } - return 0; /* fail, line 158 */ + return 0; /* fail, line 165 */ break; } return 1; } static int r_i_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 163 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 170 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 163 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 164 */ - if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68944418 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 164 */ - among_var = find_among_b(z, a_5, 35); - if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 164 */ - switch (among_var) { /* among, line 164 */ - case 0: { z->lb = mlimit1; return 0; } - case 1: - if (out_grouping_b_U(z, g_v, 97, 251, 0)) { z->lb = mlimit1; return 0; } /* non v, line 170 */ - { int ret = slice_del(z); /* delete, line 170 */ - if (ret < 0) return ret; - } - break; + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 171 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68944418 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 171 */ + if (!(find_among_b(z, a_5, 35))) { z->lb = mlimit1; return 0; } + z->bra = z->c; /* ], line 171 */ + { int m2 = z->l - z->c; (void)m2; /* not, line 177 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'H') goto lab0; /* literal, line 177 */ + z->c--; + { z->lb = mlimit1; return 0; } + lab0: + z->c = z->l - m2; + } + if (out_grouping_b_U(z, g_v, 97, 251, 0)) { z->lb = mlimit1; return 0; } /* non v, line 177 */ + { int ret = slice_del(z); /* delete, line 177 */ + if (ret < 0) return ret; } z->lb = mlimit1; } @@ -966,42 +1004,39 @@ static int r_i_verb_suffix(struct SN_env * z) { /* backwardmode */ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 174 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 181 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 174 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; - z->ket = z->c; /* [, line 175 */ - among_var = find_among_b(z, a_6, 38); /* substring, line 175 */ + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 182 */ + among_var = find_among_b(z, a_6, 38); /* substring, line 182 */ if (!(among_var)) { z->lb = mlimit1; return 0; } - z->bra = z->c; /* ], line 175 */ - switch (among_var) { /* among, line 175 */ - case 0: { z->lb = mlimit1; return 0; } + z->bra = z->c; /* ], line 182 */ + switch (among_var) { /* among, line 182 */ case 1: - { int ret = r_R2(z); /* call R2, line 177 */ + { int ret = r_R2(z); /* call R2, line 184 */ if (ret == 0) { z->lb = mlimit1; return 0; } if (ret < 0) return ret; } - { int ret = slice_del(z); /* delete, line 177 */ + { int ret = slice_del(z); /* delete, line 184 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 185 */ + { int ret = slice_del(z); /* delete, line 192 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 190 */ + { int ret = slice_del(z); /* delete, line 197 */ if (ret < 0) return ret; } - { int m2 = z->l - z->c; (void)m2; /* try, line 191 */ - z->ket = z->c; /* [, line 191 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'e') { z->c = z->l - m2; goto lab0; } /* literal, line 191 */ + { int m2 = z->l - z->c; (void)m2; /* try, line 198 */ + z->ket = z->c; /* [, line 198 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') { z->c = z->l - m2; goto lab0; } /* literal, line 198 */ z->c--; - z->bra = z->c; /* ], line 191 */ - { int ret = slice_del(z); /* delete, line 191 */ + z->bra = z->c; /* ], line 198 */ + { int ret = slice_del(z); /* delete, line 198 */ if (ret < 0) return ret; } lab0: @@ -1016,87 +1051,86 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* try, line 199 */ - z->ket = z->c; /* [, line 199 */ - if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - m1; goto lab0; } /* literal, line 199 */ + { int m1 = z->l - z->c; (void)m1; /* try, line 206 */ + z->ket = z->c; /* [, line 206 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - m1; goto lab0; } /* literal, line 206 */ z->c--; - z->bra = z->c; /* ], line 199 */ - { int m_test2 = z->l - z->c; /* test, line 199 */ - if (out_grouping_b_U(z, g_keep_with_s, 97, 232, 0)) { z->c = z->l - m1; goto lab0; } /* non keep_with_s, line 199 */ + z->bra = z->c; /* ], line 206 */ + { int m_test2 = z->l - z->c; /* test, line 206 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 206 */ + if (!(eq_s_b(z, 2, s_32))) goto lab2; /* literal, line 206 */ + goto lab1; + lab2: + z->c = z->l - m3; + if (out_grouping_b_U(z, g_keep_with_s, 97, 232, 0)) { z->c = z->l - m1; goto lab0; } /* non keep_with_s, line 206 */ + } + lab1: z->c = z->l - m_test2; } - { int ret = slice_del(z); /* delete, line 199 */ + { int ret = slice_del(z); /* delete, line 206 */ if (ret < 0) return ret; } lab0: ; } - { int m3 = z->l - z->c; (void)m3; /* setlimit, line 200 */ - int mlimit3; + + { int mlimit4; /* setlimit, line 207 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 200 */ - mlimit3 = z->lb; z->lb = z->c; - z->c = z->l - m3; - z->ket = z->c; /* [, line 201 */ - among_var = find_among_b(z, a_7, 7); /* substring, line 201 */ - if (!(among_var)) { z->lb = mlimit3; return 0; } - z->bra = z->c; /* ], line 201 */ - switch (among_var) { /* among, line 201 */ - case 0: { z->lb = mlimit3; return 0; } + mlimit4 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 208 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((278560 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit4; return 0; } /* substring, line 208 */ + among_var = find_among_b(z, a_7, 6); + if (!(among_var)) { z->lb = mlimit4; return 0; } + z->bra = z->c; /* ], line 208 */ + switch (among_var) { /* among, line 208 */ case 1: - { int ret = r_R2(z); /* call R2, line 202 */ - if (ret == 0) { z->lb = mlimit3; return 0; } + { int ret = r_R2(z); /* call R2, line 209 */ + if (ret == 0) { z->lb = mlimit4; return 0; } if (ret < 0) return ret; } - { int m4 = z->l - z->c; (void)m4; /* or, line 202 */ - if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab2; /* literal, line 202 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 209 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab4; /* literal, line 209 */ z->c--; - goto lab1; - lab2: - z->c = z->l - m4; - if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit3; return 0; } /* literal, line 202 */ + goto lab3; + lab4: + z->c = z->l - m5; + if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit4; return 0; } /* literal, line 209 */ z->c--; } - lab1: - { int ret = slice_del(z); /* delete, line 202 */ + lab3: + { int ret = slice_del(z); /* delete, line 209 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_26); /* <-, line 204 */ + { int ret = slice_from_s(z, 1, s_33); /* <-, line 211 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 205 */ - if (ret < 0) return ret; - } - break; - case 4: - if (!(eq_s_b(z, 2, s_27))) { z->lb = mlimit3; return 0; } /* literal, line 206 */ - { int ret = slice_del(z); /* delete, line 206 */ + { int ret = slice_del(z); /* delete, line 212 */ if (ret < 0) return ret; } break; } - z->lb = mlimit3; + z->lb = mlimit4; } return 1; } static int r_un_double(struct SN_env * z) { /* backwardmode */ - { int m_test1 = z->l - z->c; /* test, line 212 */ - if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1069056 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 212 */ + { int m_test1 = z->l - z->c; /* test, line 218 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1069056 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 218 */ if (!(find_among_b(z, a_8, 5))) return 0; z->c = z->l - m_test1; } - z->ket = z->c; /* [, line 212 */ + z->ket = z->c; /* [, line 218 */ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) return 0; - z->c = ret; /* next, line 212 */ + z->c = ret; /* next, line 218 */ } - z->bra = z->c; /* ], line 212 */ - { int ret = slice_del(z); /* delete, line 212 */ + z->bra = z->c; /* ], line 218 */ + { int ret = slice_del(z); /* delete, line 218 */ if (ret < 0) return ret; } return 1; @@ -1104,8 +1138,7 @@ static int r_un_double(struct SN_env * z) { /* backwardmode */ static int r_un_accent(struct SN_env * z) { /* backwardmode */ { int i = 1; - while(1) { /* atleast, line 216 */ - if (out_grouping_b_U(z, g_v, 97, 251, 0)) goto lab0; /* non v, line 216 */ + while(1) { if (out_grouping_b_U(z, g_v, 97, 251, 0)) goto lab0; /* non v, line 222 */ i--; continue; lab0: @@ -1113,125 +1146,113 @@ static int r_un_accent(struct SN_env * z) { /* backwardmode */ } if (i > 0) return 0; } - z->ket = z->c; /* [, line 217 */ - { int m1 = z->l - z->c; (void)m1; /* or, line 217 */ - if (!(eq_s_b(z, 2, s_28))) goto lab2; /* literal, line 217 */ + z->ket = z->c; /* [, line 223 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 223 */ + if (!(eq_s_b(z, 2, s_34))) goto lab2; /* literal, line 223 */ goto lab1; lab2: z->c = z->l - m1; - if (!(eq_s_b(z, 2, s_29))) return 0; /* literal, line 217 */ + if (!(eq_s_b(z, 2, s_35))) return 0; /* literal, line 223 */ } lab1: - z->bra = z->c; /* ], line 217 */ - { int ret = slice_from_s(z, 1, s_30); /* <-, line 217 */ + z->bra = z->c; /* ], line 223 */ + { int ret = slice_from_s(z, 1, s_36); /* <-, line 223 */ if (ret < 0) return ret; } return 1; } extern int french_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 223 */ - { int ret = r_prelude(z); /* call prelude, line 223 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 229 */ + { int ret = r_prelude(z); /* call prelude, line 229 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 224 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 224 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 230 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 230 */ + if (ret < 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 225 */ + z->lb = z->c; z->c = z->l; /* backwards, line 231 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 227 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 237 */ - { int m5 = z->l - z->c; (void)m5; /* and, line 233 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 229 */ - { int ret = r_standard_suffix(z); /* call standard_suffix, line 229 */ - if (ret == 0) goto lab6; + { int m2 = z->l - z->c; (void)m2; /* do, line 233 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 243 */ + { int m4 = z->l - z->c; (void)m4; /* and, line 239 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 235 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 235 */ + if (ret == 0) goto lab4; if (ret < 0) return ret; } - goto lab5; - lab6: - z->c = z->l - m6; - { int ret = r_i_verb_suffix(z); /* call i_verb_suffix, line 230 */ - if (ret == 0) goto lab7; + goto lab3; + lab4: + z->c = z->l - m5; + { int ret = r_i_verb_suffix(z); /* call i_verb_suffix, line 236 */ + if (ret == 0) goto lab5; if (ret < 0) return ret; } - goto lab5; - lab7: - z->c = z->l - m6; - { int ret = r_verb_suffix(z); /* call verb_suffix, line 231 */ - if (ret == 0) goto lab4; + goto lab3; + lab5: + z->c = z->l - m5; + { int ret = r_verb_suffix(z); /* call verb_suffix, line 237 */ + if (ret == 0) goto lab2; if (ret < 0) return ret; } } - lab5: - z->c = z->l - m5; - { int m7 = z->l - z->c; (void)m7; /* try, line 234 */ - z->ket = z->c; /* [, line 234 */ - { int m8 = z->l - z->c; (void)m8; /* or, line 234 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'Y') goto lab10; /* literal, line 234 */ + lab3: + z->c = z->l - m4; + { int m6 = z->l - z->c; (void)m6; /* try, line 240 */ + z->ket = z->c; /* [, line 240 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 240 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'Y') goto lab8; /* literal, line 240 */ z->c--; - z->bra = z->c; /* ], line 234 */ - { int ret = slice_from_s(z, 1, s_31); /* <-, line 234 */ + z->bra = z->c; /* ], line 240 */ + { int ret = slice_from_s(z, 1, s_37); /* <-, line 240 */ if (ret < 0) return ret; } - goto lab9; - lab10: - z->c = z->l - m8; - if (!(eq_s_b(z, 2, s_32))) { z->c = z->l - m7; goto lab8; } /* literal, line 235 */ - z->bra = z->c; /* ], line 235 */ - { int ret = slice_from_s(z, 1, s_33); /* <-, line 235 */ + goto lab7; + lab8: + z->c = z->l - m7; + if (!(eq_s_b(z, 2, s_38))) { z->c = z->l - m6; goto lab6; } /* literal, line 241 */ + z->bra = z->c; /* ], line 241 */ + { int ret = slice_from_s(z, 1, s_39); /* <-, line 241 */ if (ret < 0) return ret; } } - lab9: - lab8: + lab7: + lab6: ; } } - goto lab3; - lab4: - z->c = z->l - m4; - { int ret = r_residual_suffix(z); /* call residual_suffix, line 238 */ - if (ret == 0) goto lab2; + goto lab1; + lab2: + z->c = z->l - m3; + { int ret = r_residual_suffix(z); /* call residual_suffix, line 244 */ + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab3: - lab2: - z->c = z->l - m3; + lab1: + lab0: + z->c = z->l - m2; } - { int m9 = z->l - z->c; (void)m9; /* do, line 243 */ - { int ret = r_un_double(z); /* call un_double, line 243 */ - if (ret == 0) goto lab11; + { int m8 = z->l - z->c; (void)m8; /* do, line 249 */ + { int ret = r_un_double(z); /* call un_double, line 249 */ if (ret < 0) return ret; } - lab11: - z->c = z->l - m9; + z->c = z->l - m8; } - { int m10 = z->l - z->c; (void)m10; /* do, line 244 */ - { int ret = r_un_accent(z); /* call un_accent, line 244 */ - if (ret == 0) goto lab12; + { int m9 = z->l - z->c; (void)m9; /* do, line 250 */ + { int ret = r_un_accent(z); /* call un_accent, line 250 */ if (ret < 0) return ret; } - lab12: - z->c = z->l - m10; + z->c = z->l - m9; } z->c = z->lb; - { int c11 = z->c; /* do, line 246 */ - { int ret = r_postlude(z); /* call postlude, line 246 */ - if (ret == 0) goto lab13; + { int c10 = z->c; /* do, line 252 */ + { int ret = r_postlude(z); /* call postlude, line 252 */ if (ret < 0) return ret; } - lab13: - z->c = c11; + z->c = c10; } return 1; } diff --git a/src/dep/snowball/src_c/stem_UTF_8_french.h b/src/dep/snowball/src_c/stem_UTF_8_french.h index b19139e538..7ec833d5f8 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_french.h +++ b/src/dep/snowball/src_c/stem_UTF_8_french.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_german.c b/src/dep/snowball/src_c/stem_UTF_8_german.c index c1b0cc2ac3..8181c4322c 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_german.c +++ b/src/dep/snowball/src_c/stem_UTF_8_german.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -36,12 +35,12 @@ static const symbol s_0_5[2] = { 0xC3, 0xBC }; static const struct among a_0[6] = { -/* 0 */ { 0, 0, -1, 6, 0}, +/* 0 */ { 0, 0, -1, 5, 0}, /* 1 */ { 1, s_0_1, 0, 2, 0}, /* 2 */ { 1, s_0_2, 0, 1, 0}, /* 3 */ { 2, s_0_3, 0, 3, 0}, /* 4 */ { 2, s_0_4, 0, 4, 0}, -/* 5 */ { 2, s_0_5, 0, 5, 0} +/* 5 */ { 2, s_0_5, 0, 2, 0} }; static const symbol s_1_0[1] = { 'e' }; @@ -120,16 +119,16 @@ static const symbol s_4[] = { 'y' }; static const symbol s_5[] = { 'u' }; static const symbol s_6[] = { 'a' }; static const symbol s_7[] = { 'o' }; -static const symbol s_8[] = { 'u' }; -static const symbol s_9[] = { 'n', 'i', 's' }; -static const symbol s_10[] = { 'i', 'g' }; -static const symbol s_11[] = { 'e', 'r' }; -static const symbol s_12[] = { 'e', 'n' }; +static const symbol s_8[] = { 'n', 'i', 's' }; +static const symbol s_9[] = { 'i', 'g' }; +static const symbol s_10[] = { 'e', 'r' }; +static const symbol s_11[] = { 'e', 'n' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ { int c_test1 = z->c; /* test, line 35 */ - while(1) { /* repeat, line 35 */ - int c2 = z->c; +/* repeat, line 35 */ + + while(1) { int c2 = z->c; { int c3 = z->c; /* or, line 38 */ z->bra = z->c; /* [, line 37 */ if (!(eq_s(z, 2, s_0))) goto lab2; /* literal, line 37 */ @@ -153,8 +152,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ } z->c = c_test1; } - while(1) { /* repeat, line 41 */ - int c4 = z->c; +/* repeat, line 41 */ + + while(1) { int c4 = z->c; while(1) { /* goto, line 41 */ int c5 = z->c; if (in_grouping_U(z, g_v, 97, 252, 0)) goto lab4; /* grouping v, line 42 */ @@ -219,7 +219,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 54 */ /* try, line 55 */ - if (!(z->I[0] < z->I[2])) goto lab0; /* $p1 < , line 55 */ + if (!(z->I[0] < z->I[2])) goto lab0; /* $( < ), line 55 */ z->I[0] = z->I[2]; /* $p1 = , line 55 */ lab0: { /* gopast */ /* grouping v, line 56 */ @@ -238,14 +238,14 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 60 */ - int c1 = z->c; +/* repeat, line 60 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 62 */ among_var = find_among(z, a_0, 6); /* substring, line 62 */ if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 62 */ switch (among_var) { /* among, line 62 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_4); /* <-, line 63 */ if (ret < 0) return ret; @@ -267,11 +267,6 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } break; case 5: - { int ret = slice_from_s(z, 1, s_8); /* <-, line 67 */ - if (ret < 0) return ret; - } - break; - case 6: { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); if (ret < 0) goto lab0; z->c = ret; /* next, line 68 */ @@ -287,12 +282,12 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 75 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 75 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 76 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 76 */ return 1; } @@ -309,7 +304,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 80 */ - case 0: goto lab0; case 1: { int ret = slice_del(z); /* delete, line 82 */ if (ret < 0) return ret; @@ -324,7 +318,7 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - m2; goto lab1; } /* literal, line 86 */ z->c--; z->bra = z->c; /* ], line 86 */ - if (!(eq_s_b(z, 3, s_9))) { z->c = z->l - m2; goto lab1; } /* literal, line 86 */ + if (!(eq_s_b(z, 3, s_8))) { z->c = z->l - m2; goto lab1; } /* literal, line 86 */ { int ret = slice_del(z); /* delete, line 86 */ if (ret < 0) return ret; } @@ -353,7 +347,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 94 */ - case 0: goto lab2; case 1: { int ret = slice_del(z); /* delete, line 96 */ if (ret < 0) return ret; @@ -384,14 +377,13 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 104 */ - case 0: goto lab3; case 1: { int ret = slice_del(z); /* delete, line 106 */ if (ret < 0) return ret; } { int m5 = z->l - z->c; (void)m5; /* try, line 107 */ z->ket = z->c; /* [, line 107 */ - if (!(eq_s_b(z, 2, s_10))) { z->c = z->l - m5; goto lab4; } /* literal, line 107 */ + if (!(eq_s_b(z, 2, s_9))) { z->c = z->l - m5; goto lab4; } /* literal, line 107 */ z->bra = z->c; /* ], line 107 */ { int m6 = z->l - z->c; (void)m6; /* not, line 107 */ if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab5; /* literal, line 107 */ @@ -430,11 +422,11 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m8 = z->l - z->c; (void)m8; /* try, line 114 */ z->ket = z->c; /* [, line 115 */ { int m9 = z->l - z->c; (void)m9; /* or, line 115 */ - if (!(eq_s_b(z, 2, s_11))) goto lab9; /* literal, line 115 */ + if (!(eq_s_b(z, 2, s_10))) goto lab9; /* literal, line 115 */ goto lab8; lab9: z->c = z->l - m9; - if (!(eq_s_b(z, 2, s_12))) { z->c = z->l - m8; goto lab7; } /* literal, line 115 */ + if (!(eq_s_b(z, 2, s_11))) { z->c = z->l - m8; goto lab7; } /* literal, line 115 */ } lab8: z->bra = z->c; /* ], line 115 */ @@ -456,20 +448,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m10 = z->l - z->c; (void)m10; /* try, line 120 */ z->ket = z->c; /* [, line 121 */ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 103 && z->p[z->c - 1] != 104)) { z->c = z->l - m10; goto lab10; } /* substring, line 121 */ - among_var = find_among_b(z, a_3, 2); - if (!(among_var)) { z->c = z->l - m10; goto lab10; } + if (!(find_among_b(z, a_3, 2))) { z->c = z->l - m10; goto lab10; } z->bra = z->c; /* ], line 121 */ { int ret = r_R2(z); /* call R2, line 121 */ if (ret == 0) { z->c = z->l - m10; goto lab10; } if (ret < 0) return ret; } - switch (among_var) { /* among, line 121 */ - case 0: { z->c = z->l - m10; goto lab10; } - case 1: - { int ret = slice_del(z); /* delete, line 123 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 123 */ + if (ret < 0) return ret; } lab10: ; @@ -485,38 +471,28 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ extern int german_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 134 */ { int ret = r_prelude(z); /* call prelude, line 134 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } { int c2 = z->c; /* do, line 135 */ { int ret = r_mark_regions(z); /* call mark_regions, line 135 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = c2; } z->lb = z->c; z->c = z->l; /* backwards, line 136 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 137 */ - { int ret = r_standard_suffix(z); /* call standard_suffix, line 137 */ - if (ret == 0) goto lab2; - if (ret < 0) return ret; - } - lab2: - z->c = z->l - m3; + /* do, line 137 */ + { int ret = r_standard_suffix(z); /* call standard_suffix, line 137 */ + if (ret < 0) return ret; } z->c = z->lb; - { int c4 = z->c; /* do, line 138 */ + { int c3 = z->c; /* do, line 138 */ { int ret = r_postlude(z); /* call postlude, line 138 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: - z->c = c4; + z->c = c3; } return 1; } diff --git a/src/dep/snowball/src_c/stem_UTF_8_german.h b/src/dep/snowball/src_c/stem_UTF_8_german.h index 2a95132e9f..a3c3b7b93b 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_german.h +++ b/src/dep/snowball/src_c/stem_UTF_8_german.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_greek.c b/src/dep/snowball/src_c/stem_UTF_8_greek.c new file mode 100644 index 0000000000..196ed7c9a4 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_greek.c @@ -0,0 +1,3719 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +static int r_step7(struct SN_env * z); +static int r_step6(struct SN_env * z); +static int r_step5m(struct SN_env * z); +static int r_step5l(struct SN_env * z); +static int r_step5k(struct SN_env * z); +static int r_step5j(struct SN_env * z); +static int r_step5i(struct SN_env * z); +static int r_step5h(struct SN_env * z); +static int r_step5g(struct SN_env * z); +static int r_step5f(struct SN_env * z); +static int r_step5e(struct SN_env * z); +static int r_step5d(struct SN_env * z); +static int r_step5c(struct SN_env * z); +static int r_step5b(struct SN_env * z); +static int r_step5a(struct SN_env * z); +static int r_step4(struct SN_env * z); +static int r_step3(struct SN_env * z); +static int r_step2d(struct SN_env * z); +static int r_step2c(struct SN_env * z); +static int r_step2b(struct SN_env * z); +static int r_step2a(struct SN_env * z); +static int r_step1(struct SN_env * z); +static int r_steps10(struct SN_env * z); +static int r_steps9(struct SN_env * z); +static int r_steps8(struct SN_env * z); +static int r_steps7(struct SN_env * z); +static int r_steps6(struct SN_env * z); +static int r_steps5(struct SN_env * z); +static int r_steps4(struct SN_env * z); +static int r_steps3(struct SN_env * z); +static int r_steps2(struct SN_env * z); +static int r_steps1(struct SN_env * z); +static int r_has_min_length(struct SN_env * z); +static int r_tolower(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif +extern int greek_UTF_8_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * greek_UTF_8_create_env(void); +extern void greek_UTF_8_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_1[2] = { 0xCF, 0x82 }; +static const symbol s_0_2[2] = { 0xCE, 0x86 }; +static const symbol s_0_3[2] = { 0xCE, 0x88 }; +static const symbol s_0_4[2] = { 0xCE, 0x89 }; +static const symbol s_0_5[2] = { 0xCE, 0x8A }; +static const symbol s_0_6[2] = { 0xCF, 0x8A }; +static const symbol s_0_7[2] = { 0xCF, 0x8B }; +static const symbol s_0_8[2] = { 0xCE, 0x8C }; +static const symbol s_0_9[2] = { 0xCF, 0x8C }; +static const symbol s_0_10[2] = { 0xCF, 0x8D }; +static const symbol s_0_11[2] = { 0xCE, 0x8E }; +static const symbol s_0_12[2] = { 0xCF, 0x8E }; +static const symbol s_0_13[2] = { 0xCE, 0x8F }; +static const symbol s_0_14[2] = { 0xCE, 0x90 }; +static const symbol s_0_15[2] = { 0xCE, 0x91 }; +static const symbol s_0_16[2] = { 0xCE, 0x92 }; +static const symbol s_0_17[2] = { 0xCE, 0x93 }; +static const symbol s_0_18[2] = { 0xCE, 0x94 }; +static const symbol s_0_19[2] = { 0xCE, 0x95 }; +static const symbol s_0_20[2] = { 0xCE, 0x96 }; +static const symbol s_0_21[2] = { 0xCE, 0x97 }; +static const symbol s_0_22[2] = { 0xCE, 0x98 }; +static const symbol s_0_23[2] = { 0xCE, 0x99 }; +static const symbol s_0_24[2] = { 0xCE, 0x9A }; +static const symbol s_0_25[2] = { 0xCE, 0x9B }; +static const symbol s_0_26[2] = { 0xCE, 0x9C }; +static const symbol s_0_27[2] = { 0xCE, 0x9D }; +static const symbol s_0_28[2] = { 0xCE, 0x9E }; +static const symbol s_0_29[2] = { 0xCE, 0x9F }; +static const symbol s_0_30[2] = { 0xCE, 0xA0 }; +static const symbol s_0_31[2] = { 0xCE, 0xA1 }; +static const symbol s_0_32[2] = { 0xCE, 0xA3 }; +static const symbol s_0_33[2] = { 0xCE, 0xA4 }; +static const symbol s_0_34[2] = { 0xCE, 0xA5 }; +static const symbol s_0_35[2] = { 0xCE, 0xA6 }; +static const symbol s_0_36[2] = { 0xCE, 0xA7 }; +static const symbol s_0_37[2] = { 0xCE, 0xA8 }; +static const symbol s_0_38[2] = { 0xCE, 0xA9 }; +static const symbol s_0_39[2] = { 0xCE, 0xAA }; +static const symbol s_0_40[2] = { 0xCE, 0xAB }; +static const symbol s_0_41[2] = { 0xCE, 0xAC }; +static const symbol s_0_42[2] = { 0xCE, 0xAD }; +static const symbol s_0_43[2] = { 0xCE, 0xAE }; +static const symbol s_0_44[2] = { 0xCE, 0xAF }; +static const symbol s_0_45[2] = { 0xCE, 0xB0 }; + +static const struct among a_0[46] = +{ +/* 0 */ { 0, 0, -1, 25, 0}, +/* 1 */ { 2, s_0_1, 0, 18, 0}, +/* 2 */ { 2, s_0_2, 0, 1, 0}, +/* 3 */ { 2, s_0_3, 0, 5, 0}, +/* 4 */ { 2, s_0_4, 0, 7, 0}, +/* 5 */ { 2, s_0_5, 0, 9, 0}, +/* 6 */ { 2, s_0_6, 0, 7, 0}, +/* 7 */ { 2, s_0_7, 0, 20, 0}, +/* 8 */ { 2, s_0_8, 0, 15, 0}, +/* 9 */ { 2, s_0_9, 0, 15, 0}, +/* 10 */ { 2, s_0_10, 0, 20, 0}, +/* 11 */ { 2, s_0_11, 0, 20, 0}, +/* 12 */ { 2, s_0_12, 0, 24, 0}, +/* 13 */ { 2, s_0_13, 0, 24, 0}, +/* 14 */ { 2, s_0_14, 0, 7, 0}, +/* 15 */ { 2, s_0_15, 0, 1, 0}, +/* 16 */ { 2, s_0_16, 0, 2, 0}, +/* 17 */ { 2, s_0_17, 0, 3, 0}, +/* 18 */ { 2, s_0_18, 0, 4, 0}, +/* 19 */ { 2, s_0_19, 0, 5, 0}, +/* 20 */ { 2, s_0_20, 0, 6, 0}, +/* 21 */ { 2, s_0_21, 0, 7, 0}, +/* 22 */ { 2, s_0_22, 0, 8, 0}, +/* 23 */ { 2, s_0_23, 0, 9, 0}, +/* 24 */ { 2, s_0_24, 0, 10, 0}, +/* 25 */ { 2, s_0_25, 0, 11, 0}, +/* 26 */ { 2, s_0_26, 0, 12, 0}, +/* 27 */ { 2, s_0_27, 0, 13, 0}, +/* 28 */ { 2, s_0_28, 0, 14, 0}, +/* 29 */ { 2, s_0_29, 0, 15, 0}, +/* 30 */ { 2, s_0_30, 0, 16, 0}, +/* 31 */ { 2, s_0_31, 0, 17, 0}, +/* 32 */ { 2, s_0_32, 0, 18, 0}, +/* 33 */ { 2, s_0_33, 0, 19, 0}, +/* 34 */ { 2, s_0_34, 0, 20, 0}, +/* 35 */ { 2, s_0_35, 0, 21, 0}, +/* 36 */ { 2, s_0_36, 0, 22, 0}, +/* 37 */ { 2, s_0_37, 0, 23, 0}, +/* 38 */ { 2, s_0_38, 0, 24, 0}, +/* 39 */ { 2, s_0_39, 0, 9, 0}, +/* 40 */ { 2, s_0_40, 0, 20, 0}, +/* 41 */ { 2, s_0_41, 0, 1, 0}, +/* 42 */ { 2, s_0_42, 0, 5, 0}, +/* 43 */ { 2, s_0_43, 0, 7, 0}, +/* 44 */ { 2, s_0_44, 0, 9, 0}, +/* 45 */ { 2, s_0_45, 0, 20, 0} +}; + +static const symbol s_1_0[16] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCF, 0x89, 0xCF, 0x83 }; +static const symbol s_1_1[6] = { 0xCF, 0x86, 0xCF, 0x89, 0xCF, 0x83 }; +static const symbol s_1_2[10] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_1_3[10] = { 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_1_4[10] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB5, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_1_5[20] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_1_6[10] = { 0xCF, 0x86, 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_1_7[14] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_1_8[14] = { 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_1_9[14] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB5, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_1_10[18] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xBF, 0xCE, 0xBD, 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_1_11[14] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xBF, 0xCE, 0xBD, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_1_12[12] = { 0xCF, 0x86, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_1_13[14] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_1_14[12] = { 0xCF, 0x83, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_1_15[16] = { 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_1_16[14] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_1_17[18] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_1_18[8] = { 0xCF, 0x86, 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_1_19[12] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_1_20[12] = { 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_1_21[12] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB5, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_1_22[16] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xBF, 0xCE, 0xBD, 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_1_23[10] = { 0xCF, 0x86, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_1_24[12] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_1_25[10] = { 0xCF, 0x83, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_1_26[14] = { 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_1_27[12] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_1_28[12] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB7 }; +static const symbol s_1_29[20] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCF, 0x89, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_30[10] = { 0xCF, 0x86, 0xCF, 0x89, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_31[14] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_32[14] = { 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_33[14] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB5, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_34[18] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xBF, 0xCE, 0xBD, 0xCE, 0xBF, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_35[12] = { 0xCF, 0x86, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_36[14] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_37[12] = { 0xCF, 0x83, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_38[16] = { 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_1_39[14] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB9, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_1[40] = +{ +/* 0 */ { 16, s_1_0, -1, 10, 0}, +/* 1 */ { 6, s_1_1, -1, 9, 0}, +/* 2 */ { 10, s_1_2, -1, 7, 0}, +/* 3 */ { 10, s_1_3, -1, 8, 0}, +/* 4 */ { 10, s_1_4, -1, 6, 0}, +/* 5 */ { 20, s_1_5, -1, 10, 0}, +/* 6 */ { 10, s_1_6, -1, 9, 0}, +/* 7 */ { 14, s_1_7, -1, 7, 0}, +/* 8 */ { 14, s_1_8, -1, 8, 0}, +/* 9 */ { 14, s_1_9, -1, 6, 0}, +/* 10 */ { 18, s_1_10, -1, 11, 0}, +/* 11 */ { 14, s_1_11, -1, 11, 0}, +/* 12 */ { 12, s_1_12, -1, 1, 0}, +/* 13 */ { 14, s_1_13, -1, 2, 0}, +/* 14 */ { 12, s_1_14, -1, 4, 0}, +/* 15 */ { 16, s_1_15, -1, 5, 0}, +/* 16 */ { 14, s_1_16, -1, 3, 0}, +/* 17 */ { 18, s_1_17, -1, 10, 0}, +/* 18 */ { 8, s_1_18, -1, 9, 0}, +/* 19 */ { 12, s_1_19, -1, 7, 0}, +/* 20 */ { 12, s_1_20, -1, 8, 0}, +/* 21 */ { 12, s_1_21, -1, 6, 0}, +/* 22 */ { 16, s_1_22, -1, 11, 0}, +/* 23 */ { 10, s_1_23, -1, 1, 0}, +/* 24 */ { 12, s_1_24, -1, 2, 0}, +/* 25 */ { 10, s_1_25, -1, 4, 0}, +/* 26 */ { 14, s_1_26, -1, 5, 0}, +/* 27 */ { 12, s_1_27, -1, 3, 0}, +/* 28 */ { 12, s_1_28, -1, 7, 0}, +/* 29 */ { 20, s_1_29, -1, 10, 0}, +/* 30 */ { 10, s_1_30, -1, 9, 0}, +/* 31 */ { 14, s_1_31, -1, 7, 0}, +/* 32 */ { 14, s_1_32, -1, 8, 0}, +/* 33 */ { 14, s_1_33, -1, 6, 0}, +/* 34 */ { 18, s_1_34, -1, 11, 0}, +/* 35 */ { 12, s_1_35, -1, 1, 0}, +/* 36 */ { 14, s_1_36, -1, 2, 0}, +/* 37 */ { 12, s_1_37, -1, 4, 0}, +/* 38 */ { 16, s_1_38, -1, 5, 0}, +/* 39 */ { 14, s_1_39, -1, 3, 0} +}; + +static const symbol s_2_0[4] = { 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_2_1[12] = { 0xCE, 0xBE, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_2_2[6] = { 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_2_3[12] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB9, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_2_4[12] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_2_5[8] = { 0xCE, 0xB5, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_2_6[8] = { 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_2_7[8] = { 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x81, 0xCE, 0xBF }; +static const symbol s_2_8[14] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x81, 0xCE, 0xBF }; + +static const struct among a_2[9] = +{ +/* 0 */ { 4, s_2_0, -1, 1, 0}, +/* 1 */ { 12, s_2_1, 0, 1, 0}, +/* 2 */ { 6, s_2_2, 0, 1, 0}, +/* 3 */ { 12, s_2_3, 0, 1, 0}, +/* 4 */ { 12, s_2_4, 0, 1, 0}, +/* 5 */ { 8, s_2_5, 0, 1, 0}, +/* 6 */ { 8, s_2_6, -1, 1, 0}, +/* 7 */ { 8, s_2_7, -1, 1, 0}, +/* 8 */ { 14, s_2_8, 7, 1, 0} +}; + +static const symbol s_3_0[2] = { 0xCF, 0x80 }; +static const symbol s_3_1[6] = { 0xCE, 0xB9, 0xCE, 0xBC, 0xCF, 0x80 }; +static const symbol s_3_2[2] = { 0xCF, 0x81 }; +static const symbol s_3_3[4] = { 0xCF, 0x80, 0xCF, 0x81 }; +static const symbol s_3_4[6] = { 0xCE, 0xBC, 0xCF, 0x80, 0xCF, 0x81 }; +static const symbol s_3_5[6] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x81 }; +static const symbol s_3_6[12] = { 0xCE, 0xB3, 0xCE, 0xBB, 0xCF, 0x85, 0xCE, 0xBA, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_3_7[10] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBB, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_3_8[10] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_3_9[6] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_3_10[6] = { 0xCE, 0xB3, 0xCE, 0xBA, 0xCF, 0x81 }; +static const symbol s_3_11[14] = { 0xCF, 0x80, 0xCE, 0xB9, 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_3_12[12] = { 0xCE, 0xB2, 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xB2, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_3_13[12] = { 0xCE, 0xB3, 0xCE, 0xBB, 0xCF, 0x85, 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_3_14[6] = { 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_3_15[2] = { 0xCE, 0xB2 }; +static const symbol s_3_16[12] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x85, 0xCF, 0x81, 0xCE, 0xB9 }; +static const symbol s_3_17[8] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBA }; +static const symbol s_3_18[8] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBA }; +static const symbol s_3_19[2] = { 0xCE, 0xBB }; +static const symbol s_3_20[2] = { 0xCE, 0xBC }; +static const symbol s_3_21[8] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x81, 0xCE, 0xBD }; + +static const struct among a_3[22] = +{ +/* 0 */ { 2, s_3_0, -1, 1, 0}, +/* 1 */ { 6, s_3_1, 0, 1, 0}, +/* 2 */ { 2, s_3_2, -1, 1, 0}, +/* 3 */ { 4, s_3_3, 2, 1, 0}, +/* 4 */ { 6, s_3_4, 3, 1, 0}, +/* 5 */ { 6, s_3_5, 2, 1, 0}, +/* 6 */ { 12, s_3_6, 2, 1, 0}, +/* 7 */ { 10, s_3_7, 2, 1, 0}, +/* 8 */ { 10, s_3_8, 2, 1, 0}, +/* 9 */ { 6, s_3_9, 2, 1, 0}, +/* 10 */ { 6, s_3_10, 2, 1, 0}, +/* 11 */ { 14, s_3_11, 2, 1, 0}, +/* 12 */ { 12, s_3_12, 2, 1, 0}, +/* 13 */ { 12, s_3_13, 2, 1, 0}, +/* 14 */ { 6, s_3_14, -1, 1, 0}, +/* 15 */ { 2, s_3_15, -1, 1, 0}, +/* 16 */ { 12, s_3_16, -1, 1, 0}, +/* 17 */ { 8, s_3_17, -1, 1, 0}, +/* 18 */ { 8, s_3_18, -1, 1, 0}, +/* 19 */ { 2, s_3_19, -1, 1, 0}, +/* 20 */ { 2, s_3_20, -1, 1, 0}, +/* 21 */ { 8, s_3_21, -1, 1, 0} +}; + +static const symbol s_4_0[8] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_4_1[10] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB5, 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_4_2[6] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCF, 0x89 }; +static const symbol s_4_3[6] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB1 }; +static const symbol s_4_4[10] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_4_5[10] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_4_6[6] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB5 }; +static const symbol s_4_7[12] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_4_8[10] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_4_9[12] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_4_10[10] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_4_11[8] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB5, 0xCE, 0xB9 }; +static const symbol s_4_12[10] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_4_13[8] = { 0xCE, 0xB9, 0xCE, 0xB6, 0xCE, 0xB1, 0xCE, 0xBD }; + +static const struct among a_4[14] = +{ +/* 0 */ { 8, s_4_0, -1, 1, 0}, +/* 1 */ { 10, s_4_1, -1, 1, 0}, +/* 2 */ { 6, s_4_2, -1, 1, 0}, +/* 3 */ { 6, s_4_3, -1, 1, 0}, +/* 4 */ { 10, s_4_4, -1, 1, 0}, +/* 5 */ { 10, s_4_5, -1, 1, 0}, +/* 6 */ { 6, s_4_6, -1, 1, 0}, +/* 7 */ { 12, s_4_7, -1, 1, 0}, +/* 8 */ { 10, s_4_8, -1, 1, 0}, +/* 9 */ { 12, s_4_9, -1, 1, 0}, +/* 10 */ { 10, s_4_10, -1, 1, 0}, +/* 11 */ { 8, s_4_11, -1, 1, 0}, +/* 12 */ { 10, s_4_12, -1, 1, 0}, +/* 13 */ { 8, s_4_13, -1, 1, 0} +}; + +static const symbol s_5_0[2] = { 0xCF, 0x83 }; +static const symbol s_5_1[2] = { 0xCF, 0x87 }; +static const symbol s_5_2[4] = { 0xCF, 0x85, 0xCF, 0x88 }; +static const symbol s_5_3[4] = { 0xCE, 0xB6, 0xCF, 0x89 }; +static const symbol s_5_4[4] = { 0xCE, 0xB2, 0xCE, 0xB9 }; +static const symbol s_5_5[4] = { 0xCE, 0xBB, 0xCE, 0xB9 }; +static const symbol s_5_6[4] = { 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_5_7[4] = { 0xCE, 0xB5, 0xCE, 0xBD }; + +static const struct among a_5[8] = +{ +/* 0 */ { 2, s_5_0, -1, 1, 0}, +/* 1 */ { 2, s_5_1, -1, 1, 0}, +/* 2 */ { 4, s_5_2, -1, 1, 0}, +/* 3 */ { 4, s_5_3, -1, 1, 0}, +/* 4 */ { 4, s_5_4, -1, 1, 0}, +/* 5 */ { 4, s_5_5, -1, 1, 0}, +/* 6 */ { 4, s_5_6, -1, 1, 0}, +/* 7 */ { 4, s_5_7, -1, 1, 0} +}; + +static const symbol s_6_0[12] = { 0xCF, 0x89, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_6_1[10] = { 0xCF, 0x89, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1 }; +static const symbol s_6_2[14] = { 0xCF, 0x89, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_6_3[10] = { 0xCF, 0x89, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB5 }; +static const symbol s_6_4[14] = { 0xCF, 0x89, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_6_5[14] = { 0xCF, 0x89, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_6_6[12] = { 0xCF, 0x89, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD }; + +static const struct among a_6[7] = +{ +/* 0 */ { 12, s_6_0, -1, 1, 0}, +/* 1 */ { 10, s_6_1, -1, 1, 0}, +/* 2 */ { 14, s_6_2, -1, 1, 0}, +/* 3 */ { 10, s_6_3, -1, 1, 0}, +/* 4 */ { 14, s_6_4, -1, 1, 0}, +/* 5 */ { 14, s_6_5, -1, 1, 0}, +/* 6 */ { 12, s_6_6, -1, 1, 0} +}; + +static const symbol s_7_0[12] = { 0xCE, 0xBE, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_7_1[6] = { 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_7_2[12] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB9, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_7_3[12] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_7_4[8] = { 0xCE, 0xB5, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_7_5[14] = { 0xCF, 0x87, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_7_6[12] = { 0xCE, 0xB5, 0xCE, 0xBE, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x87, 0xCE, 0xB1 }; +static const symbol s_7_7[4] = { 0xCF, 0x80, 0xCE, 0xB5 }; +static const symbol s_7_8[6] = { 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB5 }; +static const symbol s_7_9[12] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB5 }; +static const symbol s_7_10[6] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_7_11[6] = { 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_7_12[12] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x89, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_7_13[8] = { 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_7_14[12] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_7_15[12] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_7_16[8] = { 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_7_17[8] = { 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x81, 0xCE, 0xBF }; +static const symbol s_7_18[14] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x81, 0xCE, 0xBF }; + +static const struct among a_7[19] = +{ +/* 0 */ { 12, s_7_0, -1, 1, 0}, +/* 1 */ { 6, s_7_1, -1, 1, 0}, +/* 2 */ { 12, s_7_2, -1, 1, 0}, +/* 3 */ { 12, s_7_3, -1, 1, 0}, +/* 4 */ { 8, s_7_4, -1, 1, 0}, +/* 5 */ { 14, s_7_5, -1, 1, 0}, +/* 6 */ { 12, s_7_6, -1, 1, 0}, +/* 7 */ { 4, s_7_7, -1, 1, 0}, +/* 8 */ { 6, s_7_8, 7, 1, 0}, +/* 9 */ { 12, s_7_9, 8, 1, 0}, +/* 10 */ { 6, s_7_10, -1, 1, 0}, +/* 11 */ { 6, s_7_11, -1, 1, 0}, +/* 12 */ { 12, s_7_12, 11, 1, 0}, +/* 13 */ { 8, s_7_13, 11, 1, 0}, +/* 14 */ { 12, s_7_14, 13, 1, 0}, +/* 15 */ { 12, s_7_15, 11, 1, 0}, +/* 16 */ { 8, s_7_16, -1, 1, 0}, +/* 17 */ { 8, s_7_17, -1, 1, 0}, +/* 18 */ { 14, s_7_18, 17, 1, 0} +}; + +static const symbol s_8_0[2] = { 0xCF, 0x80 }; +static const symbol s_8_1[6] = { 0xCE, 0xBB, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_8_2[16] = { 0xCE, 0xB4, 0xCE, 0xB7, 0xCE, 0xBC, 0xCE, 0xBF, 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_8_3[4] = { 0xCE, 0xB1, 0xCF, 0x86 }; +static const symbol s_8_4[18] = { 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xB1, 0xCF, 0x86 }; +static const symbol s_8_5[4] = { 0xCE, 0xB3, 0xCE, 0xB5 }; +static const symbol s_8_6[6] = { 0xCE, 0xB3, 0xCE, 0xBA, 0xCE, 0xB5 }; +static const symbol s_8_7[4] = { 0xCE, 0xB3, 0xCE, 0xBA }; +static const symbol s_8_8[2] = { 0xCE, 0xBC }; +static const symbol s_8_9[12] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_8_10[6] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCE, 0xBC }; +static const symbol s_8_11[4] = { 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_8_12[6] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF }; + +static const struct among a_8[13] = +{ +/* 0 */ { 2, s_8_0, -1, 1, 0}, +/* 1 */ { 6, s_8_1, -1, 1, 0}, +/* 2 */ { 16, s_8_2, -1, 1, 0}, +/* 3 */ { 4, s_8_3, -1, 1, 0}, +/* 4 */ { 18, s_8_4, 3, 1, 0}, +/* 5 */ { 4, s_8_5, -1, 1, 0}, +/* 6 */ { 6, s_8_6, -1, 1, 0}, +/* 7 */ { 4, s_8_7, -1, 1, 0}, +/* 8 */ { 2, s_8_8, -1, 1, 0}, +/* 9 */ { 12, s_8_9, 8, 1, 0}, +/* 10 */ { 6, s_8_10, 8, 1, 0}, +/* 11 */ { 4, s_8_11, -1, 1, 0}, +/* 12 */ { 6, s_8_12, -1, 1, 0} +}; + +static const symbol s_9_0[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_9_1[6] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB1 }; +static const symbol s_9_2[6] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_9_3[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_9_4[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_9_5[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_9_6[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD }; + +static const struct among a_9[7] = +{ +/* 0 */ { 8, s_9_0, -1, 1, 0}, +/* 1 */ { 6, s_9_1, -1, 1, 0}, +/* 2 */ { 6, s_9_2, -1, 1, 0}, +/* 3 */ { 10, s_9_3, -1, 1, 0}, +/* 4 */ { 10, s_9_4, -1, 1, 0}, +/* 5 */ { 10, s_9_5, -1, 1, 0}, +/* 6 */ { 8, s_9_6, -1, 1, 0} +}; + +static const symbol s_10_0[12] = { 0xCE, 0xBE, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_10_1[6] = { 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_10_2[12] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB9, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_10_3[12] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_10_4[8] = { 0xCE, 0xB5, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_10_5[14] = { 0xCF, 0x87, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x80, 0xCE, 0xB1 }; +static const symbol s_10_6[12] = { 0xCE, 0xB5, 0xCE, 0xBE, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x87, 0xCE, 0xB1 }; +static const symbol s_10_7[4] = { 0xCF, 0x80, 0xCE, 0xB5 }; +static const symbol s_10_8[6] = { 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB5 }; +static const symbol s_10_9[12] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB5 }; +static const symbol s_10_10[6] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_10_11[6] = { 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_10_12[12] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x89, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_10_13[8] = { 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_10_14[12] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_10_15[12] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_10_16[8] = { 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_10_17[8] = { 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x81, 0xCE, 0xBF }; +static const symbol s_10_18[14] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x81, 0xCE, 0xBF }; + +static const struct among a_10[19] = +{ +/* 0 */ { 12, s_10_0, -1, 1, 0}, +/* 1 */ { 6, s_10_1, -1, 1, 0}, +/* 2 */ { 12, s_10_2, -1, 1, 0}, +/* 3 */ { 12, s_10_3, -1, 1, 0}, +/* 4 */ { 8, s_10_4, -1, 1, 0}, +/* 5 */ { 14, s_10_5, -1, 1, 0}, +/* 6 */ { 12, s_10_6, -1, 1, 0}, +/* 7 */ { 4, s_10_7, -1, 1, 0}, +/* 8 */ { 6, s_10_8, 7, 1, 0}, +/* 9 */ { 12, s_10_9, 8, 1, 0}, +/* 10 */ { 6, s_10_10, -1, 1, 0}, +/* 11 */ { 6, s_10_11, -1, 1, 0}, +/* 12 */ { 12, s_10_12, 11, 1, 0}, +/* 13 */ { 8, s_10_13, 11, 1, 0}, +/* 14 */ { 12, s_10_14, 13, 1, 0}, +/* 15 */ { 12, s_10_15, 11, 1, 0}, +/* 16 */ { 8, s_10_16, -1, 1, 0}, +/* 17 */ { 8, s_10_17, -1, 1, 0}, +/* 18 */ { 14, s_10_18, 17, 1, 0} +}; + +static const symbol s_11_0[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB5, 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_11_1[6] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x89 }; +static const symbol s_11_2[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_11_3[12] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_11_4[12] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_11_5[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB5, 0xCE, 0xB9 }; +static const symbol s_11_6[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; + +static const struct among a_11[7] = +{ +/* 0 */ { 10, s_11_0, -1, 1, 0}, +/* 1 */ { 6, s_11_1, -1, 1, 0}, +/* 2 */ { 10, s_11_2, -1, 1, 0}, +/* 3 */ { 12, s_11_3, -1, 1, 0}, +/* 4 */ { 12, s_11_4, -1, 1, 0}, +/* 5 */ { 8, s_11_5, -1, 1, 0}, +/* 6 */ { 10, s_11_6, -1, 1, 0} +}; + +static const symbol s_12_0[4] = { 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_12_1[6] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_12_2[6] = { 0xCF, 0x80, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_12_3[6] = { 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_12_4[12] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x89, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_12_5[8] = { 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_12_6[14] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x81, 0xCE, 0xBF }; + +static const struct among a_12[7] = +{ +/* 0 */ { 4, s_12_0, -1, 1, 0}, +/* 1 */ { 6, s_12_1, 0, 1, 0}, +/* 2 */ { 6, s_12_2, -1, 1, 0}, +/* 3 */ { 6, s_12_3, -1, 1, 0}, +/* 4 */ { 12, s_12_4, 3, 1, 0}, +/* 5 */ { 8, s_12_5, -1, 1, 0}, +/* 6 */ { 14, s_12_6, -1, 1, 0} +}; + +static const symbol s_13_0[2] = { 0xCF, 0x80 }; +static const symbol s_13_1[6] = { 0xCE, 0xB5, 0xCF, 0x85, 0xCF, 0x80 }; +static const symbol s_13_2[4] = { 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_13_3[6] = { 0xCE, 0xB5, 0xCE, 0xBC, 0xCF, 0x80 }; +static const symbol s_13_4[6] = { 0xCE, 0xB3, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_13_5[4] = { 0xCF, 0x87, 0xCF, 0x81 }; +static const symbol s_13_6[6] = { 0xCF, 0x87, 0xCF, 0x89, 0xCF, 0x81 }; +static const symbol s_13_7[4] = { 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_13_8[6] = { 0xCE, 0xB1, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_13_9[4] = { 0xCF, 0x87, 0xCF, 0x84 }; +static const symbol s_13_10[6] = { 0xCE, 0xB1, 0xCF, 0x87, 0xCF, 0x84 }; +static const symbol s_13_11[4] = { 0xCE, 0xBA, 0xCF, 0x84 }; +static const symbol s_13_12[6] = { 0xCE, 0xB1, 0xCE, 0xBA, 0xCF, 0x84 }; +static const symbol s_13_13[4] = { 0xCF, 0x83, 0xCF, 0x87 }; +static const symbol s_13_14[6] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x87 }; +static const symbol s_13_15[6] = { 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x87 }; +static const symbol s_13_16[4] = { 0xCF, 0x85, 0xCF, 0x88 }; +static const symbol s_13_17[6] = { 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_13_18[4] = { 0xCF, 0x86, 0xCE, 0xB1 }; +static const symbol s_13_19[6] = { 0xCE, 0xB7, 0xCF, 0x86, 0xCE, 0xB1 }; +static const symbol s_13_20[6] = { 0xCE, 0xBB, 0xCF, 0x85, 0xCE, 0xB3 }; +static const symbol s_13_21[6] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCE, 0xB3 }; +static const symbol s_13_22[4] = { 0xCE, 0xB7, 0xCE, 0xB4 }; +static const symbol s_13_23[6] = { 0xCE, 0xB5, 0xCF, 0x87, 0xCE, 0xB8 }; +static const symbol s_13_24[6] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_13_25[4] = { 0xCF, 0x83, 0xCE, 0xBA }; +static const symbol s_13_26[6] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBA }; +static const symbol s_13_27[6] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBA }; +static const symbol s_13_28[6] = { 0xCE, 0xBA, 0xCF, 0x85, 0xCE, 0xBB }; +static const symbol s_13_29[6] = { 0xCF, 0x86, 0xCE, 0xB9, 0xCE, 0xBB }; +static const symbol s_13_30[2] = { 0xCE, 0xBC }; +static const symbol s_13_31[6] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCE, 0xBC }; +static const symbol s_13_32[6] = { 0xCE, 0xB1, 0xCF, 0x87, 0xCE, 0xBD }; + +static const struct among a_13[33] = +{ +/* 0 */ { 2, s_13_0, -1, 1, 0}, +/* 1 */ { 6, s_13_1, 0, 1, 0}, +/* 2 */ { 4, s_13_2, 0, 1, 0}, +/* 3 */ { 6, s_13_3, 0, 1, 0}, +/* 4 */ { 6, s_13_4, -1, 1, 0}, +/* 5 */ { 4, s_13_5, -1, 1, 0}, +/* 6 */ { 6, s_13_6, -1, 1, 0}, +/* 7 */ { 4, s_13_7, -1, 1, 0}, +/* 8 */ { 6, s_13_8, -1, 1, 0}, +/* 9 */ { 4, s_13_9, -1, 1, 0}, +/* 10 */ { 6, s_13_10, 9, 1, 0}, +/* 11 */ { 4, s_13_11, -1, 1, 0}, +/* 12 */ { 6, s_13_12, 11, 1, 0}, +/* 13 */ { 4, s_13_13, -1, 1, 0}, +/* 14 */ { 6, s_13_14, 13, 1, 0}, +/* 15 */ { 6, s_13_15, -1, 1, 0}, +/* 16 */ { 4, s_13_16, -1, 1, 0}, +/* 17 */ { 6, s_13_17, -1, 1, 0}, +/* 18 */ { 4, s_13_18, -1, 1, 0}, +/* 19 */ { 6, s_13_19, 18, 1, 0}, +/* 20 */ { 6, s_13_20, -1, 1, 0}, +/* 21 */ { 6, s_13_21, -1, 1, 0}, +/* 22 */ { 4, s_13_22, -1, 1, 0}, +/* 23 */ { 6, s_13_23, -1, 1, 0}, +/* 24 */ { 6, s_13_24, -1, 1, 0}, +/* 25 */ { 4, s_13_25, -1, 1, 0}, +/* 26 */ { 6, s_13_26, -1, 1, 0}, +/* 27 */ { 6, s_13_27, -1, 1, 0}, +/* 28 */ { 6, s_13_28, -1, 1, 0}, +/* 29 */ { 6, s_13_29, -1, 1, 0}, +/* 30 */ { 2, s_13_30, -1, 1, 0}, +/* 31 */ { 6, s_13_31, 30, 1, 0}, +/* 32 */ { 6, s_13_32, -1, 1, 0} +}; + +static const symbol s_14_0[12] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_14_1[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_14_2[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB7, 0xCF, 0x83 }; +static const symbol s_14_3[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_14_4[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_14_5[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_14_6[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_14_7[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB7 }; +static const symbol s_14_8[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xB9 }; +static const symbol s_14_9[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_14_10[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xBF }; + +static const struct among a_14[11] = +{ +/* 0 */ { 12, s_14_0, -1, 1, 0}, +/* 1 */ { 10, s_14_1, -1, 1, 0}, +/* 2 */ { 10, s_14_2, -1, 1, 0}, +/* 3 */ { 10, s_14_3, -1, 1, 0}, +/* 4 */ { 10, s_14_4, -1, 1, 0}, +/* 5 */ { 8, s_14_5, -1, 1, 0}, +/* 6 */ { 8, s_14_6, -1, 1, 0}, +/* 7 */ { 8, s_14_7, -1, 1, 0}, +/* 8 */ { 10, s_14_8, -1, 1, 0}, +/* 9 */ { 10, s_14_9, -1, 1, 0}, +/* 10 */ { 8, s_14_10, -1, 1, 0} +}; + +static const symbol s_15_0[4] = { 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_15_1[12] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_15_2[14] = { 0xCE, 0xBC, 0xCE, 0xB9, 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xB5 }; +static const symbol s_15_3[10] = { 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_15_4[12] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5 }; + +static const struct among a_15[5] = +{ +/* 0 */ { 4, s_15_0, -1, 1, 0}, +/* 1 */ { 12, s_15_1, 0, 1, 0}, +/* 2 */ { 14, s_15_2, 0, 1, 0}, +/* 3 */ { 10, s_15_3, -1, 1, 0}, +/* 4 */ { 12, s_15_4, -1, 1, 0} +}; + +static const symbol s_16_0[8] = { 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_16_1[16] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; + +static const struct among a_16[2] = +{ +/* 0 */ { 8, s_16_0, -1, 1, 0}, +/* 1 */ { 16, s_16_1, 0, 1, 0} +}; + +static const symbol s_17_0[10] = { 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x80, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_17_1[14] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB5, 0xCF, 0x80, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_17_2[14] = { 0xCE, 0xB3, 0xCE, 0xBD, 0xCF, 0x89, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_17_3[16] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xBD, 0xCF, 0x89, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_17_4[16] = { 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5, 0xCE, 0xBA, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_17_5[12] = { 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_17_6[10] = { 0xCE, 0xB5, 0xCE, 0xB8, 0xCE, 0xBD, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_17_7[14] = { 0xCE, 0xB8, 0xCE, 0xB5, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x81, 0xCE, 0xB9, 0xCE, 0xBD }; +static const symbol s_17_8[20] = { 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xB5, 0xCE, 0xBE, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB4, 0xCF, 0x81, 0xCE, 0xB9, 0xCE, 0xBD }; +static const symbol s_17_9[16] = { 0xCE, 0xB2, 0xCF, 0x85, 0xCE, 0xB6, 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xBD }; + +static const struct among a_17[10] = +{ +/* 0 */ { 10, s_17_0, -1, 7, 0}, +/* 1 */ { 14, s_17_1, -1, 6, 0}, +/* 2 */ { 14, s_17_2, -1, 3, 0}, +/* 3 */ { 16, s_17_3, 2, 1, 0}, +/* 4 */ { 16, s_17_4, -1, 5, 0}, +/* 5 */ { 12, s_17_5, -1, 2, 0}, +/* 6 */ { 10, s_17_6, -1, 4, 0}, +/* 7 */ { 14, s_17_7, -1, 10, 0}, +/* 8 */ { 20, s_17_8, -1, 8, 0}, +/* 9 */ { 16, s_17_9, -1, 9, 0} +}; + +static const symbol s_18_0[12] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_18_1[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_18_2[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_18_3[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBC, 0xCE, 0xBF, 0xCE, 0xB9 }; +static const symbol s_18_4[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBC, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_18_5[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBC, 0xCE, 0xBF }; + +static const struct among a_18[6] = +{ +/* 0 */ { 12, s_18_0, -1, 1, 0}, +/* 1 */ { 10, s_18_1, -1, 1, 0}, +/* 2 */ { 10, s_18_2, -1, 1, 0}, +/* 3 */ { 10, s_18_3, -1, 1, 0}, +/* 4 */ { 10, s_18_4, -1, 1, 0}, +/* 5 */ { 8, s_18_5, -1, 1, 0} +}; + +static const symbol s_19_0[2] = { 0xCF, 0x83 }; +static const symbol s_19_1[2] = { 0xCF, 0x87 }; + +static const struct among a_19[2] = +{ +/* 0 */ { 2, s_19_0, -1, 1, 0}, +/* 1 */ { 2, s_19_1, -1, 1, 0} +}; + +static const symbol s_20_0[12] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_20_1[14] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_20_2[10] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9 }; +static const symbol s_20_3[12] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9 }; + +static const struct among a_20[4] = +{ +/* 0 */ { 12, s_20_0, -1, 1, 0}, +/* 1 */ { 14, s_20_1, -1, 1, 0}, +/* 2 */ { 10, s_20_2, -1, 1, 0}, +/* 3 */ { 12, s_20_3, -1, 1, 0} +}; + +static const symbol s_21_0[12] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_21_1[2] = { 0xCF, 0x81 }; +static const symbol s_21_2[4] = { 0xCE, 0xB2, 0xCF, 0x81 }; +static const symbol s_21_3[8] = { 0xCE, 0xBB, 0xCE, 0xB1, 0xCE, 0xB2, 0xCF, 0x81 }; +static const symbol s_21_4[8] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB2, 0xCF, 0x81 }; +static const symbol s_21_5[6] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_21_6[8] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB8, 0xCF, 0x81 }; +static const symbol s_21_7[6] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_21_8[2] = { 0xCF, 0x83 }; +static const symbol s_21_9[12] = { 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_21_10[10] = { 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_21_11[4] = { 0xCF, 0x81, 0xCF, 0x85 }; +static const symbol s_21_12[2] = { 0xCF, 0x86 }; +static const symbol s_21_13[4] = { 0xCF, 0x83, 0xCF, 0x86 }; +static const symbol s_21_14[10] = { 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x86 }; +static const symbol s_21_15[2] = { 0xCF, 0x87 }; +static const symbol s_21_16[8] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB2 }; +static const symbol s_21_17[8] = { 0xCF, 0x83, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB2 }; +static const symbol s_21_18[18] = { 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x87, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB2 }; +static const symbol s_21_19[4] = { 0xCF, 0x84, 0xCE, 0xB6 }; +static const symbol s_21_20[2] = { 0xCE, 0xBA }; +static const symbol s_21_21[4] = { 0xCF, 0x83, 0xCE, 0xBA }; +static const symbol s_21_22[10] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xBA }; +static const symbol s_21_23[6] = { 0xCF, 0x83, 0xCE, 0xBF, 0xCE, 0xBA }; +static const symbol s_21_24[4] = { 0xCF, 0x80, 0xCE, 0xBB }; +static const symbol s_21_25[6] = { 0xCF, 0x86, 0xCF, 0x85, 0xCE, 0xBB }; +static const symbol s_21_26[8] = { 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB }; +static const symbol s_21_27[6] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_21_28[8] = { 0xCF, 0x86, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBC }; +static const symbol s_21_29[8] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB9, 0xCE, 0xBC }; +static const symbol s_21_30[8] = { 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xBC }; +static const symbol s_21_31[8] = { 0xCF, 0x83, 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_21_32[6] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCE, 0xBD }; + +static const struct among a_21[33] = +{ +/* 0 */ { 12, s_21_0, -1, 1, 0}, +/* 1 */ { 2, s_21_1, -1, 1, 0}, +/* 2 */ { 4, s_21_2, 1, 1, 0}, +/* 3 */ { 8, s_21_3, 2, 1, 0}, +/* 4 */ { 8, s_21_4, 2, 1, 0}, +/* 5 */ { 6, s_21_5, 1, 1, 0}, +/* 6 */ { 8, s_21_6, 1, 1, 0}, +/* 7 */ { 6, s_21_7, 1, 1, 0}, +/* 8 */ { 2, s_21_8, -1, 1, 0}, +/* 9 */ { 12, s_21_9, 8, 1, 0}, +/* 10 */ { 10, s_21_10, -1, 1, 0}, +/* 11 */ { 4, s_21_11, -1, 1, 0}, +/* 12 */ { 2, s_21_12, -1, 1, 0}, +/* 13 */ { 4, s_21_13, 12, 1, 0}, +/* 14 */ { 10, s_21_14, 13, 1, 0}, +/* 15 */ { 2, s_21_15, -1, 1, 0}, +/* 16 */ { 8, s_21_16, -1, 1, 0}, +/* 17 */ { 8, s_21_17, -1, 1, 0}, +/* 18 */ { 18, s_21_18, 17, 1, 0}, +/* 19 */ { 4, s_21_19, -1, 1, 0}, +/* 20 */ { 2, s_21_20, -1, 1, 0}, +/* 21 */ { 4, s_21_21, 20, 1, 0}, +/* 22 */ { 10, s_21_22, 20, 1, 0}, +/* 23 */ { 6, s_21_23, 20, 1, 0}, +/* 24 */ { 4, s_21_24, -1, 1, 0}, +/* 25 */ { 6, s_21_25, -1, 1, 0}, +/* 26 */ { 8, s_21_26, -1, 1, 0}, +/* 27 */ { 6, s_21_27, -1, 1, 0}, +/* 28 */ { 8, s_21_28, -1, 1, 0}, +/* 29 */ { 8, s_21_29, -1, 1, 0}, +/* 30 */ { 8, s_21_30, -1, 1, 0}, +/* 31 */ { 8, s_21_31, -1, 1, 0}, +/* 32 */ { 6, s_21_32, -1, 1, 0} +}; + +static const symbol s_22_0[2] = { 0xCF, 0x80 }; +static const symbol s_22_1[10] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_22_2[6] = { 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_22_3[6] = { 0xCE, 0xBD, 0xCF, 0x85, 0xCF, 0x86 }; +static const symbol s_22_4[2] = { 0xCE, 0xB2 }; +static const symbol s_22_5[8] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB4 }; +static const symbol s_22_6[2] = { 0xCE, 0xB6 }; +static const symbol s_22_7[4] = { 0xCF, 0x83, 0xCE, 0xBA }; +static const symbol s_22_8[6] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_22_9[4] = { 0xCE, 0xB3, 0xCE, 0xBB }; +static const symbol s_22_10[12] = { 0xCF, 0x84, 0xCF, 0x81, 0xCE, 0xB9, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBB }; +static const symbol s_22_11[12] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBA, 0xCF, 0x81, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_22_12[8] = { 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_22_13[14] = { 0xCE, 0xB7, 0xCE, 0xB3, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB5, 0xCE, 0xBD }; +static const symbol s_22_14[6] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCE, 0xBD }; + +static const struct among a_22[15] = +{ +/* 0 */ { 2, s_22_0, -1, 1, 0}, +/* 1 */ { 10, s_22_1, -1, 1, 0}, +/* 2 */ { 6, s_22_2, -1, 1, 0}, +/* 3 */ { 6, s_22_3, -1, 1, 0}, +/* 4 */ { 2, s_22_4, -1, 1, 0}, +/* 5 */ { 8, s_22_5, -1, 1, 0}, +/* 6 */ { 2, s_22_6, -1, 1, 0}, +/* 7 */ { 4, s_22_7, -1, 1, 0}, +/* 8 */ { 6, s_22_8, -1, 1, 0}, +/* 9 */ { 4, s_22_9, -1, 1, 0}, +/* 10 */ { 12, s_22_10, -1, 1, 0}, +/* 11 */ { 12, s_22_11, -1, 1, 0}, +/* 12 */ { 8, s_22_12, -1, 1, 0}, +/* 13 */ { 14, s_22_13, -1, 1, 0}, +/* 14 */ { 6, s_22_14, -1, 1, 0} +}; + +static const symbol s_23_0[10] = { 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_23_1[10] = { 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_23_2[8] = { 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB1 }; +static const symbol s_23_3[8] = { 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_23_4[12] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_23_5[6] = { 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9 }; +static const symbol s_23_6[10] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB9 }; +static const symbol s_23_7[10] = { 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x83, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_23[8] = +{ +/* 0 */ { 10, s_23_0, -1, 1, 0}, +/* 1 */ { 10, s_23_1, -1, 1, 0}, +/* 2 */ { 8, s_23_2, -1, 1, 0}, +/* 3 */ { 8, s_23_3, -1, 1, 0}, +/* 4 */ { 12, s_23_4, 3, 1, 0}, +/* 5 */ { 6, s_23_5, -1, 1, 0}, +/* 6 */ { 10, s_23_6, 5, 1, 0}, +/* 7 */ { 10, s_23_7, -1, 1, 0} +}; + +static const symbol s_24_0[4] = { 0xCE, 0xB9, 0xCF, 0x81 }; +static const symbol s_24_1[6] = { 0xCF, 0x88, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_24_2[8] = { 0xCE, 0xB1, 0xCE, 0xB9, 0xCF, 0x86, 0xCE, 0xBD }; +static const symbol s_24_3[6] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF }; + +static const struct among a_24[4] = +{ +/* 0 */ { 4, s_24_0, -1, 1, 0}, +/* 1 */ { 6, s_24_1, -1, 1, 0}, +/* 2 */ { 8, s_24_2, -1, 1, 0}, +/* 3 */ { 6, s_24_3, -1, 1, 0} +}; + +static const symbol s_25_0[2] = { 0xCE, 0xB5 }; +static const symbol s_25_1[10] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xB9, 0xCF, 0x87, 0xCE, 0xBD }; + +static const struct among a_25[2] = +{ +/* 0 */ { 2, s_25_0, -1, 1, 0}, +/* 1 */ { 10, s_25_1, -1, 1, 0} +}; + +static const symbol s_26_0[8] = { 0xCE, 0xB9, 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_26_1[10] = { 0xCE, 0xB9, 0xCE, 0xB4, 0xCE, 0xB9, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_26_2[8] = { 0xCE, 0xB9, 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xBF }; + +static const struct among a_26[3] = +{ +/* 0 */ { 8, s_26_0, -1, 1, 0}, +/* 1 */ { 10, s_26_1, -1, 1, 0}, +/* 2 */ { 8, s_26_2, -1, 1, 0} +}; + +static const symbol s_27_0[2] = { 0xCF, 0x81 }; +static const symbol s_27_1[4] = { 0xCE, 0xB9, 0xCE, 0xB2 }; +static const symbol s_27_2[2] = { 0xCE, 0xB4 }; +static const symbol s_27_3[6] = { 0xCE, 0xBB, 0xCF, 0x85, 0xCE, 0xBA }; +static const symbol s_27_4[10] = { 0xCF, 0x86, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xBA }; +static const symbol s_27_5[8] = { 0xCE, 0xBF, 0xCE, 0xB2, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_27_6[6] = { 0xCE, 0xBC, 0xCE, 0xB7, 0xCE, 0xBD }; + +static const struct among a_27[7] = +{ +/* 0 */ { 2, s_27_0, -1, 1, 0}, +/* 1 */ { 4, s_27_1, -1, 1, 0}, +/* 2 */ { 2, s_27_2, -1, 1, 0}, +/* 3 */ { 6, s_27_3, -1, 1, 0}, +/* 4 */ { 10, s_27_4, -1, 1, 0}, +/* 5 */ { 8, s_27_5, -1, 1, 0}, +/* 6 */ { 6, s_27_6, -1, 1, 0} +}; + +static const symbol s_28_0[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_28_1[10] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_28_2[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB5 }; +static const symbol s_28_3[8] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xBF }; + +static const struct among a_28[4] = +{ +/* 0 */ { 10, s_28_0, -1, 1, 0}, +/* 1 */ { 10, s_28_1, -1, 1, 0}, +/* 2 */ { 8, s_28_2, -1, 1, 0}, +/* 3 */ { 8, s_28_3, -1, 1, 0} +}; + +static const symbol s_29_0[8] = { 0xCE, 0xB1, 0xCE, 0xB4, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_29_1[8] = { 0xCE, 0xB1, 0xCE, 0xB4, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_29[2] = +{ +/* 0 */ { 8, s_29_0, -1, 1, 0}, +/* 1 */ { 8, s_29_1, -1, 1, 0} +}; + +static const symbol s_30_0[10] = { 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x80 }; +static const symbol s_30_1[6] = { 0xCE, 0xBA, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_30_2[10] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_30_3[10] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCE, 0xB8, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_30_4[10] = { 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_30_5[10] = { 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9 }; +static const symbol s_30_6[6] = { 0xCE, 0xB8, 0xCE, 0xB5, 0xCE, 0xB9 }; +static const symbol s_30_7[4] = { 0xCE, 0xBF, 0xCE, 0xBA }; +static const symbol s_30_8[6] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_30_9[6] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBD }; + +static const struct among a_30[10] = +{ +/* 0 */ { 10, s_30_0, -1, -1, 0}, +/* 1 */ { 6, s_30_1, -1, -1, 0}, +/* 2 */ { 10, s_30_2, -1, -1, 0}, +/* 3 */ { 10, s_30_3, -1, -1, 0}, +/* 4 */ { 10, s_30_4, -1, -1, 0}, +/* 5 */ { 10, s_30_5, -1, -1, 0}, +/* 6 */ { 6, s_30_6, -1, -1, 0}, +/* 7 */ { 4, s_30_7, -1, -1, 0}, +/* 8 */ { 6, s_30_8, -1, -1, 0}, +/* 9 */ { 6, s_30_9, -1, -1, 0} +}; + +static const symbol s_31_0[8] = { 0xCE, 0xB5, 0xCE, 0xB4, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_31_1[8] = { 0xCE, 0xB5, 0xCE, 0xB4, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_31[2] = +{ +/* 0 */ { 8, s_31_0, -1, 1, 0}, +/* 1 */ { 8, s_31_1, -1, 1, 0} +}; + +static const symbol s_32_0[10] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x80 }; +static const symbol s_32_1[4] = { 0xCF, 0x85, 0xCF, 0x80 }; +static const symbol s_32_2[6] = { 0xCE, 0xB4, 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_32_3[6] = { 0xCE, 0xB3, 0xCE, 0xB7, 0xCF, 0x80 }; +static const symbol s_32_4[4] = { 0xCE, 0xB9, 0xCF, 0x80 }; +static const symbol s_32_5[6] = { 0xCE, 0xB5, 0xCE, 0xBC, 0xCF, 0x80 }; +static const symbol s_32_6[4] = { 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_32_7[6] = { 0xCE, 0xBC, 0xCE, 0xB9, 0xCE, 0xBB }; + +static const struct among a_32[8] = +{ +/* 0 */ { 10, s_32_0, -1, 1, 0}, +/* 1 */ { 4, s_32_1, -1, 1, 0}, +/* 2 */ { 6, s_32_2, -1, 1, 0}, +/* 3 */ { 6, s_32_3, -1, 1, 0}, +/* 4 */ { 4, s_32_4, -1, 1, 0}, +/* 5 */ { 6, s_32_5, -1, 1, 0}, +/* 6 */ { 4, s_32_6, -1, 1, 0}, +/* 7 */ { 6, s_32_7, -1, 1, 0} +}; + +static const symbol s_33_0[10] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB4, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_33_1[10] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB4, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_33[2] = +{ +/* 0 */ { 10, s_33_0, -1, 1, 0}, +/* 1 */ { 10, s_33_1, -1, 1, 0} +}; + +static const symbol s_34_0[4] = { 0xCF, 0x83, 0xCF, 0x80 }; +static const symbol s_34_1[4] = { 0xCF, 0x86, 0xCF, 0x81 }; +static const symbol s_34_2[2] = { 0xCF, 0x83 }; +static const symbol s_34_3[6] = { 0xCE, 0xBB, 0xCE, 0xB9, 0xCF, 0x87 }; +static const symbol s_34_4[8] = { 0xCF, 0x84, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_34_5[4] = { 0xCF, 0x86, 0xCE, 0xB5 }; +static const symbol s_34_6[6] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBA }; +static const symbol s_34_7[4] = { 0xCF, 0x83, 0xCE, 0xBA }; +static const symbol s_34_8[12] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xB1, 0xCE, 0xBA }; +static const symbol s_34_9[8] = { 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB }; +static const symbol s_34_10[4] = { 0xCF, 0x86, 0xCE, 0xBB }; +static const symbol s_34_11[10] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_34_12[6] = { 0xCE, 0xB2, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_34_13[4] = { 0xCF, 0x87, 0xCE, 0xBD }; +static const symbol s_34_14[8] = { 0xCF, 0x80, 0xCE, 0xBB, 0xCE, 0xB5, 0xCE, 0xBE }; + +static const struct among a_34[15] = +{ +/* 0 */ { 4, s_34_0, -1, 1, 0}, +/* 1 */ { 4, s_34_1, -1, 1, 0}, +/* 2 */ { 2, s_34_2, -1, 1, 0}, +/* 3 */ { 6, s_34_3, -1, 1, 0}, +/* 4 */ { 8, s_34_4, -1, 1, 0}, +/* 5 */ { 4, s_34_5, -1, 1, 0}, +/* 6 */ { 6, s_34_6, -1, 1, 0}, +/* 7 */ { 4, s_34_7, -1, 1, 0}, +/* 8 */ { 12, s_34_8, -1, 1, 0}, +/* 9 */ { 8, s_34_9, -1, 1, 0}, +/* 10 */ { 4, s_34_10, -1, 1, 0}, +/* 11 */ { 10, s_34_11, -1, 1, 0}, +/* 12 */ { 6, s_34_12, -1, 1, 0}, +/* 13 */ { 4, s_34_13, -1, 1, 0}, +/* 14 */ { 8, s_34_14, -1, 1, 0} +}; + +static const symbol s_35_0[6] = { 0xCE, 0xB5, 0xCF, 0x89, 0xCF, 0x83 }; +static const symbol s_35_1[6] = { 0xCE, 0xB5, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_35[2] = +{ +/* 0 */ { 6, s_35_0, -1, 1, 0}, +/* 1 */ { 6, s_35_1, -1, 1, 0} +}; + +static const symbol s_36_0[2] = { 0xCF, 0x80 }; +static const symbol s_36_1[6] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_36_2[2] = { 0xCE, 0xB4 }; +static const symbol s_36_3[4] = { 0xCE, 0xB9, 0xCE, 0xB4 }; +static const symbol s_36_4[2] = { 0xCE, 0xB8 }; +static const symbol s_36_5[6] = { 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_36_6[4] = { 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_36_7[2] = { 0xCE, 0xBD }; + +static const struct among a_36[8] = +{ +/* 0 */ { 2, s_36_0, -1, 1, 0}, +/* 1 */ { 6, s_36_1, -1, 1, 0}, +/* 2 */ { 2, s_36_2, -1, 1, 0}, +/* 3 */ { 4, s_36_3, 2, 1, 0}, +/* 4 */ { 2, s_36_4, -1, 1, 0}, +/* 5 */ { 6, s_36_5, -1, 1, 0}, +/* 6 */ { 4, s_36_6, -1, 1, 0}, +/* 7 */ { 2, s_36_7, -1, 1, 0} +}; + +static const symbol s_37_0[6] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_37_1[4] = { 0xCE, 0xB9, 0xCE, 0xB1 }; +static const symbol s_37_2[6] = { 0xCE, 0xB9, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_37[3] = +{ +/* 0 */ { 6, s_37_0, -1, 1, 0}, +/* 1 */ { 4, s_37_1, -1, 1, 0}, +/* 2 */ { 6, s_37_2, -1, 1, 0} +}; + +static const symbol s_38_0[8] = { 0xCE, 0xB9, 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_38_1[6] = { 0xCE, 0xB9, 0xCE, 0xBA, 0xCE, 0xB1 }; +static const symbol s_38_2[8] = { 0xCE, 0xB9, 0xCE, 0xBA, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_38_3[6] = { 0xCE, 0xB9, 0xCE, 0xBA, 0xCE, 0xBF }; + +static const struct among a_38[4] = +{ +/* 0 */ { 8, s_38_0, -1, 1, 0}, +/* 1 */ { 6, s_38_1, -1, 1, 0}, +/* 2 */ { 8, s_38_2, -1, 1, 0}, +/* 3 */ { 6, s_38_3, -1, 1, 0} +}; + +static const symbol s_39_0[8] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBB, 0xCF, 0x80 }; +static const symbol s_39_1[6] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_39_2[12] = { 0xCF, 0x80, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_39_3[8] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_39_4[8] = { 0xCF, 0x80, 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_39_5[6] = { 0xCF, 0x86, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_39_6[6] = { 0xCF, 0x87, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_39_7[8] = { 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_39_8[8] = { 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x81, 0xCF, 0x84 }; +static const symbol s_39_9[14] = { 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB9, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_39_10[6] = { 0xCE, 0xBD, 0xCE, 0xB9, 0xCF, 0x84 }; +static const symbol s_39_11[12] = { 0xCF, 0x80, 0xCE, 0xB9, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_39_12[8] = { 0xCE, 0xB5, 0xCE, 0xBE, 0xCF, 0x89, 0xCE, 0xB4 }; +static const symbol s_39_13[4] = { 0xCE, 0xB1, 0xCE, 0xB4 }; +static const symbol s_39_14[10] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB4 }; +static const symbol s_39_15[10] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1, 0xCE, 0xB4 }; +static const symbol s_39_16[10] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xB4 }; +static const symbol s_39_17[6] = { 0xCE, 0xB5, 0xCE, 0xBD, 0xCE, 0xB4 }; +static const symbol s_39_18[8] = { 0xCF, 0x85, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xB4 }; +static const symbol s_39_19[12] = { 0xCF, 0x80, 0xCF, 0x81, 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xB4 }; +static const symbol s_39_20[10] = { 0xCF, 0x86, 0xCF, 0x85, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB4 }; +static const symbol s_39_21[4] = { 0xCE, 0xB7, 0xCE, 0xB8 }; +static const symbol s_39_22[8] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB7, 0xCE, 0xB8 }; +static const symbol s_39_23[6] = { 0xCE, 0xBE, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_39_24[8] = { 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB }; +static const symbol s_39_25[4] = { 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_39_26[14] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x87, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_39_27[14] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB7, 0xCE, 0xBB }; +static const symbol s_39_28[8] = { 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBB }; +static const symbol s_39_29[8] = { 0xCE, 0xB2, 0xCF, 0x81, 0xCF, 0x89, 0xCE, 0xBC }; +static const symbol s_39_30[8] = { 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_39_31[8] = { 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_39_32[8] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_39_33[12] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xBD }; +static const symbol s_39_34[14] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5, 0xCE, 0xBB, 0xCE, 0xBD }; +static const symbol s_39_35[10] = { 0xCF, 0x86, 0xCE, 0xB9, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xBD }; + +static const struct among a_39[36] = +{ +/* 0 */ { 8, s_39_0, -1, 1, 0}, +/* 1 */ { 6, s_39_1, -1, 1, 0}, +/* 2 */ { 12, s_39_2, -1, 1, 0}, +/* 3 */ { 8, s_39_3, -1, 1, 0}, +/* 4 */ { 8, s_39_4, -1, 1, 0}, +/* 5 */ { 6, s_39_5, -1, 1, 0}, +/* 6 */ { 6, s_39_6, -1, 1, 0}, +/* 7 */ { 8, s_39_7, -1, 1, 0}, +/* 8 */ { 8, s_39_8, -1, 1, 0}, +/* 9 */ { 14, s_39_9, -1, 1, 0}, +/* 10 */ { 6, s_39_10, -1, 1, 0}, +/* 11 */ { 12, s_39_11, -1, 1, 0}, +/* 12 */ { 8, s_39_12, -1, 1, 0}, +/* 13 */ { 4, s_39_13, -1, 1, 0}, +/* 14 */ { 10, s_39_14, 13, 1, 0}, +/* 15 */ { 10, s_39_15, 13, 1, 0}, +/* 16 */ { 10, s_39_16, -1, 1, 0}, +/* 17 */ { 6, s_39_17, -1, 1, 0}, +/* 18 */ { 8, s_39_18, -1, 1, 0}, +/* 19 */ { 12, s_39_19, -1, 1, 0}, +/* 20 */ { 10, s_39_20, -1, 1, 0}, +/* 21 */ { 4, s_39_21, -1, 1, 0}, +/* 22 */ { 8, s_39_22, 21, 1, 0}, +/* 23 */ { 6, s_39_23, -1, 1, 0}, +/* 24 */ { 8, s_39_24, -1, 1, 0}, +/* 25 */ { 4, s_39_25, -1, 1, 0}, +/* 26 */ { 14, s_39_26, 25, 1, 0}, +/* 27 */ { 14, s_39_27, -1, 1, 0}, +/* 28 */ { 8, s_39_28, -1, 1, 0}, +/* 29 */ { 8, s_39_29, -1, 1, 0}, +/* 30 */ { 8, s_39_30, -1, 1, 0}, +/* 31 */ { 8, s_39_31, -1, 1, 0}, +/* 32 */ { 8, s_39_32, -1, 1, 0}, +/* 33 */ { 12, s_39_33, -1, 1, 0}, +/* 34 */ { 14, s_39_34, -1, 1, 0}, +/* 35 */ { 10, s_39_35, -1, 1, 0} +}; + +static const symbol s_40_0[12] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_40_1[10] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_40_2[10] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_40_3[10] = { 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_40_4[14] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; + +static const struct among a_40[5] = +{ +/* 0 */ { 12, s_40_0, -1, 1, 0}, +/* 1 */ { 10, s_40_1, -1, 1, 0}, +/* 2 */ { 10, s_40_2, -1, 1, 0}, +/* 3 */ { 10, s_40_3, -1, 1, 0}, +/* 4 */ { 14, s_40_4, 3, 1, 0} +}; + +static const symbol s_41_0[8] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_41_1[8] = { 0xCF, 0x80, 0xCE, 0xB9, 0xCE, 0xBA, 0xCF, 0x81 }; +static const symbol s_41_2[10] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_41_3[6] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x84 }; +static const symbol s_41_4[2] = { 0xCF, 0x87 }; +static const symbol s_41_5[6] = { 0xCF, 0x83, 0xCE, 0xB9, 0xCF, 0x87 }; +static const symbol s_41_6[8] = { 0xCE, 0xB2, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB2 }; +static const symbol s_41_7[6] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCE, 0xB8 }; +static const symbol s_41_8[6] = { 0xCE, 0xBE, 0xCE, 0xB5, 0xCE, 0xB8 }; +static const symbol s_41_9[8] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xB8 }; +static const symbol s_41_10[8] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBA }; +static const symbol s_41_11[6] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB }; + +static const struct among a_41[12] = +{ +/* 0 */ { 8, s_41_0, -1, 1, 0}, +/* 1 */ { 8, s_41_1, -1, 1, 0}, +/* 2 */ { 10, s_41_2, -1, 1, 0}, +/* 3 */ { 6, s_41_3, -1, 1, 0}, +/* 4 */ { 2, s_41_4, -1, 1, 0}, +/* 5 */ { 6, s_41_5, 4, 1, 0}, +/* 6 */ { 8, s_41_6, -1, 1, 0}, +/* 7 */ { 6, s_41_7, -1, 1, 0}, +/* 8 */ { 6, s_41_8, -1, 1, 0}, +/* 9 */ { 8, s_41_9, -1, 1, 0}, +/* 10 */ { 8, s_41_10, -1, 1, 0}, +/* 11 */ { 6, s_41_11, -1, 1, 0} +}; + +static const symbol s_42_0[4] = { 0xCF, 0x84, 0xCF, 0x81 }; +static const symbol s_42_1[4] = { 0xCF, 0x84, 0xCF, 0x83 }; + +static const struct among a_42[2] = +{ +/* 0 */ { 4, s_42_0, -1, 1, 0}, +/* 1 */ { 4, s_42_1, -1, 1, 0} +}; + +static const symbol s_43_0[12] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_1[10] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_2[14] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_3[16] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_4[12] = { 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_5[14] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_6[10] = { 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_7[12] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_8[10] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_9[10] = { 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_43_10[14] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; + +static const struct among a_43[11] = +{ +/* 0 */ { 12, s_43_0, -1, 1, 0}, +/* 1 */ { 10, s_43_1, -1, 1, 0}, +/* 2 */ { 14, s_43_2, -1, 1, 0}, +/* 3 */ { 16, s_43_3, 2, 1, 0}, +/* 4 */ { 12, s_43_4, -1, 1, 0}, +/* 5 */ { 14, s_43_5, 4, 1, 0}, +/* 6 */ { 10, s_43_6, -1, 1, 0}, +/* 7 */ { 12, s_43_7, 6, 1, 0}, +/* 8 */ { 10, s_43_8, -1, 1, 0}, +/* 9 */ { 10, s_43_9, -1, 1, 0}, +/* 10 */ { 14, s_43_10, 9, 1, 0} +}; + +static const symbol s_44_0[2] = { 0xCF, 0x80 }; +static const symbol s_44_1[4] = { 0xCF, 0x83, 0xCF, 0x80 }; +static const symbol s_44_2[14] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBB, 0xCF, 0x85, 0xCE, 0xB4, 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_44_3[8] = { 0xCE, 0xB1, 0xCE, 0xB4, 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_44_4[18] = { 0xCF, 0x87, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB7, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB4, 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_44_5[8] = { 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_44_6[6] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_44_7[12] = { 0xCF, 0x85, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_44_8[12] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x81 }; +static const symbol s_44_9[6] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_44_10[4] = { 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_44_11[10] = { 0xCE, 0xB2, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_44_12[6] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_44_13[12] = { 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB8, 0xCE, 0xB7, 0xCF, 0x81 }; +static const symbol s_44_14[12] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x81, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_44_15[2] = { 0xCF, 0x83 }; +static const symbol s_44_16[16] = { 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_44_17[6] = { 0xCE, 0xB8, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_44_18[6] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_44_19[10] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_44_20[8] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_44_21[8] = { 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_44_22[8] = { 0xCF, 0x80, 0xCE, 0xBB, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_44_23[14] = { 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBB, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_44_24[6] = { 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x84 }; +static const symbol s_44_25[12] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x81, 0xCE, 0xB9, 0xCF, 0x84 }; +static const symbol s_44_26[10] = { 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB, 0xCF, 0x84 }; +static const symbol s_44_27[8] = { 0xCE, 0xB6, 0xCF, 0x89, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_44_28[10] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xB9, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_44_29[2] = { 0xCF, 0x86 }; +static const symbol s_44_30[14] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x86 }; +static const symbol s_44_31[14] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCE, 0xB9, 0xCE, 0xBB, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x86 }; +static const symbol s_44_32[6] = { 0xCE, 0xBF, 0xCF, 0x81, 0xCF, 0x86 }; +static const symbol s_44_33[8] = { 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xB1, 0xCF, 0x86 }; +static const symbol s_44_34[8] = { 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x86 }; +static const symbol s_44_35[16] = { 0xCF, 0x86, 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x86 }; +static const symbol s_44_36[10] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB7, 0xCF, 0x86 }; +static const symbol s_44_37[12] = { 0xCF, 0x85, 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB7, 0xCF, 0x86 }; +static const symbol s_44_38[2] = { 0xCF, 0x87 }; +static const symbol s_44_39[14] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBB, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB7, 0xCF, 0x87 }; +static const symbol s_44_40[8] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB7, 0xCF, 0x87 }; +static const symbol s_44_41[12] = { 0xCE, 0xB2, 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB7, 0xCF, 0x87 }; +static const symbol s_44_42[22] = { 0xCE, 0xBC, 0xCE, 0xB9, 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xBF, 0xCE, 0xB2, 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB7, 0xCF, 0x87 }; +static const symbol s_44_43[22] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB2, 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB7, 0xCF, 0x87 }; +static const symbol s_44_44[22] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBD, 0xCE, 0xBF, 0xCE, 0xB2, 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB7, 0xCF, 0x87 }; +static const symbol s_44_45[6] = { 0xCE, 0xBB, 0xCE, 0xB9, 0xCF, 0x87 }; +static const symbol s_44_46[6] = { 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB2 }; +static const symbol s_44_47[8] = { 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB2 }; +static const symbol s_44_48[14] = { 0xCF, 0x88, 0xCE, 0xB7, 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB2 }; +static const symbol s_44_49[6] = { 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xB2 }; +static const symbol s_44_50[8] = { 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xB2 }; +static const symbol s_44_51[16] = { 0xCE, 0xBE, 0xCE, 0xB7, 0xCF, 0x81, 0xCE, 0xBF, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xB2 }; +static const symbol s_44_52[2] = { 0xCE, 0xB3 }; +static const symbol s_44_53[10] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xBF, 0xCF, 0x81, 0xCE, 0xB3 }; +static const symbol s_44_54[10] = { 0xCE, 0xB5, 0xCE, 0xBD, 0xCE, 0xBF, 0xCF, 0x81, 0xCE, 0xB3 }; +static const symbol s_44_55[4] = { 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_44_56[8] = { 0xCF, 0x84, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_44_57[8] = { 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_44_58[10] = { 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB9, 0xCE, 0xB3, 0xCE, 0xB3 }; +static const symbol s_44_59[12] = { 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB9, 0xCE, 0xB3, 0xCE, 0xB3 }; +static const symbol s_44_60[10] = { 0xCE, 0xB1, 0xCE, 0xB8, 0xCE, 0xB9, 0xCE, 0xB3, 0xCE, 0xB3 }; +static const symbol s_44_61[8] = { 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5, 0xCE, 0xB3 }; +static const symbol s_44_62[8] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB7, 0xCE, 0xB3 }; +static const symbol s_44_63[6] = { 0xCF, 0x83, 0xCE, 0xB9, 0xCE, 0xB3 }; +static const symbol s_44_64[14] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBB, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB6 }; +static const symbol s_44_65[2] = { 0xCE, 0xB8 }; +static const symbol s_44_66[12] = { 0xCE, 0xBC, 0xCF, 0x89, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5, 0xCE, 0xB8 }; +static const symbol s_44_67[6] = { 0xCF, 0x80, 0xCE, 0xB9, 0xCE, 0xB8 }; +static const symbol s_44_68[8] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB9, 0xCE, 0xB8 }; +static const symbol s_44_69[8] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCF, 0x83, 0xCE, 0xBA }; +static const symbol s_44_70[12] = { 0xCE, 0xB2, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x87, 0xCF, 0x85, 0xCE, 0xBA }; +static const symbol s_44_71[6] = { 0xCE, 0xB4, 0xCE, 0xB5, 0xCE, 0xBA }; +static const symbol s_44_72[10] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCE, 0xBB, 0xCE, 0xB5, 0xCE, 0xBA }; +static const symbol s_44_73[4] = { 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_44_74[8] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_44_75[10] = { 0xCE, 0xB2, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB, 0xCE, 0xBA }; +static const symbol s_44_76[4] = { 0xCF, 0x80, 0xCE, 0xBB }; +static const symbol s_44_77[8] = { 0xCE, 0xB4, 0xCE, 0xB9, 0xCF, 0x80, 0xCE, 0xBB }; +static const symbol s_44_78[12] = { 0xCF, 0x88, 0xCF, 0x85, 0xCF, 0x87, 0xCE, 0xBF, 0xCF, 0x80, 0xCE, 0xBB }; +static const symbol s_44_79[10] = { 0xCE, 0xBB, 0xCE, 0xB1, 0xCE, 0xBF, 0xCF, 0x80, 0xCE, 0xBB }; +static const symbol s_44_80[6] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB }; +static const symbol s_44_81[6] = { 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_44_82[14] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCE, 0xB8, 0xCF, 0x85, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_44_83[14] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_44_84[12] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_44_85[12] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_44_86[6] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_44_87[12] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x81, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xBB }; +static const symbol s_44_88[2] = { 0xCE, 0xBC }; +static const symbol s_44_89[14] = { 0xCE, 0xB4, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xB4, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC }; +static const symbol s_44_90[10] = { 0xCE, 0xB2, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x87, 0xCE, 0xBC }; +static const symbol s_44_91[16] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xB3, 0xCE, 0xBF, 0xCE, 0xB4, 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_44_92[16] = { 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB, 0xCE, 0xBC }; +static const symbol s_44_93[2] = { 0xCE, 0xBD }; +static const symbol s_44_94[16] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB9, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD }; + +static const struct among a_44[95] = +{ +/* 0 */ { 2, s_44_0, -1, 1, 0}, +/* 1 */ { 4, s_44_1, 0, 1, 0}, +/* 2 */ { 14, s_44_2, 0, 1, 0}, +/* 3 */ { 8, s_44_3, 0, 1, 0}, +/* 4 */ { 18, s_44_4, 0, 1, 0}, +/* 5 */ { 8, s_44_5, 0, 1, 0}, +/* 6 */ { 6, s_44_6, 0, 1, 0}, +/* 7 */ { 12, s_44_7, 6, 1, 0}, +/* 8 */ { 12, s_44_8, -1, 1, 0}, +/* 9 */ { 6, s_44_9, -1, 1, 0}, +/* 10 */ { 4, s_44_10, -1, 1, 0}, +/* 11 */ { 10, s_44_11, 10, 1, 0}, +/* 12 */ { 6, s_44_12, 10, 1, 0}, +/* 13 */ { 12, s_44_13, -1, 1, 0}, +/* 14 */ { 12, s_44_14, -1, 1, 0}, +/* 15 */ { 2, s_44_15, -1, 1, 0}, +/* 16 */ { 16, s_44_16, 15, 1, 0}, +/* 17 */ { 6, s_44_17, 15, 1, 0}, +/* 18 */ { 6, s_44_18, 15, 1, 0}, +/* 19 */ { 10, s_44_19, 15, 1, 0}, +/* 20 */ { 8, s_44_20, -1, 1, 0}, +/* 21 */ { 8, s_44_21, -1, 1, 0}, +/* 22 */ { 8, s_44_22, -1, 1, 0}, +/* 23 */ { 14, s_44_23, -1, 1, 0}, +/* 24 */ { 6, s_44_24, -1, 1, 0}, +/* 25 */ { 12, s_44_25, -1, 1, 0}, +/* 26 */ { 10, s_44_26, -1, 1, 0}, +/* 27 */ { 8, s_44_27, -1, 1, 0}, +/* 28 */ { 10, s_44_28, -1, 1, 0}, +/* 29 */ { 2, s_44_29, -1, 1, 0}, +/* 30 */ { 14, s_44_30, 29, 1, 0}, +/* 31 */ { 14, s_44_31, 29, 1, 0}, +/* 32 */ { 6, s_44_32, 29, 1, 0}, +/* 33 */ { 8, s_44_33, 29, 1, 0}, +/* 34 */ { 8, s_44_34, 29, 1, 0}, +/* 35 */ { 16, s_44_35, 34, 1, 0}, +/* 36 */ { 10, s_44_36, 29, 1, 0}, +/* 37 */ { 12, s_44_37, 36, 1, 0}, +/* 38 */ { 2, s_44_38, -1, 1, 0}, +/* 39 */ { 14, s_44_39, 38, 1, 0}, +/* 40 */ { 8, s_44_40, 38, 1, 0}, +/* 41 */ { 12, s_44_41, 38, 1, 0}, +/* 42 */ { 22, s_44_42, 41, 1, 0}, +/* 43 */ { 22, s_44_43, 41, 1, 0}, +/* 44 */ { 22, s_44_44, 41, 1, 0}, +/* 45 */ { 6, s_44_45, 38, 1, 0}, +/* 46 */ { 6, s_44_46, -1, 1, 0}, +/* 47 */ { 8, s_44_47, 46, 1, 0}, +/* 48 */ { 14, s_44_48, 46, 1, 0}, +/* 49 */ { 6, s_44_49, -1, 1, 0}, +/* 50 */ { 8, s_44_50, 49, 1, 0}, +/* 51 */ { 16, s_44_51, 50, 1, 0}, +/* 52 */ { 2, s_44_52, -1, 1, 0}, +/* 53 */ { 10, s_44_53, 52, 1, 0}, +/* 54 */ { 10, s_44_54, 52, 1, 0}, +/* 55 */ { 4, s_44_55, 52, 1, 0}, +/* 56 */ { 8, s_44_56, 55, 1, 0}, +/* 57 */ { 8, s_44_57, 55, 1, 0}, +/* 58 */ { 10, s_44_58, 52, 1, 0}, +/* 59 */ { 12, s_44_59, 58, 1, 0}, +/* 60 */ { 10, s_44_60, 52, 1, 0}, +/* 61 */ { 8, s_44_61, 52, 1, 0}, +/* 62 */ { 8, s_44_62, 52, 1, 0}, +/* 63 */ { 6, s_44_63, 52, 1, 0}, +/* 64 */ { 14, s_44_64, -1, 1, 0}, +/* 65 */ { 2, s_44_65, -1, 1, 0}, +/* 66 */ { 12, s_44_66, 65, 1, 0}, +/* 67 */ { 6, s_44_67, 65, 1, 0}, +/* 68 */ { 8, s_44_68, 67, 1, 0}, +/* 69 */ { 8, s_44_69, -1, 1, 0}, +/* 70 */ { 12, s_44_70, -1, 1, 0}, +/* 71 */ { 6, s_44_71, -1, 1, 0}, +/* 72 */ { 10, s_44_72, -1, 1, 0}, +/* 73 */ { 4, s_44_73, -1, 1, 0}, +/* 74 */ { 8, s_44_74, 73, 1, 0}, +/* 75 */ { 10, s_44_75, -1, 1, 0}, +/* 76 */ { 4, s_44_76, -1, 1, 0}, +/* 77 */ { 8, s_44_77, 76, 1, 0}, +/* 78 */ { 12, s_44_78, 76, 1, 0}, +/* 79 */ { 10, s_44_79, 76, 1, 0}, +/* 80 */ { 6, s_44_80, -1, 1, 0}, +/* 81 */ { 6, s_44_81, -1, 1, 0}, +/* 82 */ { 14, s_44_82, 81, 1, 0}, +/* 83 */ { 14, s_44_83, 81, 1, 0}, +/* 84 */ { 12, s_44_84, 81, 1, 0}, +/* 85 */ { 12, s_44_85, -1, 1, 0}, +/* 86 */ { 6, s_44_86, -1, 1, 0}, +/* 87 */ { 12, s_44_87, -1, 1, 0}, +/* 88 */ { 2, s_44_88, -1, 1, 0}, +/* 89 */ { 14, s_44_89, 88, 1, 0}, +/* 90 */ { 10, s_44_90, 88, 1, 0}, +/* 91 */ { 16, s_44_91, 88, 1, 0}, +/* 92 */ { 16, s_44_92, 88, 1, 0}, +/* 93 */ { 2, s_44_93, -1, 1, 0}, +/* 94 */ { 16, s_44_94, 93, 1, 0} +}; + +static const symbol s_45_0[10] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB5 }; + +static const struct among a_45[1] = +{ +/* 0 */ { 10, s_45_0, -1, 1, 0} +}; + +static const symbol s_46_0[6] = { 0xCF, 0x80, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_46_1[6] = { 0xCE, 0xB5, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_46_2[6] = { 0xCF, 0x87, 0xCF, 0x89, 0xCF, 0x81 }; +static const symbol s_46_3[6] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_46_4[4] = { 0xCE, 0xB2, 0xCF, 0x81 }; +static const symbol s_46_5[6] = { 0xCE, 0xB1, 0xCE, 0xB9, 0xCF, 0x81 }; +static const symbol s_46_6[6] = { 0xCF, 0x86, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_46_7[6] = { 0xCE, 0xBD, 0xCE, 0xB5, 0xCF, 0x84 }; +static const symbol s_46_8[4] = { 0xCF, 0x83, 0xCF, 0x87 }; +static const symbol s_46_9[8] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB4 }; +static const symbol s_46_10[6] = { 0xCE, 0xB5, 0xCE, 0xBD, 0xCE, 0xB4 }; +static const symbol s_46_11[4] = { 0xCE, 0xBF, 0xCE, 0xB4 }; +static const symbol s_46_12[10] = { 0xCF, 0x85, 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB8 }; +static const symbol s_46_13[4] = { 0xCF, 0x83, 0xCE, 0xB8 }; +static const symbol s_46_14[6] = { 0xCE, 0xB5, 0xCF, 0x85, 0xCE, 0xB8 }; +static const symbol s_46_15[6] = { 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_46_16[6] = { 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_46_17[8] = { 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_46_18[6] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_46_19[6] = { 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xB8 }; +static const symbol s_46_20[6] = { 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xB8 }; +static const symbol s_46_21[8] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB8 }; +static const symbol s_46_22[6] = { 0xCE, 0xB5, 0xCE, 0xBD, 0xCE, 0xB8 }; +static const symbol s_46_23[6] = { 0xCF, 0x81, 0xCE, 0xBF, 0xCE, 0xB8 }; +static const symbol s_46_24[6] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBA }; +static const symbol s_46_25[8] = { 0xCF, 0x89, 0xCF, 0x86, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_46_26[6] = { 0xCE, 0xB2, 0xCE, 0xBF, 0xCE, 0xBB }; +static const symbol s_46_27[6] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_46_28[6] = { 0xCE, 0xB1, 0xCE, 0xB9, 0xCE, 0xBD }; +static const symbol s_46_29[6] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBD }; +static const symbol s_46_30[6] = { 0xCF, 0x81, 0xCE, 0xBF, 0xCE, 0xBD }; + +static const struct among a_46[31] = +{ +/* 0 */ { 6, s_46_0, -1, 1, 0}, +/* 1 */ { 6, s_46_1, -1, 1, 0}, +/* 2 */ { 6, s_46_2, -1, 1, 0}, +/* 3 */ { 6, s_46_3, -1, 1, 0}, +/* 4 */ { 4, s_46_4, -1, 1, 0}, +/* 5 */ { 6, s_46_5, -1, 1, 0}, +/* 6 */ { 6, s_46_6, -1, 1, 0}, +/* 7 */ { 6, s_46_7, -1, 1, 0}, +/* 8 */ { 4, s_46_8, -1, 1, 0}, +/* 9 */ { 8, s_46_9, -1, 1, 0}, +/* 10 */ { 6, s_46_10, -1, 1, 0}, +/* 11 */ { 4, s_46_11, -1, 1, 0}, +/* 12 */ { 10, s_46_12, -1, 1, 0}, +/* 13 */ { 4, s_46_13, -1, 1, 0}, +/* 14 */ { 6, s_46_14, -1, 1, 0}, +/* 15 */ { 6, s_46_15, -1, 1, 0}, +/* 16 */ { 6, s_46_16, -1, 1, 0}, +/* 17 */ { 8, s_46_17, -1, 1, 0}, +/* 18 */ { 6, s_46_18, -1, 1, 0}, +/* 19 */ { 6, s_46_19, -1, 1, 0}, +/* 20 */ { 6, s_46_20, -1, 1, 0}, +/* 21 */ { 8, s_46_21, -1, 1, 0}, +/* 22 */ { 6, s_46_22, -1, 1, 0}, +/* 23 */ { 6, s_46_23, -1, 1, 0}, +/* 24 */ { 6, s_46_24, -1, 1, 0}, +/* 25 */ { 8, s_46_25, -1, 1, 0}, +/* 26 */ { 6, s_46_26, -1, 1, 0}, +/* 27 */ { 6, s_46_27, -1, 1, 0}, +/* 28 */ { 6, s_46_28, -1, 1, 0}, +/* 29 */ { 6, s_46_29, -1, 1, 0}, +/* 30 */ { 6, s_46_30, -1, 1, 0} +}; + +static const symbol s_47_0[8] = { 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x81, 0xCF, 0x80 }; +static const symbol s_47_1[6] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_47_2[8] = { 0xCE, 0xB8, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x81 }; +static const symbol s_47_3[6] = { 0xCE, 0xBD, 0xCF, 0x84, 0xCF, 0x81 }; +static const symbol s_47_4[8] = { 0xCE, 0xB1, 0xCE, 0xB2, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_47_5[8] = { 0xCE, 0xB5, 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_47_6[6] = { 0xCE, 0xB1, 0xCE, 0xB2, 0xCF, 0x81 }; +static const symbol s_47_7[8] = { 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_47_8[2] = { 0xCF, 0x85 }; +static const symbol s_47_9[8] = { 0xCF, 0x83, 0xCF, 0x85, 0xCF, 0x81, 0xCF, 0x86 }; +static const symbol s_47_10[6] = { 0xCE, 0xBD, 0xCE, 0xB9, 0xCF, 0x86 }; +static const symbol s_47_11[6] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_47_12[2] = { 0xCE, 0xB4 }; +static const symbol s_47_13[4] = { 0xCE, 0xB1, 0xCE, 0xB4 }; +static const symbol s_47_14[2] = { 0xCE, 0xB8 }; +static const symbol s_47_15[4] = { 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_47_16[4] = { 0xCF, 0x83, 0xCE, 0xBA }; +static const symbol s_47_17[6] = { 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xBA }; +static const symbol s_47_18[6] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBB }; +static const symbol s_47_19[14] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_47_20[8] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_47_21[4] = { 0xCE, 0xB5, 0xCE, 0xBC }; +static const symbol s_47_22[4] = { 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_47_23[6] = { 0xCE, 0xB2, 0xCE, 0xB5, 0xCE, 0xBD }; +static const symbol s_47_24[10] = { 0xCE, 0xB2, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBF, 0xCE, 0xBD }; + +static const struct among a_47[25] = +{ +/* 0 */ { 8, s_47_0, -1, 1, 0}, +/* 1 */ { 6, s_47_1, -1, 1, 0}, +/* 2 */ { 8, s_47_2, -1, 1, 0}, +/* 3 */ { 6, s_47_3, -1, 1, 0}, +/* 4 */ { 8, s_47_4, -1, 1, 0}, +/* 5 */ { 8, s_47_5, -1, 1, 0}, +/* 6 */ { 6, s_47_6, -1, 1, 0}, +/* 7 */ { 8, s_47_7, -1, 1, 0}, +/* 8 */ { 2, s_47_8, -1, 1, 0}, +/* 9 */ { 8, s_47_9, -1, 1, 0}, +/* 10 */ { 6, s_47_10, -1, 1, 0}, +/* 11 */ { 6, s_47_11, -1, 1, 0}, +/* 12 */ { 2, s_47_12, -1, 1, 0}, +/* 13 */ { 4, s_47_13, 12, 1, 0}, +/* 14 */ { 2, s_47_14, -1, 1, 0}, +/* 15 */ { 4, s_47_15, 14, 1, 0}, +/* 16 */ { 4, s_47_16, -1, 1, 0}, +/* 17 */ { 6, s_47_17, -1, 1, 0}, +/* 18 */ { 6, s_47_18, -1, 1, 0}, +/* 19 */ { 14, s_47_19, -1, 1, 0}, +/* 20 */ { 8, s_47_20, -1, 1, 0}, +/* 21 */ { 4, s_47_21, -1, 1, 0}, +/* 22 */ { 4, s_47_22, -1, 1, 0}, +/* 23 */ { 6, s_47_23, -1, 1, 0}, +/* 24 */ { 10, s_47_24, -1, 1, 0} +}; + +static const symbol s_48_0[10] = { 0xCF, 0x89, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_48_1[10] = { 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x83 }; + +static const struct among a_48[2] = +{ +/* 0 */ { 10, s_48_0, -1, 1, 0}, +/* 1 */ { 10, s_48_1, -1, 1, 0} +}; + +static const symbol s_49_0[12] = { 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_49_1[14] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; + +static const struct among a_49[2] = +{ +/* 0 */ { 12, s_49_0, -1, 1, 0}, +/* 1 */ { 14, s_49_1, 0, 1, 0} +}; + +static const symbol s_50_0[2] = { 0xCF, 0x80 }; +static const symbol s_50_1[4] = { 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_50_2[12] = { 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x80 }; +static const symbol s_50_3[8] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBC, 0xCF, 0x80 }; +static const symbol s_50_4[10] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBC, 0xCF, 0x80 }; +static const symbol s_50_5[14] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x86 }; + +static const struct among a_50[6] = +{ +/* 0 */ { 2, s_50_0, -1, 1, 0}, +/* 1 */ { 4, s_50_1, 0, 1, 0}, +/* 2 */ { 12, s_50_2, 1, 1, 0}, +/* 3 */ { 8, s_50_3, 0, 1, 0}, +/* 4 */ { 10, s_50_4, 3, 1, 0}, +/* 5 */ { 14, s_50_5, -1, 1, 0} +}; + +static const symbol s_51_0[4] = { 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_51_1[6] = { 0xCE, 0xBD, 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_51_2[2] = { 0xCE, 0xB6 }; +static const symbol s_51_3[4] = { 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_51_4[14] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_51_5[10] = { 0xCE, 0xB5, 0xCE, 0xBA, 0xCF, 0x84, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_51_6[2] = { 0xCE, 0xBC }; +static const symbol s_51_7[2] = { 0xCE, 0xBE }; +static const symbol s_51_8[6] = { 0xCF, 0x80, 0xCF, 0x81, 0xCE, 0xBF }; + +static const struct among a_51[9] = +{ +/* 0 */ { 4, s_51_0, -1, 1, 0}, +/* 1 */ { 6, s_51_1, -1, 1, 0}, +/* 2 */ { 2, s_51_2, -1, 1, 0}, +/* 3 */ { 4, s_51_3, -1, 1, 0}, +/* 4 */ { 14, s_51_4, 3, 1, 0}, +/* 5 */ { 10, s_51_5, -1, 1, 0}, +/* 6 */ { 2, s_51_6, -1, 1, 0}, +/* 7 */ { 2, s_51_7, -1, 1, 0}, +/* 8 */ { 6, s_51_8, -1, 1, 0} +}; + +static const symbol s_52_0[12] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_52_1[10] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1 }; +static const symbol s_52_2[10] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB5 }; + +static const struct among a_52[3] = +{ +/* 0 */ { 12, s_52_0, -1, 1, 0}, +/* 1 */ { 10, s_52_1, -1, 1, 0}, +/* 2 */ { 10, s_52_2, -1, 1, 0} +}; + +static const symbol s_53_0[4] = { 0xCF, 0x83, 0xCF, 0x86 }; +static const symbol s_53_1[8] = { 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB8 }; +static const symbol s_53_2[6] = { 0xCF, 0x80, 0xCE, 0xB9, 0xCE, 0xB8 }; +static const symbol s_53_3[4] = { 0xCE, 0xBF, 0xCE, 0xB8 }; +static const symbol s_53_4[10] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB }; +static const symbol s_53_5[8] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCF, 0x89, 0xCE, 0xBB }; + +static const struct among a_53[6] = +{ +/* 0 */ { 4, s_53_0, -1, 1, 0}, +/* 1 */ { 8, s_53_1, -1, 1, 0}, +/* 2 */ { 6, s_53_2, -1, 1, 0}, +/* 3 */ { 4, s_53_3, -1, 1, 0}, +/* 4 */ { 10, s_53_4, -1, 1, 0}, +/* 5 */ { 8, s_53_5, -1, 1, 0} +}; + +static const symbol s_54_0[2] = { 0xCE, 0xB8 }; +static const symbol s_54_1[10] = { 0xCF, 0x80, 0xCF, 0x81, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xB8 }; +static const symbol s_54_2[18] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_54_3[8] = { 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xB1, 0xCE, 0xB8 }; +static const symbol s_54_4[8] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB8 }; + +static const struct among a_54[5] = +{ +/* 0 */ { 2, s_54_0, -1, 1, 0}, +/* 1 */ { 10, s_54_1, 0, 1, 0}, +/* 2 */ { 18, s_54_2, 0, 1, 0}, +/* 3 */ { 8, s_54_3, 0, 1, 0}, +/* 4 */ { 8, s_54_4, 0, 1, 0} +}; + +static const symbol s_55_0[8] = { 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_55_1[6] = { 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1 }; +static const symbol s_55_2[6] = { 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB5 }; + +static const struct among a_55[3] = +{ +/* 0 */ { 8, s_55_0, -1, 1, 0}, +/* 1 */ { 6, s_55_1, -1, 1, 0}, +/* 2 */ { 6, s_55_2, -1, 1, 0} +}; + +static const symbol s_56_0[8] = { 0xCE, 0xB2, 0xCE, 0xBB, 0xCE, 0xB5, 0xCF, 0x80 }; +static const symbol s_56_1[10] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xB4, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_56_2[8] = { 0xCF, 0x80, 0xCF, 0x81, 0xCF, 0x89, 0xCF, 0x84 }; +static const symbol s_56_3[10] = { 0xCE, 0xBA, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_56_4[12] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x87 }; +static const symbol s_56_5[6] = { 0xCE, 0xBB, 0xCE, 0xB1, 0xCF, 0x87 }; +static const symbol s_56_6[6] = { 0xCF, 0x86, 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_56_7[6] = { 0xCE, 0xBB, 0xCE, 0xB7, 0xCE, 0xB3 }; +static const symbol s_56_8[8] = { 0xCF, 0x86, 0xCF, 0x81, 0xCF, 0x85, 0xCE, 0xB4 }; +static const symbol s_56_9[12] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB9, 0xCE, 0xBB }; +static const symbol s_56_10[8] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xBB }; +static const symbol s_56_11[4] = { 0xCE, 0xBF, 0xCE, 0xBC }; + +static const struct among a_56[12] = +{ +/* 0 */ { 8, s_56_0, -1, 1, 0}, +/* 1 */ { 10, s_56_1, -1, 1, 0}, +/* 2 */ { 8, s_56_2, -1, 1, 0}, +/* 3 */ { 10, s_56_3, -1, 1, 0}, +/* 4 */ { 12, s_56_4, -1, 1, 0}, +/* 5 */ { 6, s_56_5, -1, 1, 0}, +/* 6 */ { 6, s_56_6, -1, 1, 0}, +/* 7 */ { 6, s_56_7, -1, 1, 0}, +/* 8 */ { 8, s_56_8, -1, 1, 0}, +/* 9 */ { 12, s_56_9, -1, 1, 0}, +/* 10 */ { 8, s_56_10, -1, 1, 0}, +/* 11 */ { 4, s_56_11, -1, 1, 0} +}; + +static const symbol s_57_0[10] = { 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB9, 0xCF, 0x80 }; +static const symbol s_57_1[2] = { 0xCF, 0x81 }; +static const symbol s_57_2[10] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x81 }; +static const symbol s_57_3[16] = { 0xCE, 0xB5, 0xCE, 0xBD, 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xB1, 0xCF, 0x86, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_57_4[6] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_57_5[14] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB5, 0xCF, 0x85 }; +static const symbol s_57_6[16] = { 0xCE, 0xB4, 0xCE, 0xB5, 0xCF, 0x85, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB5, 0xCF, 0x85 }; +static const symbol s_57_7[6] = { 0xCE, 0xBB, 0xCE, 0xB5, 0xCF, 0x87 }; +static const symbol s_57_8[6] = { 0xCF, 0x84, 0xCF, 0x83, 0xCE, 0xB1 }; +static const symbol s_57_9[6] = { 0xCF, 0x87, 0xCE, 0xB1, 0xCE, 0xB4 }; +static const symbol s_57_10[6] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCE, 0xB4 }; +static const symbol s_57_11[12] = { 0xCE, 0xBB, 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x80, 0xCE, 0xB9, 0xCE, 0xB4 }; +static const symbol s_57_12[4] = { 0xCE, 0xB4, 0xCE, 0xB5 }; +static const symbol s_57_13[6] = { 0xCF, 0x80, 0xCE, 0xBB, 0xCE, 0xB5 }; +static const symbol s_57_14[10] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xB6 }; +static const symbol s_57_15[12] = { 0xCE, 0xB4, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xB6 }; +static const symbol s_57_16[6] = { 0xCE, 0xB1, 0xCE, 0xB9, 0xCE, 0xB8 }; +static const symbol s_57_17[12] = { 0xCF, 0x86, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBA }; +static const symbol s_57_18[6] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xBA }; +static const symbol s_57_19[8] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB7, 0xCE, 0xBA }; +static const symbol s_57_20[2] = { 0xCE, 0xBB }; +static const symbol s_57_21[2] = { 0xCE, 0xBC }; +static const symbol s_57_22[4] = { 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_57_23[8] = { 0xCE, 0xB2, 0xCF, 0x81, 0xCE, 0xBF, 0xCE, 0xBC }; +static const symbol s_57_24[14] = { 0xCF, 0x85, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB5, 0xCE, 0xB9, 0xCE, 0xBD }; + +static const struct among a_57[25] = +{ +/* 0 */ { 10, s_57_0, -1, 1, 0}, +/* 1 */ { 2, s_57_1, -1, 1, 0}, +/* 2 */ { 10, s_57_2, 1, 1, 0}, +/* 3 */ { 16, s_57_3, 1, 1, 0}, +/* 4 */ { 6, s_57_4, -1, 1, 0}, +/* 5 */ { 14, s_57_5, -1, 1, 0}, +/* 6 */ { 16, s_57_6, -1, 1, 0}, +/* 7 */ { 6, s_57_7, -1, 1, 0}, +/* 8 */ { 6, s_57_8, -1, 1, 0}, +/* 9 */ { 6, s_57_9, -1, 1, 0}, +/* 10 */ { 6, s_57_10, -1, 1, 0}, +/* 11 */ { 12, s_57_11, -1, 1, 0}, +/* 12 */ { 4, s_57_12, -1, 1, 0}, +/* 13 */ { 6, s_57_13, -1, 1, 0}, +/* 14 */ { 10, s_57_14, -1, 1, 0}, +/* 15 */ { 12, s_57_15, -1, 1, 0}, +/* 16 */ { 6, s_57_16, -1, 1, 0}, +/* 17 */ { 12, s_57_17, -1, 1, 0}, +/* 18 */ { 6, s_57_18, -1, 1, 0}, +/* 19 */ { 8, s_57_19, -1, 1, 0}, +/* 20 */ { 2, s_57_20, -1, 1, 0}, +/* 21 */ { 2, s_57_21, -1, 1, 0}, +/* 22 */ { 4, s_57_22, 21, 1, 0}, +/* 23 */ { 8, s_57_23, 21, 1, 0}, +/* 24 */ { 14, s_57_24, -1, 1, 0} +}; + +static const symbol s_58_0[10] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_58_1[8] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB1 }; +static const symbol s_58_2[8] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB5 }; + +static const struct among a_58[3] = +{ +/* 0 */ { 10, s_58_0, -1, 1, 0}, +/* 1 */ { 8, s_58_1, -1, 1, 0}, +/* 2 */ { 8, s_58_2, -1, 1, 0} +}; + +static const symbol s_59_0[6] = { 0xCF, 0x88, 0xCE, 0xBF, 0xCF, 0x86 }; +static const symbol s_59_1[12] = { 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x85, 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x87 }; + +static const struct among a_59[2] = +{ +/* 0 */ { 6, s_59_0, -1, -1, 0}, +/* 1 */ { 12, s_59_1, -1, -1, 0} +}; + +static const symbol s_60_0[4] = { 0xCF, 0x81, 0xCF, 0x80 }; +static const symbol s_60_1[4] = { 0xCF, 0x80, 0xCF, 0x81 }; +static const symbol s_60_2[4] = { 0xCF, 0x86, 0xCF, 0x81 }; +static const symbol s_60_3[8] = { 0xCF, 0x87, 0xCE, 0xBF, 0xCF, 0x81, 0xCF, 0x84 }; +static const symbol s_60_4[4] = { 0xCF, 0x83, 0xCF, 0x86 }; +static const symbol s_60_5[4] = { 0xCE, 0xBF, 0xCF, 0x86 }; +static const symbol s_60_6[6] = { 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x87 }; +static const symbol s_60_7[6] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCE, 0xBB }; +static const symbol s_60_8[4] = { 0xCE, 0xBB, 0xCE, 0xBB }; +static const symbol s_60_9[8] = { 0xCF, 0x83, 0xCE, 0xBC, 0xCE, 0xB7, 0xCE, 0xBD }; + +static const struct among a_60[10] = +{ +/* 0 */ { 4, s_60_0, -1, 1, 0}, +/* 1 */ { 4, s_60_1, -1, 1, 0}, +/* 2 */ { 4, s_60_2, -1, 1, 0}, +/* 3 */ { 8, s_60_3, -1, 1, 0}, +/* 4 */ { 4, s_60_4, -1, 1, 0}, +/* 5 */ { 4, s_60_5, -1, 1, 0}, +/* 6 */ { 6, s_60_6, -1, 1, 0}, +/* 7 */ { 6, s_60_7, -1, 1, 0}, +/* 8 */ { 4, s_60_8, -1, 1, 0}, +/* 9 */ { 8, s_60_9, -1, 1, 0} +}; + +static const symbol s_61_0[2] = { 0xCF, 0x80 }; +static const symbol s_61_1[6] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x80 }; +static const symbol s_61_2[8] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x85, 0xCF, 0x80 }; +static const symbol s_61_3[10] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x84, 0xCE, 0xB9, 0xCF, 0x80 }; +static const symbol s_61_4[8] = { 0xCE, 0xB1, 0xCE, 0xB5, 0xCE, 0xB9, 0xCF, 0x80 }; +static const symbol s_61_5[8] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBC, 0xCF, 0x80 }; +static const symbol s_61_6[16] = { 0xCF, 0x80, 0xCF, 0x81, 0xCE, 0xBF, 0xCF, 0x83, 0xCF, 0x89, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_61_7[14] = { 0xCF, 0x83, 0xCE, 0xB9, 0xCE, 0xB4, 0xCE, 0xB7, 0xCF, 0x81, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_61_8[12] = { 0xCE, 0xB4, 0xCF, 0x81, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_61_9[8] = { 0xCE, 0xBD, 0xCE, 0xB5, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_61_10[16] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xBF, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_61_11[8] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_61_12[2] = { 0xCF, 0x81 }; +static const symbol s_61_13[4] = { 0xCF, 0x84, 0xCF, 0x81 }; +static const symbol s_61_14[6] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x81 }; +static const symbol s_61_15[10] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_61_16[6] = { 0xCF, 0x87, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_61_17[8] = { 0xCE, 0xB1, 0xCF, 0x87, 0xCE, 0xB1, 0xCF, 0x81 }; +static const symbol s_61_18[8] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_61_19[2] = { 0xCF, 0x84 }; +static const symbol s_61_20[10] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x85, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_61_21[10] = { 0xCE, 0xB1, 0xCE, 0xB2, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_61_22[10] = { 0xCF, 0x80, 0xCF, 0x81, 0xCE, 0xBF, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_61_23[12] = { 0xCE, 0xB1, 0xCE, 0xB9, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_61_24[8] = { 0xCE, 0xB4, 0xCE, 0xB9, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_61_25[8] = { 0xCE, 0xB5, 0xCF, 0x80, 0xCE, 0xB9, 0xCF, 0x84 }; +static const symbol s_61_26[8] = { 0xCF, 0x83, 0xCF, 0x85, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_61_27[8] = { 0xCF, 0x85, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x84 }; +static const symbol s_61_28[8] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBF, 0xCF, 0x84 }; +static const symbol s_61_29[8] = { 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x84 }; +static const symbol s_61_30[10] = { 0xCE, 0xBD, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x84 }; +static const symbol s_61_31[6] = { 0xCE, 0xBD, 0xCE, 0xB1, 0xCF, 0x85 }; +static const symbol s_61_32[10] = { 0xCF, 0x80, 0xCE, 0xBF, 0xCE, 0xBB, 0xCF, 0x85, 0xCF, 0x86 }; +static const symbol s_61_33[4] = { 0xCE, 0xB1, 0xCF, 0x86 }; +static const symbol s_61_34[6] = { 0xCE, 0xBE, 0xCE, 0xB5, 0xCF, 0x86 }; +static const symbol s_61_35[8] = { 0xCE, 0xB1, 0xCE, 0xB4, 0xCE, 0xB7, 0xCF, 0x86 }; +static const symbol s_61_36[8] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xBC, 0xCF, 0x86 }; +static const symbol s_61_37[12] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xBB, 0xCE, 0xB9 }; +static const symbol s_61_38[2] = { 0xCE, 0xBB }; +static const symbol s_61_39[8] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xBB }; +static const symbol s_61_40[2] = { 0xCE, 0xBC }; +static const symbol s_61_41[10] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBB, 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_61_42[4] = { 0xCE, 0xB5, 0xCE, 0xBD }; +static const symbol s_61_43[12] = { 0xCE, 0xB4, 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB2, 0xCE, 0xB5, 0xCE, 0xBD }; + +static const struct among a_61[44] = +{ +/* 0 */ { 2, s_61_0, -1, 1, 0}, +/* 1 */ { 6, s_61_1, 0, 1, 0}, +/* 2 */ { 8, s_61_2, 0, 1, 0}, +/* 3 */ { 10, s_61_3, 0, 1, 0}, +/* 4 */ { 8, s_61_4, 0, 1, 0}, +/* 5 */ { 8, s_61_5, 0, 1, 0}, +/* 6 */ { 16, s_61_6, 0, 1, 0}, +/* 7 */ { 14, s_61_7, 0, 1, 0}, +/* 8 */ { 12, s_61_8, 0, 1, 0}, +/* 9 */ { 8, s_61_9, 0, 1, 0}, +/* 10 */ { 16, s_61_10, 0, 1, 0}, +/* 11 */ { 8, s_61_11, 0, 1, 0}, +/* 12 */ { 2, s_61_12, -1, 1, 0}, +/* 13 */ { 4, s_61_13, 12, 1, 0}, +/* 14 */ { 6, s_61_14, 12, 1, 0}, +/* 15 */ { 10, s_61_15, 12, 1, 0}, +/* 16 */ { 6, s_61_16, 12, 1, 0}, +/* 17 */ { 8, s_61_17, 16, 1, 0}, +/* 18 */ { 8, s_61_18, 12, 1, 0}, +/* 19 */ { 2, s_61_19, -1, 1, 0}, +/* 20 */ { 10, s_61_20, 19, 1, 0}, +/* 21 */ { 10, s_61_21, 19, 1, 0}, +/* 22 */ { 10, s_61_22, 19, 1, 0}, +/* 23 */ { 12, s_61_23, 19, 1, 0}, +/* 24 */ { 8, s_61_24, 19, 1, 0}, +/* 25 */ { 8, s_61_25, 19, 1, 0}, +/* 26 */ { 8, s_61_26, 19, 1, 0}, +/* 27 */ { 8, s_61_27, 19, 1, 0}, +/* 28 */ { 8, s_61_28, 19, 1, 0}, +/* 29 */ { 8, s_61_29, 19, 1, 0}, +/* 30 */ { 10, s_61_30, 29, 1, 0}, +/* 31 */ { 6, s_61_31, -1, 1, 0}, +/* 32 */ { 10, s_61_32, -1, 1, 0}, +/* 33 */ { 4, s_61_33, -1, 1, 0}, +/* 34 */ { 6, s_61_34, -1, 1, 0}, +/* 35 */ { 8, s_61_35, -1, 1, 0}, +/* 36 */ { 8, s_61_36, -1, 1, 0}, +/* 37 */ { 12, s_61_37, -1, 1, 0}, +/* 38 */ { 2, s_61_38, -1, 1, 0}, +/* 39 */ { 8, s_61_39, 38, 1, 0}, +/* 40 */ { 2, s_61_40, -1, 1, 0}, +/* 41 */ { 10, s_61_41, 40, 1, 0}, +/* 42 */ { 4, s_61_42, -1, 1, 0}, +/* 43 */ { 12, s_61_43, 42, 1, 0} +}; + +static const symbol s_62_0[8] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_62_1[6] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1 }; +static const symbol s_62_2[6] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB5 }; + +static const struct among a_62[3] = +{ +/* 0 */ { 8, s_62_0, -1, 1, 0}, +/* 1 */ { 6, s_62_1, -1, 1, 0}, +/* 2 */ { 6, s_62_2, -1, 1, 0} +}; + +static const symbol s_63_0[8] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_63_1[6] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB1 }; +static const symbol s_63_2[6] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB5 }; + +static const struct among a_63[3] = +{ +/* 0 */ { 8, s_63_0, -1, 1, 0}, +/* 1 */ { 6, s_63_1, -1, 1, 0}, +/* 2 */ { 6, s_63_2, -1, 1, 0} +}; + +static const symbol s_64_0[2] = { 0xCE, 0xBD }; +static const symbol s_64_1[10] = { 0xCE, 0xB5, 0xCF, 0x80, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_64_2[14] = { 0xCE, 0xB4, 0xCF, 0x89, 0xCE, 0xB4, 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_64_3[12] = { 0xCF, 0x87, 0xCE, 0xB5, 0xCF, 0x81, 0xCF, 0x83, 0xCE, 0xBF, 0xCE, 0xBD }; +static const symbol s_64_4[14] = { 0xCE, 0xBC, 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xBF, 0xCE, 0xBD }; +static const symbol s_64_5[12] = { 0xCE, 0xB5, 0xCF, 0x81, 0xCE, 0xB7, 0xCE, 0xBC, 0xCE, 0xBF, 0xCE, 0xBD }; + +static const struct among a_64[6] = +{ +/* 0 */ { 2, s_64_0, -1, 1, 0}, +/* 1 */ { 10, s_64_1, 0, 1, 0}, +/* 2 */ { 14, s_64_2, 0, 1, 0}, +/* 3 */ { 12, s_64_3, 0, 1, 0}, +/* 4 */ { 14, s_64_4, 0, 1, 0}, +/* 5 */ { 12, s_64_5, 0, 1, 0} +}; + +static const symbol s_65_0[8] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; + +static const struct among a_65[1] = +{ +/* 0 */ { 8, s_65_0, -1, 1, 0} +}; + +static const symbol s_66_0[4] = { 0xCF, 0x87, 0xCF, 0x81 }; +static const symbol s_66_1[10] = { 0xCE, 0xB4, 0xCF, 0x85, 0xCF, 0x83, 0xCF, 0x87, 0xCF, 0x81 }; +static const symbol s_66_2[8] = { 0xCE, 0xB5, 0xCF, 0x85, 0xCF, 0x87, 0xCF, 0x81 }; +static const symbol s_66_3[6] = { 0xCE, 0xB1, 0xCF, 0x87, 0xCF, 0x81 }; +static const symbol s_66_4[14] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCE, 0xB9, 0xCE, 0xBD, 0xCE, 0xBF, 0xCF, 0x87, 0xCF, 0x81 }; +static const symbol s_66_5[12] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xB9, 0xCE, 0xBC, 0xCF, 0x88 }; +static const symbol s_66_6[4] = { 0xCF, 0x83, 0xCE, 0xB2 }; +static const symbol s_66_7[6] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCE, 0xB2 }; +static const symbol s_66_8[6] = { 0xCE, 0xB1, 0xCF, 0x80, 0xCE, 0xBB }; +static const symbol s_66_9[10] = { 0xCE, 0xB1, 0xCE, 0xB5, 0xCE, 0xB9, 0xCE, 0xBC, 0xCE, 0xBD }; + +static const struct among a_66[10] = +{ +/* 0 */ { 4, s_66_0, -1, 1, 0}, +/* 1 */ { 10, s_66_1, 0, 1, 0}, +/* 2 */ { 8, s_66_2, 0, 1, 0}, +/* 3 */ { 6, s_66_3, 0, 1, 0}, +/* 4 */ { 14, s_66_4, 0, 1, 0}, +/* 5 */ { 12, s_66_5, -1, 1, 0}, +/* 6 */ { 4, s_66_6, -1, 1, 0}, +/* 7 */ { 6, s_66_7, 6, 1, 0}, +/* 8 */ { 6, s_66_8, -1, 1, 0}, +/* 9 */ { 10, s_66_9, -1, 1, 0} +}; + +static const symbol s_67_0[8] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_67_1[12] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_67_2[12] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB5 }; + +static const struct among a_67[3] = +{ +/* 0 */ { 8, s_67_0, -1, 1, 0}, +/* 1 */ { 12, s_67_1, 0, 1, 0}, +/* 2 */ { 12, s_67_2, 0, 1, 0} +}; + +static const symbol s_68_0[2] = { 0xCF, 0x81 }; +static const symbol s_68_1[22] = { 0xCF, 0x83, 0xCF, 0x84, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xB2, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_68_2[18] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBA, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_68_3[6] = { 0xCF, 0x83, 0xCF, 0x80, 0xCE, 0xB9 }; +static const symbol s_68_4[2] = { 0xCE, 0xBD }; +static const symbol s_68_5[8] = { 0xCE, 0xB5, 0xCE, 0xBE, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_68[6] = +{ +/* 0 */ { 2, s_68_0, -1, 1, 0}, +/* 1 */ { 22, s_68_1, -1, 1, 0}, +/* 2 */ { 18, s_68_2, -1, 1, 0}, +/* 3 */ { 6, s_68_3, -1, 1, 0}, +/* 4 */ { 2, s_68_4, -1, 1, 0}, +/* 5 */ { 8, s_68_5, 4, 1, 0} +}; + +static const symbol s_69_0[8] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_69_1[12] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_69_2[12] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB5 }; + +static const struct among a_69[3] = +{ +/* 0 */ { 8, s_69_0, -1, 1, 0}, +/* 1 */ { 12, s_69_1, 0, 1, 0}, +/* 2 */ { 12, s_69_2, 0, 1, 0} +}; + +static const symbol s_70_0[10] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_70_1[16] = { 0xCF, 0x80, 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_70_2[16] = { 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xBB, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_70_3[2] = { 0xCF, 0x86 }; +static const symbol s_70_4[2] = { 0xCF, 0x87 }; +static const symbol s_70_5[4] = { 0xCE, 0xB1, 0xCE, 0xB6 }; +static const symbol s_70_6[12] = { 0xCF, 0x89, 0xCF, 0x81, 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x80, 0xCE, 0xBB }; + +static const struct among a_70[7] = +{ +/* 0 */ { 10, s_70_0, -1, 1, 0}, +/* 1 */ { 16, s_70_1, 0, 1, 0}, +/* 2 */ { 16, s_70_2, -1, 1, 0}, +/* 3 */ { 2, s_70_3, -1, 1, 0}, +/* 4 */ { 2, s_70_4, -1, 1, 0}, +/* 5 */ { 4, s_70_5, -1, 1, 0}, +/* 6 */ { 12, s_70_6, -1, 1, 0} +}; + +static const symbol s_71_0[10] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_71_1[8] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1 }; +static const symbol s_71_2[10] = { 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x89, 0xCE, 0xBD }; + +static const struct among a_71[3] = +{ +/* 0 */ { 10, s_71_0, -1, 1, 0}, +/* 1 */ { 8, s_71_1, -1, 1, 0}, +/* 2 */ { 10, s_71_2, -1, 1, 0} +}; + +static const symbol s_72_0[4] = { 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_72_1[6] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_72_2[4] = { 0xCE, 0xB1, 0xCF, 0x83 }; +static const symbol s_72_3[4] = { 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_72_4[8] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_72_5[8] = { 0xCE, 0xB7, 0xCE, 0xB4, 0xCE, 0xB5, 0xCF, 0x83 }; +static const symbol s_72_6[4] = { 0xCE, 0xB7, 0xCF, 0x83 }; +static const symbol s_72_7[6] = { 0xCE, 0xB5, 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_72_8[10] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB5, 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_72_9[4] = { 0xCE, 0xBF, 0xCF, 0x83 }; +static const symbol s_72_10[2] = { 0xCF, 0x85 }; +static const symbol s_72_11[4] = { 0xCE, 0xBF, 0xCF, 0x85 }; +static const symbol s_72_12[2] = { 0xCF, 0x89 }; +static const symbol s_72_13[6] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCF, 0x89 }; +static const symbol s_72_14[4] = { 0xCE, 0xB1, 0xCF, 0x89 }; +static const symbol s_72_15[6] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCF, 0x89 }; +static const symbol s_72_16[2] = { 0xCE, 0xB1 }; +static const symbol s_72_17[10] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB1 }; +static const symbol s_72_18[12] = { 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1 }; +static const symbol s_72_19[14] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1 }; +static const symbol s_72_20[12] = { 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1 }; +static const symbol s_72_21[14] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCE, 0xB1 }; +static const symbol s_72_22[2] = { 0xCE, 0xB5 }; +static const symbol s_72_23[14] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_24[12] = { 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_25[14] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_26[14] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_27[16] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_28[14] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_29[12] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_30[10] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_31[10] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_32[10] = { 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_33[14] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_34[8] = { 0xCE, 0xB5, 0xCE, 0xB9, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_35[12] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB5, 0xCE, 0xB9, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_72_36[2] = { 0xCE, 0xB7 }; +static const symbol s_72_37[2] = { 0xCE, 0xB9 }; +static const symbol s_72_38[8] = { 0xCE, 0xB1, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_39[8] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_40[10] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_41[8] = { 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_42[8] = { 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_43[10] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_44[12] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_45[14] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_46[10] = { 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_47[10] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_48[8] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_49[10] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_50[8] = { 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB1, 0xCE, 0xB9 }; +static const symbol s_72_51[4] = { 0xCE, 0xB5, 0xCE, 0xB9 }; +static const symbol s_72_52[8] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB5, 0xCE, 0xB9 }; +static const symbol s_72_53[6] = { 0xCE, 0xB1, 0xCE, 0xB5, 0xCE, 0xB9 }; +static const symbol s_72_54[8] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB5, 0xCE, 0xB9 }; +static const symbol s_72_55[4] = { 0xCE, 0xBF, 0xCE, 0xB9 }; +static const symbol s_72_56[6] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_72_57[10] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_72_58[10] = { 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_72_59[12] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_72_60[10] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_72_61[10] = { 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_72_62[12] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_72_63[4] = { 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_72_64[8] = { 0xCE, 0xB7, 0xCE, 0xB4, 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_72_65[4] = { 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_66[10] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_67[16] = { 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_68[18] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_69[8] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_70[14] = { 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_71[16] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x83, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_72[14] = { 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_73[16] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_74[12] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_75[14] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_76[10] = { 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_77[12] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_78[8] = { 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_79[10] = { 0xCE, 0xB9, 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_80[8] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_81[8] = { 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_82[12] = { 0xCE, 0xB7, 0xCE, 0xB8, 0xCE, 0xB7, 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_72_83[2] = { 0xCE, 0xBF }; + +static const struct among a_72[84] = +{ +/* 0 */ { 4, s_72_0, -1, 1, 0}, +/* 1 */ { 6, s_72_1, 0, 1, 0}, +/* 2 */ { 4, s_72_2, -1, 1, 0}, +/* 3 */ { 4, s_72_3, -1, 1, 0}, +/* 4 */ { 8, s_72_4, 3, 1, 0}, +/* 5 */ { 8, s_72_5, 3, 1, 0}, +/* 6 */ { 4, s_72_6, -1, 1, 0}, +/* 7 */ { 6, s_72_7, -1, 1, 0}, +/* 8 */ { 10, s_72_8, 7, 1, 0}, +/* 9 */ { 4, s_72_9, -1, 1, 0}, +/* 10 */ { 2, s_72_10, -1, 1, 0}, +/* 11 */ { 4, s_72_11, 10, 1, 0}, +/* 12 */ { 2, s_72_12, -1, 1, 0}, +/* 13 */ { 6, s_72_13, 12, 1, 0}, +/* 14 */ { 4, s_72_14, 12, 1, 0}, +/* 15 */ { 6, s_72_15, 12, 1, 0}, +/* 16 */ { 2, s_72_16, -1, 1, 0}, +/* 17 */ { 10, s_72_17, 16, 1, 0}, +/* 18 */ { 12, s_72_18, 16, 1, 0}, +/* 19 */ { 14, s_72_19, 18, 1, 0}, +/* 20 */ { 12, s_72_20, 16, 1, 0}, +/* 21 */ { 14, s_72_21, 20, 1, 0}, +/* 22 */ { 2, s_72_22, -1, 1, 0}, +/* 23 */ { 14, s_72_23, 22, 1, 0}, +/* 24 */ { 12, s_72_24, 22, 1, 0}, +/* 25 */ { 14, s_72_25, 24, 1, 0}, +/* 26 */ { 14, s_72_26, 22, 1, 0}, +/* 27 */ { 16, s_72_27, 26, 1, 0}, +/* 28 */ { 14, s_72_28, 22, 1, 0}, +/* 29 */ { 12, s_72_29, 22, 1, 0}, +/* 30 */ { 10, s_72_30, 22, 1, 0}, +/* 31 */ { 10, s_72_31, 22, 1, 0}, +/* 32 */ { 10, s_72_32, 22, 1, 0}, +/* 33 */ { 14, s_72_33, 32, 1, 0}, +/* 34 */ { 8, s_72_34, 22, 1, 0}, +/* 35 */ { 12, s_72_35, 34, 1, 0}, +/* 36 */ { 2, s_72_36, -1, 1, 0}, +/* 37 */ { 2, s_72_37, -1, 1, 0}, +/* 38 */ { 8, s_72_38, 37, 1, 0}, +/* 39 */ { 8, s_72_39, 37, 1, 0}, +/* 40 */ { 10, s_72_40, 39, 1, 0}, +/* 41 */ { 8, s_72_41, 37, 1, 0}, +/* 42 */ { 8, s_72_42, 37, 1, 0}, +/* 43 */ { 10, s_72_43, 42, 1, 0}, +/* 44 */ { 12, s_72_44, 37, 1, 0}, +/* 45 */ { 14, s_72_45, 44, 1, 0}, +/* 46 */ { 10, s_72_46, 37, 1, 0}, +/* 47 */ { 10, s_72_47, 37, 1, 0}, +/* 48 */ { 8, s_72_48, 37, 1, 0}, +/* 49 */ { 10, s_72_49, 37, 1, 0}, +/* 50 */ { 8, s_72_50, 37, 1, 0}, +/* 51 */ { 4, s_72_51, 37, 1, 0}, +/* 52 */ { 8, s_72_52, 51, 1, 0}, +/* 53 */ { 6, s_72_53, 51, 1, 0}, +/* 54 */ { 8, s_72_54, 51, 1, 0}, +/* 55 */ { 4, s_72_55, 37, 1, 0}, +/* 56 */ { 6, s_72_56, -1, 1, 0}, +/* 57 */ { 10, s_72_57, 56, 1, 0}, +/* 58 */ { 10, s_72_58, 56, 1, 0}, +/* 59 */ { 12, s_72_59, 58, 1, 0}, +/* 60 */ { 10, s_72_60, 56, 1, 0}, +/* 61 */ { 10, s_72_61, 56, 1, 0}, +/* 62 */ { 12, s_72_62, 61, 1, 0}, +/* 63 */ { 4, s_72_63, -1, 1, 0}, +/* 64 */ { 8, s_72_64, 63, 1, 0}, +/* 65 */ { 4, s_72_65, -1, 1, 0}, +/* 66 */ { 10, s_72_66, 65, 1, 0}, +/* 67 */ { 16, s_72_67, 66, 1, 0}, +/* 68 */ { 18, s_72_68, 67, 1, 0}, +/* 69 */ { 8, s_72_69, 65, 1, 0}, +/* 70 */ { 14, s_72_70, 65, 1, 0}, +/* 71 */ { 16, s_72_71, 70, 1, 0}, +/* 72 */ { 14, s_72_72, 65, 1, 0}, +/* 73 */ { 16, s_72_73, 72, 1, 0}, +/* 74 */ { 12, s_72_74, 65, 1, 0}, +/* 75 */ { 14, s_72_75, 74, 1, 0}, +/* 76 */ { 10, s_72_76, 65, 1, 0}, +/* 77 */ { 12, s_72_77, 76, 1, 0}, +/* 78 */ { 8, s_72_78, 65, 1, 0}, +/* 79 */ { 10, s_72_79, 78, 1, 0}, +/* 80 */ { 8, s_72_80, 65, 1, 0}, +/* 81 */ { 8, s_72_81, 65, 1, 0}, +/* 82 */ { 12, s_72_82, 81, 1, 0}, +/* 83 */ { 2, s_72_83, -1, 1, 0} +}; + +static const symbol s_73_0[10] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_73_1[8] = { 0xCF, 0x85, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_73_2[8] = { 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_73_3[8] = { 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_73_4[10] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_73_5[8] = { 0xCF, 0x85, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_73_6[8] = { 0xCF, 0x89, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84 }; +static const symbol s_73_7[8] = { 0xCE, 0xBF, 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84 }; + +static const struct among a_73[8] = +{ +/* 0 */ { 10, s_73_0, -1, 1, 0}, +/* 1 */ { 8, s_73_1, -1, 1, 0}, +/* 2 */ { 8, s_73_2, -1, 1, 0}, +/* 3 */ { 8, s_73_3, -1, 1, 0}, +/* 4 */ { 10, s_73_4, -1, 1, 0}, +/* 5 */ { 8, s_73_5, -1, 1, 0}, +/* 6 */ { 8, s_73_6, -1, 1, 0}, +/* 7 */ { 8, s_73_7, -1, 1, 0} +}; + +static const unsigned char g_v[] = { 81, 65, 16, 1 }; + +static const unsigned char g_v2[] = { 81, 65, 0, 1 }; + +static const symbol s_0[] = { 0xCE, 0xB1 }; +static const symbol s_1[] = { 0xCE, 0xB2 }; +static const symbol s_2[] = { 0xCE, 0xB3 }; +static const symbol s_3[] = { 0xCE, 0xB4 }; +static const symbol s_4[] = { 0xCE, 0xB5 }; +static const symbol s_5[] = { 0xCE, 0xB6 }; +static const symbol s_6[] = { 0xCE, 0xB7 }; +static const symbol s_7[] = { 0xCE, 0xB8 }; +static const symbol s_8[] = { 0xCE, 0xB9 }; +static const symbol s_9[] = { 0xCE, 0xBA }; +static const symbol s_10[] = { 0xCE, 0xBB }; +static const symbol s_11[] = { 0xCE, 0xBC }; +static const symbol s_12[] = { 0xCE, 0xBD }; +static const symbol s_13[] = { 0xCE, 0xBE }; +static const symbol s_14[] = { 0xCE, 0xBF }; +static const symbol s_15[] = { 0xCF, 0x80 }; +static const symbol s_16[] = { 0xCF, 0x81 }; +static const symbol s_17[] = { 0xCF, 0x83 }; +static const symbol s_18[] = { 0xCF, 0x84 }; +static const symbol s_19[] = { 0xCF, 0x85 }; +static const symbol s_20[] = { 0xCF, 0x86 }; +static const symbol s_21[] = { 0xCF, 0x87 }; +static const symbol s_22[] = { 0xCF, 0x88 }; +static const symbol s_23[] = { 0xCF, 0x89 }; +static const symbol s_24[] = { 0xCF, 0x86, 0xCE, 0xB1 }; +static const symbol s_25[] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB1 }; +static const symbol s_26[] = { 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBF }; +static const symbol s_27[] = { 0xCF, 0x83, 0xCE, 0xBF }; +static const symbol s_28[] = { 0xCF, 0x84, 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF }; +static const symbol s_29[] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB5 }; +static const symbol s_30[] = { 0xCF, 0x80, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_31[] = { 0xCF, 0x84, 0xCE, 0xB5, 0xCF, 0x81 }; +static const symbol s_32[] = { 0xCF, 0x86, 0xCF, 0x89 }; +static const symbol s_33[] = { 0xCE, 0xBA, 0xCE, 0xB1, 0xCE, 0xB8, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_34[] = { 0xCE, 0xB3, 0xCE, 0xB5, 0xCE, 0xB3, 0xCE, 0xBF, 0xCE, 0xBD }; +static const symbol s_35[] = { 0xCE, 0xB9 }; +static const symbol s_36[] = { 0xCE, 0xB9, 0xCE, 0xB6 }; +static const symbol s_37[] = { 0xCF, 0x89, 0xCE, 0xBD }; +static const symbol s_38[] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xB1 }; +static const symbol s_39[] = { 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_40[] = { 0xCE, 0xB9 }; +static const symbol s_41[] = { 0xCE, 0xB9, 0xCF, 0x83 }; +static const symbol s_42[] = { 0xCE, 0xB9 }; +static const symbol s_43[] = { 0xCE, 0xB9 }; +static const symbol s_44[] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_45[] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBC }; +static const symbol s_46[] = { 0xCE, 0xB9 }; +static const symbol s_47[] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xBD, 0xCF, 0x89, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_48[] = { 0xCE, 0xB1, 0xCF, 0x84, 0xCE, 0xBF, 0xCE, 0xBC }; +static const symbol s_49[] = { 0xCE, 0xB3, 0xCE, 0xBD, 0xCF, 0x89, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_50[] = { 0xCE, 0xB5, 0xCE, 0xB8, 0xCE, 0xBD }; +static const symbol s_51[] = { 0xCE, 0xB5, 0xCE, 0xBA, 0xCE, 0xBB, 0xCE, 0xB5, 0xCE, 0xBA, 0xCF, 0x84 }; +static const symbol s_52[] = { 0xCF, 0x83, 0xCE, 0xBA, 0xCE, 0xB5, 0xCF, 0x80, 0xCF, 0x84 }; +static const symbol s_53[] = { 0xCF, 0x84, 0xCE, 0xBF, 0xCF, 0x80 }; +static const symbol s_54[] = { 0xCE, 0xB1, 0xCE, 0xBB, 0xCE, 0xB5, 0xCE, 0xBE, 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB4, 0xCF, 0x81 }; +static const symbol s_55[] = { 0xCE, 0xB2, 0xCF, 0x85, 0xCE, 0xB6, 0xCE, 0xB1, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_56[] = { 0xCE, 0xB8, 0xCE, 0xB5, 0xCE, 0xB1, 0xCF, 0x84, 0xCF, 0x81 }; +static const symbol s_57[] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCE, 0xB1, 0xCE, 0xBA }; +static const symbol s_58[] = { 0xCE, 0xB1, 0xCE, 0xBA }; +static const symbol s_59[] = { 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_60[] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCF, 0x81 }; +static const symbol s_61[] = { 0xCE, 0xB9, 0xCF, 0x84, 0xCF, 0x83 }; +static const symbol s_62[] = { 0xCE, 0xB9, 0xCE, 0xB4 }; +static const symbol s_63[] = { 0xCE, 0xB9, 0xCE, 0xB4 }; +static const symbol s_64[] = { 0xCE, 0xB9, 0xCF, 0x83, 0xCE, 0xBA }; +static const symbol s_65[] = { 0xCE, 0xB1, 0xCE, 0xB4 }; +static const symbol s_66[] = { 0xCE, 0xB5, 0xCE, 0xB4 }; +static const symbol s_67[] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xB4 }; +static const symbol s_68[] = { 0xCE, 0xB5 }; +static const symbol s_69[] = { 0xCE, 0xB9 }; +static const symbol s_70[] = { 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_71[] = { 0xCE, 0xB9, 0xCE, 0xBA }; +static const symbol s_72[] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_73[] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_74[] = { 0xCE, 0xB1, 0xCE, 0xBC, 0xCE, 0xB5 }; +static const symbol s_75[] = { 0xCE, 0xB1, 0xCE, 0xBC }; +static const symbol s_76[] = { 0xCE, 0xB1, 0xCE, 0xB3, 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_77[] = { 0xCE, 0xB1, 0xCE, 0xBD, 0xCE, 0xB5 }; +static const symbol s_78[] = { 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_79[] = { 0xCE, 0xB1, 0xCE, 0xBD }; +static const symbol s_80[] = { 0xCE, 0xB5, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_81[] = { 0xCE, 0xB5, 0xCF, 0x84 }; +static const symbol s_82[] = { 0xCE, 0xB5, 0xCF, 0x84 }; +static const symbol s_83[] = { 0xCE, 0xB5, 0xCF, 0x84 }; +static const symbol s_84[] = { 0xCE, 0xB1, 0xCF, 0x81, 0xCF, 0x87 }; +static const symbol s_85[] = { 0xCE, 0xBF, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_86[] = { 0xCE, 0xBA, 0xCF, 0x81, 0xCE, 0xB5 }; +static const symbol s_87[] = { 0xCF, 0x89, 0xCE, 0xBD, 0xCF, 0x84 }; +static const symbol s_88[] = { 0xCE, 0xBF, 0xCE, 0xBD }; +static const symbol s_89[] = { 0xCE, 0xBF, 0xCE, 0xBC, 0xCE, 0xB1, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_90[] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_91[] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_92[] = { 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84, 0xCE, 0xB5 }; +static const symbol s_93[] = { 0xCE, 0xB9, 0xCE, 0xB5, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_94[] = { 0xCE, 0xB7, 0xCE, 0xBA }; +static const symbol s_95[] = { 0xCE, 0xB7, 0xCE, 0xBA }; +static const symbol s_96[] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_97[] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCF, 0x83 }; +static const symbol s_98[] = { 0xCE, 0xBA, 0xCE, 0xBF, 0xCE, 0xBB, 0xCE, 0xBB }; +static const symbol s_99[] = { 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_100[] = { 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_101[] = { 0xCE, 0xB1, 0xCE, 0xB3 }; +static const symbol s_102[] = { 0xCE, 0xB7, 0xCF, 0x83 }; +static const symbol s_103[] = { 0xCE, 0xB7, 0xCF, 0x83, 0xCF, 0x84 }; +static const symbol s_104[] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBD }; +static const symbol s_105[] = { 0xCE, 0xBF, 0xCF, 0x85, 0xCE, 0xBC }; +static const symbol s_106[] = { 0xCE, 0xBC, 0xCE, 0xB1 }; + +static int r_has_min_length(struct SN_env * z) { /* backwardmode */ + if (!(len_utf8(z->p) >= 3)) return 0; /* $( >= ), line 109 */ + return 1; +} + +static int r_tolower(struct SN_env * z) { /* backwardmode */ + int among_var; +/* repeat, line 113 */ + + while(1) { int m1 = z->l - z->c; (void)m1; + z->ket = z->c; /* [, line 114 */ + among_var = find_among_b(z, a_0, 46); /* substring, line 114 */ + if (!(among_var)) goto lab0; + z->bra = z->c; /* ], line 114 */ + switch (among_var) { /* among, line 114 */ + case 1: + { int ret = slice_from_s(z, 2, s_0); /* <-, line 115 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 2, s_1); /* <-, line 116 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 2, s_2); /* <-, line 117 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 2, s_3); /* <-, line 118 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 2, s_4); /* <-, line 119 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 2, s_5); /* <-, line 120 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 2, s_6); /* <-, line 121 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 2, s_7); /* <-, line 122 */ + if (ret < 0) return ret; + } + break; + case 9: + { int ret = slice_from_s(z, 2, s_8); /* <-, line 123 */ + if (ret < 0) return ret; + } + break; + case 10: + { int ret = slice_from_s(z, 2, s_9); /* <-, line 124 */ + if (ret < 0) return ret; + } + break; + case 11: + { int ret = slice_from_s(z, 2, s_10); /* <-, line 125 */ + if (ret < 0) return ret; + } + break; + case 12: + { int ret = slice_from_s(z, 2, s_11); /* <-, line 126 */ + if (ret < 0) return ret; + } + break; + case 13: + { int ret = slice_from_s(z, 2, s_12); /* <-, line 127 */ + if (ret < 0) return ret; + } + break; + case 14: + { int ret = slice_from_s(z, 2, s_13); /* <-, line 128 */ + if (ret < 0) return ret; + } + break; + case 15: + { int ret = slice_from_s(z, 2, s_14); /* <-, line 129 */ + if (ret < 0) return ret; + } + break; + case 16: + { int ret = slice_from_s(z, 2, s_15); /* <-, line 130 */ + if (ret < 0) return ret; + } + break; + case 17: + { int ret = slice_from_s(z, 2, s_16); /* <-, line 131 */ + if (ret < 0) return ret; + } + break; + case 18: + { int ret = slice_from_s(z, 2, s_17); /* <-, line 132 */ + if (ret < 0) return ret; + } + break; + case 19: + { int ret = slice_from_s(z, 2, s_18); /* <-, line 133 */ + if (ret < 0) return ret; + } + break; + case 20: + { int ret = slice_from_s(z, 2, s_19); /* <-, line 134 */ + if (ret < 0) return ret; + } + break; + case 21: + { int ret = slice_from_s(z, 2, s_20); /* <-, line 135 */ + if (ret < 0) return ret; + } + break; + case 22: + { int ret = slice_from_s(z, 2, s_21); /* <-, line 136 */ + if (ret < 0) return ret; + } + break; + case 23: + { int ret = slice_from_s(z, 2, s_22); /* <-, line 137 */ + if (ret < 0) return ret; + } + break; + case 24: + { int ret = slice_from_s(z, 2, s_23); /* <-, line 138 */ + if (ret < 0) return ret; + } + break; + case 25: + { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); + if (ret < 0) goto lab0; + z->c = ret; /* next, line 160 */ + } + break; + } + continue; + lab0: + z->c = z->l - m1; + break; + } + return 1; +} + +static int r_step1(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 166 */ + among_var = find_among_b(z, a_1, 40); /* substring, line 166 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 166 */ + switch (among_var) { /* among, line 166 */ + case 1: + { int ret = slice_from_s(z, 4, s_24); /* <-, line 167 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 6, s_25); /* <-, line 168 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 6, s_26); /* <-, line 169 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 4, s_27); /* <-, line 170 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 8, s_28); /* <-, line 171 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 6, s_29); /* <-, line 172 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 6, s_30); /* <-, line 173 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 6, s_31); /* <-, line 174 */ + if (ret < 0) return ret; + } + break; + case 9: + { int ret = slice_from_s(z, 4, s_32); /* <-, line 175 */ + if (ret < 0) return ret; + } + break; + case 10: + { int ret = slice_from_s(z, 12, s_33); /* <-, line 176 */ + if (ret < 0) return ret; + } + break; + case 11: + { int ret = slice_from_s(z, 10, s_34); /* <-, line 177 */ + if (ret < 0) return ret; + } + break; + } + z->B[0] = 0; /* unset test1, line 179 */ + return 1; +} + +static int r_steps1(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 183 */ + if (!(find_among_b(z, a_4, 14))) return 0; /* substring, line 183 */ + z->bra = z->c; /* ], line 183 */ + { int ret = slice_del(z); /* delete, line 186 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 187 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 191 */ + z->ket = z->c; /* [, line 188 */ + z->bra = z->c; /* ], line 188 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((-2145255424 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab1; /* substring, line 188 */ + if (!(find_among_b(z, a_2, 9))) goto lab1; + if (z->c > z->lb) goto lab1; /* atlimit, line 188 */ + { int ret = slice_from_s(z, 2, s_35); /* <-, line 190 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 192 */ + z->bra = z->c; /* ], line 192 */ + if (!(find_among_b(z, a_3, 22))) return 0; /* substring, line 192 */ + if (z->c > z->lb) return 0; /* atlimit, line 192 */ + { int ret = slice_from_s(z, 4, s_36); /* <-, line 196 */ + if (ret < 0) return ret; + } + } +lab0: + return 1; +} + +static int r_steps2(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 203 */ + if (!(find_among_b(z, a_6, 7))) return 0; /* substring, line 203 */ + z->bra = z->c; /* ], line 203 */ + { int ret = slice_del(z); /* delete, line 205 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 206 */ + z->ket = z->c; /* [, line 207 */ + z->bra = z->c; /* ], line 207 */ + if (!(find_among_b(z, a_5, 8))) return 0; /* substring, line 207 */ + if (z->c > z->lb) return 0; /* atlimit, line 207 */ + { int ret = slice_from_s(z, 4, s_37); /* <-, line 208 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_steps3(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 215 */ + if (!(find_among_b(z, a_9, 7))) return 0; /* substring, line 215 */ + z->bra = z->c; /* ], line 215 */ + { int ret = slice_del(z); /* delete, line 217 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 218 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 219 */ + if (!(eq_s_b(z, 6, s_38))) goto lab1; /* literal, line 219 */ + if (z->c > z->lb) goto lab1; /* atlimit, line 219 */ + { int ret = slice_from_s(z, 4, s_39); /* <-, line 219 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 220 */ + z->bra = z->c; /* ], line 220 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((-2145255424 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab2; /* substring, line 220 */ + if (!(find_among_b(z, a_7, 19))) goto lab2; + if (z->c > z->lb) goto lab2; /* atlimit, line 220 */ + { int ret = slice_from_s(z, 2, s_40); /* <-, line 224 */ + if (ret < 0) return ret; + } + goto lab0; + lab2: + z->c = z->l - m1; + z->ket = z->c; /* [, line 226 */ + z->bra = z->c; /* ], line 226 */ + if (!(find_among_b(z, a_8, 13))) return 0; /* substring, line 226 */ + if (z->c > z->lb) return 0; /* atlimit, line 226 */ + { int ret = slice_from_s(z, 4, s_41); /* <-, line 229 */ + if (ret < 0) return ret; + } + } +lab0: + return 1; +} + +static int r_steps4(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 236 */ + if (!(find_among_b(z, a_11, 7))) return 0; /* substring, line 236 */ + z->bra = z->c; /* ], line 236 */ + { int ret = slice_del(z); /* delete, line 238 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 239 */ + z->ket = z->c; /* [, line 240 */ + z->bra = z->c; /* ], line 240 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((-2145255424 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 240 */ + if (!(find_among_b(z, a_10, 19))) return 0; + if (z->c > z->lb) return 0; /* atlimit, line 240 */ + { int ret = slice_from_s(z, 2, s_42); /* <-, line 244 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_steps5(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 251 */ + if (!(find_among_b(z, a_14, 11))) return 0; /* substring, line 251 */ + z->bra = z->c; /* ], line 251 */ + { int ret = slice_del(z); /* delete, line 254 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 255 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 259 */ + z->ket = z->c; /* [, line 256 */ + z->bra = z->c; /* ], line 256 */ + if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 181 && z->p[z->c - 1] != 191)) goto lab1; /* substring, line 256 */ + if (!(find_among_b(z, a_12, 7))) goto lab1; + if (z->c > z->lb) goto lab1; /* atlimit, line 256 */ + { int ret = slice_from_s(z, 2, s_43); /* <-, line 258 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 260 */ + z->bra = z->c; /* ], line 260 */ + if (!(find_among_b(z, a_13, 33))) return 0; /* substring, line 260 */ + if (z->c > z->lb) return 0; /* atlimit, line 260 */ + { int ret = slice_from_s(z, 6, s_44); /* <-, line 264 */ + if (ret < 0) return ret; + } + } +lab0: + return 1; +} + +static int r_steps6(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 271 */ + if (!(find_among_b(z, a_18, 6))) return 0; /* substring, line 271 */ + z->bra = z->c; /* ], line 271 */ + { int ret = slice_del(z); /* delete, line 273 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 274 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 278 */ + z->ket = z->c; /* [, line 275 */ + z->bra = z->c; /* ], line 275 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] != 181) goto lab1; /* substring, line 275 */ + if (!(find_among_b(z, a_15, 5))) goto lab1; + if (z->c > z->lb) goto lab1; /* atlimit, line 275 */ + { int ret = slice_from_s(z, 6, s_45); /* <-, line 277 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 279 */ + z->bra = z->c; /* ], line 279 */ + if (z->c - 7 <= z->lb || z->p[z->c - 1] != 181) goto lab2; /* substring, line 279 */ + if (!(find_among_b(z, a_16, 2))) goto lab2; + if (z->c > z->lb) goto lab2; /* atlimit, line 279 */ + { int ret = slice_from_s(z, 2, s_46); /* <-, line 281 */ + if (ret < 0) return ret; + } + goto lab0; + lab2: + z->c = z->l - m1; + z->ket = z->c; /* [, line 283 */ + if (z->c - 9 <= z->lb || (z->p[z->c - 1] != 186 && z->p[z->c - 1] != 189)) return 0; /* substring, line 283 */ + among_var = find_among_b(z, a_17, 10); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 283 */ + switch (among_var) { /* among, line 283 */ + case 1: + { int ret = slice_from_s(z, 12, s_47); /* <-, line 284 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 8, s_48); /* <-, line 285 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 10, s_49); /* <-, line 286 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 6, s_50); /* <-, line 287 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 12, s_51); /* <-, line 288 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 10, s_52); /* <-, line 289 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 6, s_53); /* <-, line 290 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 16, s_54); /* <-, line 291 */ + if (ret < 0) return ret; + } + break; + case 9: + { int ret = slice_from_s(z, 12, s_55); /* <-, line 292 */ + if (ret < 0) return ret; + } + break; + case 10: + { int ret = slice_from_s(z, 10, s_56); /* <-, line 293 */ + if (ret < 0) return ret; + } + break; + } + } +lab0: + return 1; +} + +static int r_steps7(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 300 */ + if (z->c - 9 <= z->lb || (z->p[z->c - 1] != 177 && z->p[z->c - 1] != 185)) return 0; /* substring, line 300 */ + if (!(find_among_b(z, a_20, 4))) return 0; + z->bra = z->c; /* ], line 300 */ + { int ret = slice_del(z); /* delete, line 302 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 303 */ + z->ket = z->c; /* [, line 304 */ + z->bra = z->c; /* ], line 304 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 131 && z->p[z->c - 1] != 135)) return 0; /* substring, line 304 */ + if (!(find_among_b(z, a_19, 2))) return 0; + if (z->c > z->lb) return 0; /* atlimit, line 304 */ + { int ret = slice_from_s(z, 8, s_57); /* <-, line 306 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_steps8(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 313 */ + if (!(find_among_b(z, a_23, 8))) return 0; /* substring, line 313 */ + z->bra = z->c; /* ], line 313 */ + { int ret = slice_del(z); /* delete, line 315 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 316 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 323 */ + z->ket = z->c; /* [, line 317 */ + z->bra = z->c; /* ], line 317 */ + if (!(find_among_b(z, a_21, 33))) goto lab1; /* substring, line 317 */ + if (z->c > z->lb) goto lab1; /* atlimit, line 317 */ + { int ret = slice_from_s(z, 4, s_58); /* <-, line 322 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 324 */ + z->bra = z->c; /* ], line 324 */ + if (!(find_among_b(z, a_22, 15))) goto lab2; /* substring, line 324 */ + if (z->c > z->lb) goto lab2; /* atlimit, line 324 */ + { int ret = slice_from_s(z, 6, s_59); /* <-, line 327 */ + if (ret < 0) return ret; + } + goto lab0; + lab2: + z->c = z->l - m1; + z->ket = z->c; /* [, line 329 */ + z->bra = z->c; /* ], line 329 */ + if (!(eq_s_b(z, 6, s_60))) return 0; /* literal, line 329 */ + { int ret = slice_from_s(z, 6, s_61); /* <-, line 329 */ + if (ret < 0) return ret; + } + } +lab0: + return 1; +} + +static int r_steps9(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 335 */ + if (z->c - 7 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((-1610481664 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 335 */ + if (!(find_among_b(z, a_26, 3))) return 0; + z->bra = z->c; /* ], line 335 */ + { int ret = slice_del(z); /* delete, line 337 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 338 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 341 */ + z->ket = z->c; /* [, line 339 */ + z->bra = z->c; /* ], line 339 */ + if (!(find_among_b(z, a_24, 4))) goto lab1; /* substring, line 339 */ + if (z->c > z->lb) goto lab1; /* atlimit, line 339 */ + { int ret = slice_from_s(z, 4, s_62); /* <-, line 340 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 342 */ + z->bra = z->c; /* ], line 342 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 181 && z->p[z->c - 1] != 189)) return 0; /* substring, line 342 */ + if (!(find_among_b(z, a_25, 2))) return 0; + { int ret = slice_from_s(z, 4, s_63); /* <-, line 343 */ + if (ret < 0) return ret; + } + } +lab0: + return 1; +} + +static int r_steps10(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 350 */ + if (!(find_among_b(z, a_28, 4))) return 0; /* substring, line 350 */ + z->bra = z->c; /* ], line 350 */ + { int ret = slice_del(z); /* delete, line 352 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 353 */ + z->ket = z->c; /* [, line 354 */ + z->bra = z->c; /* ], line 354 */ + if (!(find_among_b(z, a_27, 7))) return 0; /* substring, line 354 */ + if (z->c > z->lb) return 0; /* atlimit, line 354 */ + { int ret = slice_from_s(z, 6, s_64); /* <-, line 356 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step2a(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 363 */ + if (z->c - 7 <= z->lb || (z->p[z->c - 1] != 131 && z->p[z->c - 1] != 189)) return 0; /* substring, line 363 */ + if (!(find_among_b(z, a_29, 2))) return 0; + z->bra = z->c; /* ], line 363 */ + { int ret = slice_del(z); /* delete, line 364 */ + if (ret < 0) return ret; + } + { int m1 = z->l - z->c; (void)m1; /* not, line 366 */ + z->ket = z->c; /* [, line 366 */ + if (!(find_among_b(z, a_30, 10))) goto lab0; /* substring, line 366 */ + z->bra = z->c; /* ], line 366 */ + return 0; + lab0: + z->c = z->l - m1; + } + { int ret; + { int saved_c = z->c; + ret = insert_s(z, z->c, z->c, 4, s_65); /* <+, line 369 */ + z->c = saved_c; + } + if (ret < 0) return ret; + } + return 1; +} + +static int r_step2b(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 373 */ + if (z->c - 7 <= z->lb || (z->p[z->c - 1] != 131 && z->p[z->c - 1] != 189)) return 0; /* substring, line 373 */ + if (!(find_among_b(z, a_31, 2))) return 0; + z->bra = z->c; /* ], line 373 */ + { int ret = slice_del(z); /* delete, line 374 */ + if (ret < 0) return ret; + } + z->ket = z->c; /* [, line 376 */ + z->bra = z->c; /* ], line 376 */ + if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 128 && z->p[z->c - 1] != 187)) return 0; /* substring, line 376 */ + if (!(find_among_b(z, a_32, 8))) return 0; + { int ret = slice_from_s(z, 4, s_66); /* <-, line 377 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step2c(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 382 */ + if (z->c - 9 <= z->lb || (z->p[z->c - 1] != 131 && z->p[z->c - 1] != 189)) return 0; /* substring, line 382 */ + if (!(find_among_b(z, a_33, 2))) return 0; + z->bra = z->c; /* ], line 382 */ + { int ret = slice_del(z); /* delete, line 383 */ + if (ret < 0) return ret; + } + z->ket = z->c; /* [, line 385 */ + z->bra = z->c; /* ], line 385 */ + if (!(find_among_b(z, a_34, 15))) return 0; /* substring, line 385 */ + { int ret = slice_from_s(z, 6, s_67); /* <-, line 387 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step2d(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 392 */ + if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 131 && z->p[z->c - 1] != 189)) return 0; /* substring, line 392 */ + if (!(find_among_b(z, a_35, 2))) return 0; + z->bra = z->c; /* ], line 392 */ + { int ret = slice_del(z); /* delete, line 393 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 393 */ + z->ket = z->c; /* [, line 395 */ + z->bra = z->c; /* ], line 395 */ + if (!(find_among_b(z, a_36, 8))) return 0; /* substring, line 395 */ + if (z->c > z->lb) return 0; /* atlimit, line 395 */ + { int ret = slice_from_s(z, 2, s_68); /* <-, line 396 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step3(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 401 */ + if (!(find_among_b(z, a_37, 3))) return 0; /* substring, line 401 */ + z->bra = z->c; /* ], line 401 */ + { int ret = slice_del(z); /* delete, line 402 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 402 */ + z->ket = z->c; /* [, line 404 */ + z->bra = z->c; /* ], line 404 */ + if (in_grouping_b_U(z, g_v, 945, 969, 0)) return 0; /* grouping v, line 404 */ + { int ret = slice_from_s(z, 2, s_69); /* <-, line 404 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step4(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 408 */ + if (!(find_among_b(z, a_38, 4))) return 0; /* substring, line 408 */ + z->bra = z->c; /* ], line 408 */ + { int ret = slice_del(z); /* delete, line 409 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 409 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 411 */ + z->ket = z->c; /* [, line 411 */ + z->bra = z->c; /* ], line 411 */ + if (in_grouping_b_U(z, g_v, 945, 969, 0)) goto lab1; /* grouping v, line 411 */ + { int ret = slice_from_s(z, 4, s_70); /* <-, line 411 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 412 */ + } +lab0: + z->bra = z->c; /* ], line 412 */ + if (!(find_among_b(z, a_39, 36))) return 0; /* substring, line 412 */ + if (z->c > z->lb) return 0; /* atlimit, line 412 */ + { int ret = slice_from_s(z, 4, s_71); /* <-, line 417 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5a(struct SN_env * z) { /* backwardmode */ + { int m1 = z->l - z->c; (void)m1; /* do, line 422 */ + if (!(eq_s_b(z, 10, s_72))) goto lab0; /* literal, line 422 */ + if (z->c > z->lb) goto lab0; /* atlimit, line 422 */ + { int ret = slice_from_s(z, 8, s_73); /* <-, line 422 */ + if (ret < 0) return ret; + } + lab0: + z->c = z->l - m1; + } + { int m2 = z->l - z->c; (void)m2; /* do, line 423 */ + z->ket = z->c; /* [, line 424 */ + if (z->c - 9 <= z->lb || z->p[z->c - 1] != 181) goto lab1; /* substring, line 424 */ + if (!(find_among_b(z, a_40, 5))) goto lab1; + z->bra = z->c; /* ], line 424 */ + { int ret = slice_del(z); /* delete, line 425 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 425 */ + lab1: + z->c = z->l - m2; + } + z->ket = z->c; /* [, line 428 */ + if (!(eq_s_b(z, 6, s_74))) return 0; /* literal, line 428 */ + z->bra = z->c; /* ], line 428 */ + { int ret = slice_del(z); /* delete, line 429 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 430 */ + z->ket = z->c; /* [, line 431 */ + z->bra = z->c; /* ], line 431 */ + if (!(find_among_b(z, a_41, 12))) return 0; /* substring, line 431 */ + if (z->c > z->lb) return 0; /* atlimit, line 431 */ + { int ret = slice_from_s(z, 4, s_75); /* <-, line 433 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5b(struct SN_env * z) { /* backwardmode */ + { int m1 = z->l - z->c; (void)m1; /* do, line 438 */ + z->ket = z->c; /* [, line 439 */ + if (z->c - 9 <= z->lb || z->p[z->c - 1] != 181) goto lab0; /* substring, line 439 */ + if (!(find_among_b(z, a_43, 11))) goto lab0; + z->bra = z->c; /* ], line 439 */ + { int ret = slice_del(z); /* delete, line 442 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 443 */ + z->ket = z->c; /* [, line 444 */ + z->bra = z->c; /* ], line 444 */ + if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 129 && z->p[z->c - 1] != 131)) goto lab0; /* substring, line 444 */ + if (!(find_among_b(z, a_42, 2))) goto lab0; + if (z->c > z->lb) goto lab0; /* atlimit, line 444 */ + { int ret = slice_from_s(z, 8, s_76); /* <-, line 445 */ + if (ret < 0) return ret; + } + lab0: + z->c = z->l - m1; + } + z->ket = z->c; /* [, line 450 */ + if (!(eq_s_b(z, 6, s_77))) return 0; /* literal, line 450 */ + z->bra = z->c; /* ], line 450 */ + { int ret = slice_del(z); /* delete, line 451 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 452 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 453 */ + z->ket = z->c; /* [, line 453 */ + z->bra = z->c; /* ], line 453 */ + if (in_grouping_b_U(z, g_v2, 945, 969, 0)) goto lab2; /* grouping v2, line 453 */ + { int ret = slice_from_s(z, 4, s_78); /* <-, line 453 */ + if (ret < 0) return ret; + } + goto lab1; + lab2: + z->c = z->l - m2; + z->ket = z->c; /* [, line 454 */ + } +lab1: + z->bra = z->c; /* ], line 454 */ + if (!(find_among_b(z, a_44, 95))) return 0; /* substring, line 454 */ + if (z->c > z->lb) return 0; /* atlimit, line 454 */ + { int ret = slice_from_s(z, 4, s_79); /* <-, line 471 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5c(struct SN_env * z) { /* backwardmode */ + { int m1 = z->l - z->c; (void)m1; /* do, line 476 */ + z->ket = z->c; /* [, line 477 */ + if (z->c - 9 <= z->lb || z->p[z->c - 1] != 181) goto lab0; /* substring, line 477 */ + if (!(find_among_b(z, a_45, 1))) goto lab0; + z->bra = z->c; /* ], line 477 */ + { int ret = slice_del(z); /* delete, line 478 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 478 */ + lab0: + z->c = z->l - m1; + } + z->ket = z->c; /* [, line 481 */ + if (!(eq_s_b(z, 6, s_80))) return 0; /* literal, line 481 */ + z->bra = z->c; /* ], line 481 */ + { int ret = slice_del(z); /* delete, line 482 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 483 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 484 */ + z->ket = z->c; /* [, line 484 */ + z->bra = z->c; /* ], line 484 */ + if (in_grouping_b_U(z, g_v2, 945, 969, 0)) goto lab2; /* grouping v2, line 484 */ + { int ret = slice_from_s(z, 4, s_81); /* <-, line 484 */ + if (ret < 0) return ret; + } + goto lab1; + lab2: + z->c = z->l - m2; + z->ket = z->c; /* [, line 485 */ + z->bra = z->c; /* ], line 485 */ + if (!(find_among_b(z, a_46, 31))) goto lab3; /* substring, line 485 */ + { int ret = slice_from_s(z, 4, s_82); /* <-, line 489 */ + if (ret < 0) return ret; + } + goto lab1; + lab3: + z->c = z->l - m2; + z->ket = z->c; /* [, line 491 */ + } +lab1: + z->bra = z->c; /* ], line 491 */ + if (!(find_among_b(z, a_47, 25))) return 0; /* substring, line 491 */ + if (z->c > z->lb) return 0; /* atlimit, line 491 */ + { int ret = slice_from_s(z, 4, s_83); /* <-, line 495 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5d(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 500 */ + if (z->c - 9 <= z->lb || z->p[z->c - 1] != 131) return 0; /* substring, line 500 */ + if (!(find_among_b(z, a_48, 2))) return 0; + z->bra = z->c; /* ], line 500 */ + { int ret = slice_del(z); /* delete, line 502 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 503 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 504 */ + z->ket = z->c; /* [, line 504 */ + z->bra = z->c; /* ], line 504 */ + if (!(eq_s_b(z, 6, s_84))) goto lab1; /* literal, line 504 */ + if (z->c > z->lb) goto lab1; /* atlimit, line 504 */ + { int ret = slice_from_s(z, 6, s_85); /* <-, line 504 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 505 */ + z->bra = z->c; /* ], line 505 */ + if (!(eq_s_b(z, 6, s_86))) return 0; /* literal, line 505 */ + { int ret = slice_from_s(z, 6, s_87); /* <-, line 505 */ + if (ret < 0) return ret; + } + } +lab0: + return 1; +} + +static int r_step5e(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 511 */ + if (z->c - 11 <= z->lb || z->p[z->c - 1] != 181) return 0; /* substring, line 511 */ + if (!(find_among_b(z, a_49, 2))) return 0; + z->bra = z->c; /* ], line 511 */ + { int ret = slice_del(z); /* delete, line 513 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 514 */ + z->ket = z->c; /* [, line 515 */ + z->bra = z->c; /* ], line 515 */ + if (!(eq_s_b(z, 4, s_88))) return 0; /* literal, line 515 */ + if (z->c > z->lb) return 0; /* atlimit, line 515 */ + { int ret = slice_from_s(z, 10, s_89); /* <-, line 515 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5f(struct SN_env * z) { /* backwardmode */ + { int m1 = z->l - z->c; (void)m1; /* do, line 521 */ + z->ket = z->c; /* [, line 522 */ + if (!(eq_s_b(z, 10, s_90))) goto lab0; /* literal, line 522 */ + z->bra = z->c; /* ], line 522 */ + { int ret = slice_del(z); /* delete, line 523 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 524 */ + z->ket = z->c; /* [, line 525 */ + z->bra = z->c; /* ], line 525 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 128 && z->p[z->c - 1] != 134)) goto lab0; /* substring, line 525 */ + if (!(find_among_b(z, a_50, 6))) goto lab0; + if (z->c > z->lb) goto lab0; /* atlimit, line 525 */ + { int ret = slice_from_s(z, 8, s_91); /* <-, line 526 */ + if (ret < 0) return ret; + } + lab0: + z->c = z->l - m1; + } + z->ket = z->c; /* [, line 529 */ + if (!(eq_s_b(z, 8, s_92))) return 0; /* literal, line 529 */ + z->bra = z->c; /* ], line 529 */ + { int ret = slice_del(z); /* delete, line 530 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 531 */ + z->ket = z->c; /* [, line 532 */ + z->bra = z->c; /* ], line 532 */ + if (!(find_among_b(z, a_51, 9))) return 0; /* substring, line 532 */ + if (z->c > z->lb) return 0; /* atlimit, line 532 */ + { int ret = slice_from_s(z, 8, s_93); /* <-, line 534 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5g(struct SN_env * z) { /* backwardmode */ + { int m1 = z->l - z->c; (void)m1; /* do, line 539 */ + z->ket = z->c; /* [, line 540 */ + if (!(find_among_b(z, a_52, 3))) goto lab0; /* substring, line 540 */ + z->bra = z->c; /* ], line 540 */ + { int ret = slice_del(z); /* delete, line 541 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 541 */ + lab0: + z->c = z->l - m1; + } + z->ket = z->c; /* [, line 544 */ + if (!(find_among_b(z, a_55, 3))) return 0; /* substring, line 544 */ + z->bra = z->c; /* ], line 544 */ + { int ret = slice_del(z); /* delete, line 546 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 547 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 550 */ + z->ket = z->c; /* [, line 548 */ + z->bra = z->c; /* ], line 548 */ + if (!(find_among_b(z, a_53, 6))) goto lab2; /* substring, line 548 */ + { int ret = slice_from_s(z, 4, s_94); /* <-, line 549 */ + if (ret < 0) return ret; + } + goto lab1; + lab2: + z->c = z->l - m2; + z->ket = z->c; /* [, line 551 */ + z->bra = z->c; /* ], line 551 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 184) return 0; /* substring, line 551 */ + if (!(find_among_b(z, a_54, 5))) return 0; + if (z->c > z->lb) return 0; /* atlimit, line 551 */ + { int ret = slice_from_s(z, 4, s_95); /* <-, line 552 */ + if (ret < 0) return ret; + } + } +lab1: + return 1; +} + +static int r_step5h(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 559 */ + if (!(find_among_b(z, a_58, 3))) return 0; /* substring, line 559 */ + z->bra = z->c; /* ], line 559 */ + { int ret = slice_del(z); /* delete, line 561 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 562 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 567 */ + z->ket = z->c; /* [, line 563 */ + z->bra = z->c; /* ], line 563 */ + if (!(find_among_b(z, a_56, 12))) goto lab1; /* substring, line 563 */ + { int ret = slice_from_s(z, 6, s_96); /* <-, line 565 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + z->ket = z->c; /* [, line 568 */ + z->bra = z->c; /* ], line 568 */ + if (!(find_among_b(z, a_57, 25))) return 0; /* substring, line 568 */ + if (z->c > z->lb) return 0; /* atlimit, line 568 */ + { int ret = slice_from_s(z, 6, s_97); /* <-, line 572 */ + if (ret < 0) return ret; + } + } +lab0: + return 1; +} + +static int r_step5i(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 579 */ + if (!(find_among_b(z, a_62, 3))) return 0; /* substring, line 579 */ + z->bra = z->c; /* ], line 579 */ + { int ret = slice_del(z); /* delete, line 581 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 582 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 583 */ + z->ket = z->c; /* [, line 583 */ + z->bra = z->c; /* ], line 583 */ + if (!(eq_s_b(z, 8, s_98))) goto lab1; /* literal, line 583 */ + { int ret = slice_from_s(z, 4, s_99); /* <-, line 583 */ + if (ret < 0) return ret; + } + goto lab0; + lab1: + z->c = z->l - m1; + { int m2 = z->l - z->c; (void)m2; /* not, line 584 */ + z->ket = z->c; /* [, line 584 */ + if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 134 && z->p[z->c - 1] != 135)) goto lab2; /* substring, line 584 */ + if (!(find_among_b(z, a_59, 2))) goto lab2; + z->bra = z->c; /* ], line 584 */ + return 0; + lab2: + z->c = z->l - m2; + } + { int m3 = z->l - z->c; (void)m3; /* or, line 588 */ + z->ket = z->c; /* [, line 585 */ + z->bra = z->c; /* ], line 585 */ + if (!(find_among_b(z, a_60, 10))) goto lab4; /* substring, line 585 */ + { int ret = slice_from_s(z, 4, s_100); /* <-, line 587 */ + if (ret < 0) return ret; + } + goto lab3; + lab4: + z->c = z->l - m3; + z->ket = z->c; /* [, line 589 */ + z->bra = z->c; /* ], line 589 */ + if (!(find_among_b(z, a_61, 44))) return 0; /* substring, line 589 */ + if (z->c > z->lb) return 0; /* atlimit, line 589 */ + { int ret = slice_from_s(z, 4, s_101); /* <-, line 595 */ + if (ret < 0) return ret; + } + } + lab3: + ; + } +lab0: + return 1; +} + +static int r_step5j(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 603 */ + if (!(find_among_b(z, a_63, 3))) return 0; /* substring, line 603 */ + z->bra = z->c; /* ], line 603 */ + { int ret = slice_del(z); /* delete, line 604 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 604 */ + z->ket = z->c; /* [, line 606 */ + z->bra = z->c; /* ], line 606 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 189) return 0; /* substring, line 606 */ + if (!(find_among_b(z, a_64, 6))) return 0; + if (z->c > z->lb) return 0; /* atlimit, line 606 */ + { int ret = slice_from_s(z, 4, s_102); /* <-, line 607 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5k(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 612 */ + if (z->c - 7 <= z->lb || z->p[z->c - 1] != 181) return 0; /* substring, line 612 */ + if (!(find_among_b(z, a_65, 1))) return 0; + z->bra = z->c; /* ], line 612 */ + { int ret = slice_del(z); /* delete, line 613 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 613 */ + z->ket = z->c; /* [, line 615 */ + z->bra = z->c; /* ], line 615 */ + if (!(find_among_b(z, a_66, 10))) return 0; /* substring, line 615 */ + if (z->c > z->lb) return 0; /* atlimit, line 615 */ + { int ret = slice_from_s(z, 6, s_103); /* <-, line 617 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5l(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 622 */ + if (z->c - 7 <= z->lb || z->p[z->c - 1] != 181) return 0; /* substring, line 622 */ + if (!(find_among_b(z, a_67, 3))) return 0; + z->bra = z->c; /* ], line 622 */ + { int ret = slice_del(z); /* delete, line 623 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 623 */ + z->ket = z->c; /* [, line 625 */ + z->bra = z->c; /* ], line 625 */ + if (!(find_among_b(z, a_68, 6))) return 0; /* substring, line 625 */ + if (z->c > z->lb) return 0; /* atlimit, line 625 */ + { int ret = slice_from_s(z, 6, s_104); /* <-, line 626 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step5m(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 631 */ + if (z->c - 7 <= z->lb || z->p[z->c - 1] != 181) return 0; /* substring, line 631 */ + if (!(find_among_b(z, a_69, 3))) return 0; + z->bra = z->c; /* ], line 631 */ + { int ret = slice_del(z); /* delete, line 632 */ + if (ret < 0) return ret; + } + z->B[0] = 0; /* unset test1, line 632 */ + z->ket = z->c; /* [, line 634 */ + z->bra = z->c; /* ], line 634 */ + if (!(find_among_b(z, a_70, 7))) return 0; /* substring, line 634 */ + if (z->c > z->lb) return 0; /* atlimit, line 634 */ + { int ret = slice_from_s(z, 6, s_105); /* <-, line 636 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step6(struct SN_env * z) { /* backwardmode */ + { int m1 = z->l - z->c; (void)m1; /* do, line 641 */ + z->ket = z->c; /* [, line 642 */ + if (!(find_among_b(z, a_71, 3))) goto lab0; /* substring, line 642 */ + z->bra = z->c; /* ], line 642 */ + { int ret = slice_from_s(z, 4, s_106); /* <-, line 643 */ + if (ret < 0) return ret; + } + lab0: + z->c = z->l - m1; + } + if (!(z->B[0])) return 0; /* Boolean test test1, line 646 */ + z->ket = z->c; /* [, line 647 */ + if (!(find_among_b(z, a_72, 84))) return 0; /* substring, line 647 */ + z->bra = z->c; /* ], line 647 */ + { int ret = slice_del(z); /* delete, line 657 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step7(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 662 */ + if (z->c - 7 <= z->lb || (z->p[z->c - 1] != 129 && z->p[z->c - 1] != 132)) return 0; /* substring, line 662 */ + if (!(find_among_b(z, a_73, 8))) return 0; + z->bra = z->c; /* ], line 662 */ + { int ret = slice_del(z); /* delete, line 663 */ + if (ret < 0) return ret; + } + return 1; +} + +extern int greek_UTF_8_stem(struct SN_env * z) { /* forwardmode */ + z->lb = z->c; z->c = z->l; /* backwards, line 669 */ + + { int m1 = z->l - z->c; (void)m1; /* do, line 670 */ + { int ret = r_tolower(z); /* call tolower, line 670 */ + if (ret < 0) return ret; + } + z->c = z->l - m1; + } + { int ret = r_has_min_length(z); /* call has_min_length, line 671 */ + if (ret <= 0) return ret; + } + z->B[0] = 1; /* set test1, line 672 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 673 */ + { int ret = r_step1(z); /* call step1, line 673 */ + if (ret < 0) return ret; + } + z->c = z->l - m2; + } + { int m3 = z->l - z->c; (void)m3; /* do, line 674 */ + { int ret = r_steps1(z); /* call steps1, line 674 */ + if (ret < 0) return ret; + } + z->c = z->l - m3; + } + { int m4 = z->l - z->c; (void)m4; /* do, line 675 */ + { int ret = r_steps2(z); /* call steps2, line 675 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + { int m5 = z->l - z->c; (void)m5; /* do, line 676 */ + { int ret = r_steps3(z); /* call steps3, line 676 */ + if (ret < 0) return ret; + } + z->c = z->l - m5; + } + { int m6 = z->l - z->c; (void)m6; /* do, line 677 */ + { int ret = r_steps4(z); /* call steps4, line 677 */ + if (ret < 0) return ret; + } + z->c = z->l - m6; + } + { int m7 = z->l - z->c; (void)m7; /* do, line 678 */ + { int ret = r_steps5(z); /* call steps5, line 678 */ + if (ret < 0) return ret; + } + z->c = z->l - m7; + } + { int m8 = z->l - z->c; (void)m8; /* do, line 679 */ + { int ret = r_steps6(z); /* call steps6, line 679 */ + if (ret < 0) return ret; + } + z->c = z->l - m8; + } + { int m9 = z->l - z->c; (void)m9; /* do, line 680 */ + { int ret = r_steps7(z); /* call steps7, line 680 */ + if (ret < 0) return ret; + } + z->c = z->l - m9; + } + { int m10 = z->l - z->c; (void)m10; /* do, line 681 */ + { int ret = r_steps8(z); /* call steps8, line 681 */ + if (ret < 0) return ret; + } + z->c = z->l - m10; + } + { int m11 = z->l - z->c; (void)m11; /* do, line 682 */ + { int ret = r_steps9(z); /* call steps9, line 682 */ + if (ret < 0) return ret; + } + z->c = z->l - m11; + } + { int m12 = z->l - z->c; (void)m12; /* do, line 683 */ + { int ret = r_steps10(z); /* call steps10, line 683 */ + if (ret < 0) return ret; + } + z->c = z->l - m12; + } + { int m13 = z->l - z->c; (void)m13; /* do, line 684 */ + { int ret = r_step2a(z); /* call step2a, line 684 */ + if (ret < 0) return ret; + } + z->c = z->l - m13; + } + { int m14 = z->l - z->c; (void)m14; /* do, line 685 */ + { int ret = r_step2b(z); /* call step2b, line 685 */ + if (ret < 0) return ret; + } + z->c = z->l - m14; + } + { int m15 = z->l - z->c; (void)m15; /* do, line 686 */ + { int ret = r_step2c(z); /* call step2c, line 686 */ + if (ret < 0) return ret; + } + z->c = z->l - m15; + } + { int m16 = z->l - z->c; (void)m16; /* do, line 687 */ + { int ret = r_step2d(z); /* call step2d, line 687 */ + if (ret < 0) return ret; + } + z->c = z->l - m16; + } + { int m17 = z->l - z->c; (void)m17; /* do, line 688 */ + { int ret = r_step3(z); /* call step3, line 688 */ + if (ret < 0) return ret; + } + z->c = z->l - m17; + } + { int m18 = z->l - z->c; (void)m18; /* do, line 689 */ + { int ret = r_step4(z); /* call step4, line 689 */ + if (ret < 0) return ret; + } + z->c = z->l - m18; + } + { int m19 = z->l - z->c; (void)m19; /* do, line 690 */ + { int ret = r_step5a(z); /* call step5a, line 690 */ + if (ret < 0) return ret; + } + z->c = z->l - m19; + } + { int m20 = z->l - z->c; (void)m20; /* do, line 691 */ + { int ret = r_step5b(z); /* call step5b, line 691 */ + if (ret < 0) return ret; + } + z->c = z->l - m20; + } + { int m21 = z->l - z->c; (void)m21; /* do, line 692 */ + { int ret = r_step5c(z); /* call step5c, line 692 */ + if (ret < 0) return ret; + } + z->c = z->l - m21; + } + { int m22 = z->l - z->c; (void)m22; /* do, line 693 */ + { int ret = r_step5d(z); /* call step5d, line 693 */ + if (ret < 0) return ret; + } + z->c = z->l - m22; + } + { int m23 = z->l - z->c; (void)m23; /* do, line 694 */ + { int ret = r_step5e(z); /* call step5e, line 694 */ + if (ret < 0) return ret; + } + z->c = z->l - m23; + } + { int m24 = z->l - z->c; (void)m24; /* do, line 695 */ + { int ret = r_step5f(z); /* call step5f, line 695 */ + if (ret < 0) return ret; + } + z->c = z->l - m24; + } + { int m25 = z->l - z->c; (void)m25; /* do, line 696 */ + { int ret = r_step5g(z); /* call step5g, line 696 */ + if (ret < 0) return ret; + } + z->c = z->l - m25; + } + { int m26 = z->l - z->c; (void)m26; /* do, line 697 */ + { int ret = r_step5h(z); /* call step5h, line 697 */ + if (ret < 0) return ret; + } + z->c = z->l - m26; + } + { int m27 = z->l - z->c; (void)m27; /* do, line 698 */ + { int ret = r_step5j(z); /* call step5j, line 698 */ + if (ret < 0) return ret; + } + z->c = z->l - m27; + } + { int m28 = z->l - z->c; (void)m28; /* do, line 699 */ + { int ret = r_step5i(z); /* call step5i, line 699 */ + if (ret < 0) return ret; + } + z->c = z->l - m28; + } + { int m29 = z->l - z->c; (void)m29; /* do, line 700 */ + { int ret = r_step5k(z); /* call step5k, line 700 */ + if (ret < 0) return ret; + } + z->c = z->l - m29; + } + { int m30 = z->l - z->c; (void)m30; /* do, line 701 */ + { int ret = r_step5l(z); /* call step5l, line 701 */ + if (ret < 0) return ret; + } + z->c = z->l - m30; + } + { int m31 = z->l - z->c; (void)m31; /* do, line 702 */ + { int ret = r_step5m(z); /* call step5m, line 702 */ + if (ret < 0) return ret; + } + z->c = z->l - m31; + } + { int m32 = z->l - z->c; (void)m32; /* do, line 703 */ + { int ret = r_step6(z); /* call step6, line 703 */ + if (ret < 0) return ret; + } + z->c = z->l - m32; + } + { int m33 = z->l - z->c; (void)m33; /* do, line 704 */ + { int ret = r_step7(z); /* call step7, line 704 */ + if (ret < 0) return ret; + } + z->c = z->l - m33; + } + z->c = z->lb; + return 1; +} + +extern struct SN_env * greek_UTF_8_create_env(void) { return SN_create_env(0, 0, 1); } + +extern void greek_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_UTF_8_greek.h b/src/dep/snowball/src_c/stem_UTF_8_greek.h new file mode 100644 index 0000000000..728e3c8fca --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_greek.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * greek_UTF_8_create_env(void); +extern void greek_UTF_8_close_env(struct SN_env * z); + +extern int greek_UTF_8_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_UTF_8_hungarian.c b/src/dep/snowball/src_c/stem_UTF_8_hungarian.c index 06aeca2460..cb61b256fa 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_hungarian.c +++ b/src/dep/snowball/src_c/stem_UTF_8_hungarian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -123,7 +122,7 @@ static const symbol s_3_1[2] = { 'e', 'l' }; static const struct among a_3[2] = { /* 0 */ { 2, s_3_0, -1, 1, 0}, -/* 1 */ { 2, s_3_1, -1, 2, 0} +/* 1 */ { 2, s_3_1, -1, 1, 0} }; static const symbol s_4_0[2] = { 'b', 'a' }; @@ -227,7 +226,7 @@ static const struct among a_5[3] = { /* 0 */ { 3, s_5_0, -1, 2, 0}, /* 1 */ { 3, s_5_1, -1, 1, 0}, -/* 2 */ { 8, s_5_2, -1, 3, 0} +/* 2 */ { 8, s_5_2, -1, 2, 0} }; static const symbol s_6_0[4] = { 's', 't', 'u', 'l' }; @@ -239,12 +238,12 @@ static const symbol s_6_5[7] = { 0xC3, 0xA9, 's', 't', 0xC3, 0xBC, 'l' }; static const struct among a_6[6] = { -/* 0 */ { 4, s_6_0, -1, 2, 0}, +/* 0 */ { 4, s_6_0, -1, 1, 0}, /* 1 */ { 5, s_6_1, 0, 1, 0}, -/* 2 */ { 6, s_6_2, 0, 3, 0}, -/* 3 */ { 5, s_6_3, -1, 2, 0}, +/* 2 */ { 6, s_6_2, 0, 2, 0}, +/* 3 */ { 5, s_6_3, -1, 1, 0}, /* 4 */ { 6, s_6_4, 3, 1, 0}, -/* 5 */ { 7, s_6_5, 3, 4, 0} +/* 5 */ { 7, s_6_5, 3, 3, 0} }; static const symbol s_7_0[2] = { 0xC3, 0xA1 }; @@ -253,7 +252,7 @@ static const symbol s_7_1[2] = { 0xC3, 0xA9 }; static const struct among a_7[2] = { /* 0 */ { 2, s_7_0, -1, 1, 0}, -/* 1 */ { 2, s_7_1, -1, 2, 0} +/* 1 */ { 2, s_7_1, -1, 1, 0} }; static const symbol s_8_0[1] = { 'k' }; @@ -266,10 +265,10 @@ static const symbol s_8_6[3] = { 0xC3, 0xB6, 'k' }; static const struct among a_8[7] = { -/* 0 */ { 1, s_8_0, -1, 7, 0}, -/* 1 */ { 2, s_8_1, 0, 4, 0}, -/* 2 */ { 2, s_8_2, 0, 6, 0}, -/* 3 */ { 2, s_8_3, 0, 5, 0}, +/* 0 */ { 1, s_8_0, -1, 3, 0}, +/* 1 */ { 2, s_8_1, 0, 3, 0}, +/* 2 */ { 2, s_8_2, 0, 3, 0}, +/* 3 */ { 2, s_8_3, 0, 3, 0}, /* 4 */ { 3, s_8_4, 0, 1, 0}, /* 5 */ { 3, s_8_5, 0, 2, 0}, /* 6 */ { 3, s_8_6, 0, 3, 0} @@ -290,18 +289,18 @@ static const symbol s_9_11[4] = { 0xC3, 0xA9, 0xC3, 0xA9 }; static const struct among a_9[12] = { -/* 0 */ { 3, s_9_0, -1, 7, 0}, -/* 1 */ { 5, s_9_1, 0, 6, 0}, -/* 2 */ { 5, s_9_2, 0, 5, 0}, -/* 3 */ { 2, s_9_3, -1, 9, 0}, -/* 4 */ { 3, s_9_4, 3, 4, 0}, +/* 0 */ { 3, s_9_0, -1, 1, 0}, +/* 1 */ { 5, s_9_1, 0, 3, 0}, +/* 2 */ { 5, s_9_2, 0, 2, 0}, +/* 3 */ { 2, s_9_3, -1, 1, 0}, +/* 4 */ { 3, s_9_4, 3, 1, 0}, /* 5 */ { 4, s_9_5, 4, 1, 0}, /* 6 */ { 4, s_9_6, 4, 1, 0}, /* 7 */ { 4, s_9_7, 4, 1, 0}, /* 8 */ { 5, s_9_8, 4, 3, 0}, /* 9 */ { 5, s_9_9, 4, 2, 0}, /* 10 */ { 5, s_9_10, 4, 1, 0}, -/* 11 */ { 4, s_9_11, 3, 8, 0} +/* 11 */ { 4, s_9_11, 3, 2, 0} }; static const symbol s_10_0[1] = { 'a' }; @@ -338,37 +337,37 @@ static const symbol s_10_30[2] = { 0xC3, 0xA9 }; static const struct among a_10[31] = { -/* 0 */ { 1, s_10_0, -1, 18, 0}, -/* 1 */ { 2, s_10_1, 0, 17, 0}, -/* 2 */ { 1, s_10_2, -1, 16, 0}, -/* 3 */ { 2, s_10_3, 2, 13, 0}, -/* 4 */ { 2, s_10_4, 2, 13, 0}, -/* 5 */ { 2, s_10_5, 2, 13, 0}, -/* 6 */ { 3, s_10_6, 2, 14, 0}, -/* 7 */ { 3, s_10_7, 2, 15, 0}, -/* 8 */ { 3, s_10_8, 2, 13, 0}, -/* 9 */ { 1, s_10_9, -1, 18, 0}, -/* 10 */ { 2, s_10_10, 9, 17, 0}, -/* 11 */ { 2, s_10_11, -1, 4, 0}, +/* 0 */ { 1, s_10_0, -1, 1, 0}, +/* 1 */ { 2, s_10_1, 0, 1, 0}, +/* 2 */ { 1, s_10_2, -1, 1, 0}, +/* 3 */ { 2, s_10_3, 2, 1, 0}, +/* 4 */ { 2, s_10_4, 2, 1, 0}, +/* 5 */ { 2, s_10_5, 2, 1, 0}, +/* 6 */ { 3, s_10_6, 2, 2, 0}, +/* 7 */ { 3, s_10_7, 2, 3, 0}, +/* 8 */ { 3, s_10_8, 2, 1, 0}, +/* 9 */ { 1, s_10_9, -1, 1, 0}, +/* 10 */ { 2, s_10_10, 9, 1, 0}, +/* 11 */ { 2, s_10_11, -1, 1, 0}, /* 12 */ { 3, s_10_12, 11, 1, 0}, /* 13 */ { 4, s_10_13, 11, 2, 0}, /* 14 */ { 4, s_10_14, 11, 3, 0}, /* 15 */ { 4, s_10_15, 11, 1, 0}, -/* 16 */ { 2, s_10_16, -1, 8, 0}, -/* 17 */ { 3, s_10_17, 16, 7, 0}, -/* 18 */ { 5, s_10_18, 17, 5, 0}, -/* 19 */ { 3, s_10_19, -1, 8, 0}, -/* 20 */ { 4, s_10_20, 19, 7, 0}, -/* 21 */ { 6, s_10_21, 20, 6, 0}, -/* 22 */ { 1, s_10_22, -1, 12, 0}, -/* 23 */ { 2, s_10_23, 22, 9, 0}, -/* 24 */ { 2, s_10_24, 22, 9, 0}, -/* 25 */ { 2, s_10_25, 22, 9, 0}, -/* 26 */ { 3, s_10_26, 22, 10, 0}, -/* 27 */ { 3, s_10_27, 22, 11, 0}, -/* 28 */ { 1, s_10_28, -1, 18, 0}, -/* 29 */ { 2, s_10_29, -1, 19, 0}, -/* 30 */ { 2, s_10_30, -1, 20, 0} +/* 16 */ { 2, s_10_16, -1, 1, 0}, +/* 17 */ { 3, s_10_17, 16, 1, 0}, +/* 18 */ { 5, s_10_18, 17, 2, 0}, +/* 19 */ { 3, s_10_19, -1, 1, 0}, +/* 20 */ { 4, s_10_20, 19, 1, 0}, +/* 21 */ { 6, s_10_21, 20, 3, 0}, +/* 22 */ { 1, s_10_22, -1, 1, 0}, +/* 23 */ { 2, s_10_23, 22, 1, 0}, +/* 24 */ { 2, s_10_24, 22, 1, 0}, +/* 25 */ { 2, s_10_25, 22, 1, 0}, +/* 26 */ { 3, s_10_26, 22, 2, 0}, +/* 27 */ { 3, s_10_27, 22, 3, 0}, +/* 28 */ { 1, s_10_28, -1, 1, 0}, +/* 29 */ { 2, s_10_29, -1, 2, 0}, +/* 30 */ { 2, s_10_30, -1, 3, 0} }; static const symbol s_11_0[2] = { 'i', 'd' }; @@ -416,45 +415,45 @@ static const symbol s_11_41[4] = { 0xC3, 0xA9, 'i', 'm' }; static const struct among a_11[42] = { -/* 0 */ { 2, s_11_0, -1, 10, 0}, -/* 1 */ { 3, s_11_1, 0, 9, 0}, -/* 2 */ { 4, s_11_2, 1, 6, 0}, -/* 3 */ { 3, s_11_3, 0, 9, 0}, -/* 4 */ { 4, s_11_4, 3, 6, 0}, -/* 5 */ { 4, s_11_5, 0, 7, 0}, -/* 6 */ { 4, s_11_6, 0, 8, 0}, -/* 7 */ { 1, s_11_7, -1, 15, 0}, -/* 8 */ { 2, s_11_8, 7, 14, 0}, -/* 9 */ { 3, s_11_9, 8, 11, 0}, -/* 10 */ { 2, s_11_10, 7, 14, 0}, -/* 11 */ { 3, s_11_11, 10, 11, 0}, -/* 12 */ { 3, s_11_12, 7, 12, 0}, -/* 13 */ { 3, s_11_13, 7, 13, 0}, -/* 14 */ { 4, s_11_14, -1, 24, 0}, -/* 15 */ { 5, s_11_15, 14, 21, 0}, -/* 16 */ { 6, s_11_16, 15, 20, 0}, -/* 17 */ { 6, s_11_17, 14, 23, 0}, -/* 18 */ { 2, s_11_18, -1, 29, 0}, -/* 19 */ { 3, s_11_19, 18, 26, 0}, -/* 20 */ { 4, s_11_20, 19, 25, 0}, -/* 21 */ { 3, s_11_21, 18, 26, 0}, -/* 22 */ { 4, s_11_22, 21, 25, 0}, -/* 23 */ { 4, s_11_23, 18, 27, 0}, -/* 24 */ { 4, s_11_24, 18, 28, 0}, -/* 25 */ { 3, s_11_25, -1, 20, 0}, -/* 26 */ { 4, s_11_26, 25, 17, 0}, -/* 27 */ { 5, s_11_27, 26, 16, 0}, -/* 28 */ { 4, s_11_28, 25, 17, 0}, -/* 29 */ { 5, s_11_29, 28, 16, 0}, -/* 30 */ { 5, s_11_30, 25, 18, 0}, -/* 31 */ { 5, s_11_31, 25, 19, 0}, -/* 32 */ { 5, s_11_32, -1, 21, 0}, -/* 33 */ { 6, s_11_33, 32, 20, 0}, -/* 34 */ { 6, s_11_34, -1, 22, 0}, -/* 35 */ { 2, s_11_35, -1, 5, 0}, -/* 36 */ { 3, s_11_36, 35, 4, 0}, +/* 0 */ { 2, s_11_0, -1, 1, 0}, +/* 1 */ { 3, s_11_1, 0, 1, 0}, +/* 2 */ { 4, s_11_2, 1, 1, 0}, +/* 3 */ { 3, s_11_3, 0, 1, 0}, +/* 4 */ { 4, s_11_4, 3, 1, 0}, +/* 5 */ { 4, s_11_5, 0, 2, 0}, +/* 6 */ { 4, s_11_6, 0, 3, 0}, +/* 7 */ { 1, s_11_7, -1, 1, 0}, +/* 8 */ { 2, s_11_8, 7, 1, 0}, +/* 9 */ { 3, s_11_9, 8, 1, 0}, +/* 10 */ { 2, s_11_10, 7, 1, 0}, +/* 11 */ { 3, s_11_11, 10, 1, 0}, +/* 12 */ { 3, s_11_12, 7, 2, 0}, +/* 13 */ { 3, s_11_13, 7, 3, 0}, +/* 14 */ { 4, s_11_14, -1, 1, 0}, +/* 15 */ { 5, s_11_15, 14, 1, 0}, +/* 16 */ { 6, s_11_16, 15, 1, 0}, +/* 17 */ { 6, s_11_17, 14, 3, 0}, +/* 18 */ { 2, s_11_18, -1, 1, 0}, +/* 19 */ { 3, s_11_19, 18, 1, 0}, +/* 20 */ { 4, s_11_20, 19, 1, 0}, +/* 21 */ { 3, s_11_21, 18, 1, 0}, +/* 22 */ { 4, s_11_22, 21, 1, 0}, +/* 23 */ { 4, s_11_23, 18, 2, 0}, +/* 24 */ { 4, s_11_24, 18, 3, 0}, +/* 25 */ { 3, s_11_25, -1, 1, 0}, +/* 26 */ { 4, s_11_26, 25, 1, 0}, +/* 27 */ { 5, s_11_27, 26, 1, 0}, +/* 28 */ { 4, s_11_28, 25, 1, 0}, +/* 29 */ { 5, s_11_29, 28, 1, 0}, +/* 30 */ { 5, s_11_30, 25, 2, 0}, +/* 31 */ { 5, s_11_31, 25, 3, 0}, +/* 32 */ { 5, s_11_32, -1, 1, 0}, +/* 33 */ { 6, s_11_33, 32, 1, 0}, +/* 34 */ { 6, s_11_34, -1, 2, 0}, +/* 35 */ { 2, s_11_35, -1, 1, 0}, +/* 36 */ { 3, s_11_36, 35, 1, 0}, /* 37 */ { 4, s_11_37, 36, 1, 0}, -/* 38 */ { 3, s_11_38, 35, 4, 0}, +/* 38 */ { 3, s_11_38, 35, 1, 0}, /* 39 */ { 4, s_11_39, 38, 1, 0}, /* 40 */ { 4, s_11_40, 35, 2, 0}, /* 41 */ { 4, s_11_41, 35, 3, 0} @@ -467,37 +466,15 @@ static const symbol s_1[] = { 'e' }; static const symbol s_2[] = { 'e' }; static const symbol s_3[] = { 'a' }; static const symbol s_4[] = { 'a' }; -static const symbol s_5[] = { 'a' }; -static const symbol s_6[] = { 'e' }; -static const symbol s_7[] = { 'a' }; +static const symbol s_5[] = { 'e' }; +static const symbol s_6[] = { 'a' }; +static const symbol s_7[] = { 'e' }; static const symbol s_8[] = { 'e' }; -static const symbol s_9[] = { 'e' }; +static const symbol s_9[] = { 'a' }; static const symbol s_10[] = { 'a' }; static const symbol s_11[] = { 'e' }; static const symbol s_12[] = { 'a' }; static const symbol s_13[] = { 'e' }; -static const symbol s_14[] = { 'a' }; -static const symbol s_15[] = { 'e' }; -static const symbol s_16[] = { 'a' }; -static const symbol s_17[] = { 'e' }; -static const symbol s_18[] = { 'a' }; -static const symbol s_19[] = { 'e' }; -static const symbol s_20[] = { 'a' }; -static const symbol s_21[] = { 'e' }; -static const symbol s_22[] = { 'a' }; -static const symbol s_23[] = { 'e' }; -static const symbol s_24[] = { 'a' }; -static const symbol s_25[] = { 'e' }; -static const symbol s_26[] = { 'a' }; -static const symbol s_27[] = { 'e' }; -static const symbol s_28[] = { 'a' }; -static const symbol s_29[] = { 'e' }; -static const symbol s_30[] = { 'a' }; -static const symbol s_31[] = { 'e' }; -static const symbol s_32[] = { 'a' }; -static const symbol s_33[] = { 'e' }; -static const symbol s_34[] = { 'a' }; -static const symbol s_35[] = { 'e' }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ z->I[0] = z->l; /* $p1 = , line 46 */ @@ -533,7 +510,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 58 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 58 */ return 1; } @@ -548,7 +525,6 @@ static int r_v_ending(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 61 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 1, s_0); /* <-, line 62 */ if (ret < 0) return ret; @@ -590,27 +566,15 @@ static int r_undouble(struct SN_env * z) { /* backwardmode */ } static int r_instrum(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 77 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] != 108) return 0; /* substring, line 77 */ - among_var = find_among_b(z, a_3, 2); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_3, 2))) return 0; z->bra = z->c; /* ], line 77 */ { int ret = r_R1(z); /* call R1, line 77 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 77 */ - case 0: return 0; - case 1: - { int ret = r_double(z); /* call double, line 78 */ - if (ret <= 0) return ret; - } - break; - case 2: - { int ret = r_double(z); /* call double, line 79 */ - if (ret <= 0) return ret; - } - break; + { int ret = r_double(z); /* call double, line 78 */ + if (ret <= 0) return ret; } { int ret = slice_del(z); /* delete, line 81 */ if (ret < 0) return ret; @@ -648,7 +612,6 @@ static int r_case_special(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 116 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 1, s_2); /* <-, line 117 */ if (ret < 0) return ret; @@ -659,11 +622,6 @@ static int r_case_special(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } break; - case 3: - { int ret = slice_from_s(z, 1, s_4); /* <-, line 119 */ - if (ret < 0) return ret; - } - break; } return 1; } @@ -679,24 +637,18 @@ static int r_case_other(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 124 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 125 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 126 */ + { int ret = slice_from_s(z, 1, s_4); /* <-, line 127 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_5); /* <-, line 127 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_from_s(z, 1, s_6); /* <-, line 128 */ + { int ret = slice_from_s(z, 1, s_5); /* <-, line 128 */ if (ret < 0) return ret; } break; @@ -705,27 +657,15 @@ static int r_case_other(struct SN_env * z) { /* backwardmode */ } static int r_factive(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 133 */ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 161 && z->p[z->c - 1] != 169)) return 0; /* substring, line 133 */ - among_var = find_among_b(z, a_7, 2); - if (!(among_var)) return 0; + if (!(find_among_b(z, a_7, 2))) return 0; z->bra = z->c; /* ], line 133 */ { int ret = r_R1(z); /* call R1, line 133 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 133 */ - case 0: return 0; - case 1: - { int ret = r_double(z); /* call double, line 134 */ - if (ret <= 0) return ret; - } - break; - case 2: - { int ret = r_double(z); /* call double, line 135 */ - if (ret <= 0) return ret; - } - break; + { int ret = r_double(z); /* call double, line 134 */ + if (ret <= 0) return ret; } { int ret = slice_del(z); /* delete, line 137 */ if (ret < 0) return ret; @@ -747,14 +687,13 @@ static int r_plural(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 142 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 1, s_7); /* <-, line 143 */ + { int ret = slice_from_s(z, 1, s_6); /* <-, line 143 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_8); /* <-, line 144 */ + { int ret = slice_from_s(z, 1, s_7); /* <-, line 144 */ if (ret < 0) return ret; } break; @@ -763,26 +702,6 @@ static int r_plural(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } break; - case 4: - { int ret = slice_del(z); /* delete, line 146 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_del(z); /* delete, line 147 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_del(z); /* delete, line 148 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_del(z); /* delete, line 149 */ - if (ret < 0) return ret; - } - break; } return 1; } @@ -798,49 +717,18 @@ static int r_owned(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 154 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 155 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_9); /* <-, line 156 */ + { int ret = slice_from_s(z, 1, s_8); /* <-, line 156 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_10); /* <-, line 157 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_del(z); /* delete, line 158 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_from_s(z, 1, s_11); /* <-, line 159 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_from_s(z, 1, s_12); /* <-, line 160 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_del(z); /* delete, line 161 */ - if (ret < 0) return ret; - } - break; - case 8: - { int ret = slice_from_s(z, 1, s_13); /* <-, line 162 */ - if (ret < 0) return ret; - } - break; - case 9: - { int ret = slice_del(z); /* delete, line 163 */ + { int ret = slice_from_s(z, 1, s_9); /* <-, line 157 */ if (ret < 0) return ret; } break; @@ -858,104 +746,18 @@ static int r_sing_owner(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 168 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 169 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_14); /* <-, line 170 */ + { int ret = slice_from_s(z, 1, s_10); /* <-, line 170 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_15); /* <-, line 171 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_del(z); /* delete, line 172 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_from_s(z, 1, s_16); /* <-, line 173 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_from_s(z, 1, s_17); /* <-, line 174 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_del(z); /* delete, line 175 */ - if (ret < 0) return ret; - } - break; - case 8: - { int ret = slice_del(z); /* delete, line 176 */ - if (ret < 0) return ret; - } - break; - case 9: - { int ret = slice_del(z); /* delete, line 177 */ - if (ret < 0) return ret; - } - break; - case 10: - { int ret = slice_from_s(z, 1, s_18); /* <-, line 178 */ - if (ret < 0) return ret; - } - break; - case 11: - { int ret = slice_from_s(z, 1, s_19); /* <-, line 179 */ - if (ret < 0) return ret; - } - break; - case 12: - { int ret = slice_del(z); /* delete, line 180 */ - if (ret < 0) return ret; - } - break; - case 13: - { int ret = slice_del(z); /* delete, line 181 */ - if (ret < 0) return ret; - } - break; - case 14: - { int ret = slice_from_s(z, 1, s_20); /* <-, line 182 */ - if (ret < 0) return ret; - } - break; - case 15: - { int ret = slice_from_s(z, 1, s_21); /* <-, line 183 */ - if (ret < 0) return ret; - } - break; - case 16: - { int ret = slice_del(z); /* delete, line 184 */ - if (ret < 0) return ret; - } - break; - case 17: - { int ret = slice_del(z); /* delete, line 185 */ - if (ret < 0) return ret; - } - break; - case 18: - { int ret = slice_del(z); /* delete, line 186 */ - if (ret < 0) return ret; - } - break; - case 19: - { int ret = slice_from_s(z, 1, s_22); /* <-, line 187 */ - if (ret < 0) return ret; - } - break; - case 20: - { int ret = slice_from_s(z, 1, s_23); /* <-, line 188 */ + { int ret = slice_from_s(z, 1, s_11); /* <-, line 171 */ if (ret < 0) return ret; } break; @@ -974,149 +776,18 @@ static int r_plur_owner(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 193 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 194 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 1, s_24); /* <-, line 195 */ + { int ret = slice_from_s(z, 1, s_12); /* <-, line 195 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_25); /* <-, line 196 */ - if (ret < 0) return ret; - } - break; - case 4: - { int ret = slice_del(z); /* delete, line 197 */ - if (ret < 0) return ret; - } - break; - case 5: - { int ret = slice_del(z); /* delete, line 198 */ - if (ret < 0) return ret; - } - break; - case 6: - { int ret = slice_del(z); /* delete, line 199 */ - if (ret < 0) return ret; - } - break; - case 7: - { int ret = slice_from_s(z, 1, s_26); /* <-, line 200 */ - if (ret < 0) return ret; - } - break; - case 8: - { int ret = slice_from_s(z, 1, s_27); /* <-, line 201 */ - if (ret < 0) return ret; - } - break; - case 9: - { int ret = slice_del(z); /* delete, line 202 */ - if (ret < 0) return ret; - } - break; - case 10: - { int ret = slice_del(z); /* delete, line 203 */ - if (ret < 0) return ret; - } - break; - case 11: - { int ret = slice_del(z); /* delete, line 204 */ - if (ret < 0) return ret; - } - break; - case 12: - { int ret = slice_from_s(z, 1, s_28); /* <-, line 205 */ - if (ret < 0) return ret; - } - break; - case 13: - { int ret = slice_from_s(z, 1, s_29); /* <-, line 206 */ - if (ret < 0) return ret; - } - break; - case 14: - { int ret = slice_del(z); /* delete, line 207 */ - if (ret < 0) return ret; - } - break; - case 15: - { int ret = slice_del(z); /* delete, line 208 */ - if (ret < 0) return ret; - } - break; - case 16: - { int ret = slice_del(z); /* delete, line 209 */ - if (ret < 0) return ret; - } - break; - case 17: - { int ret = slice_del(z); /* delete, line 210 */ - if (ret < 0) return ret; - } - break; - case 18: - { int ret = slice_from_s(z, 1, s_30); /* <-, line 211 */ - if (ret < 0) return ret; - } - break; - case 19: - { int ret = slice_from_s(z, 1, s_31); /* <-, line 212 */ - if (ret < 0) return ret; - } - break; - case 20: - { int ret = slice_del(z); /* delete, line 214 */ - if (ret < 0) return ret; - } - break; - case 21: - { int ret = slice_del(z); /* delete, line 215 */ - if (ret < 0) return ret; - } - break; - case 22: - { int ret = slice_from_s(z, 1, s_32); /* <-, line 216 */ - if (ret < 0) return ret; - } - break; - case 23: - { int ret = slice_from_s(z, 1, s_33); /* <-, line 217 */ - if (ret < 0) return ret; - } - break; - case 24: - { int ret = slice_del(z); /* delete, line 218 */ - if (ret < 0) return ret; - } - break; - case 25: - { int ret = slice_del(z); /* delete, line 219 */ - if (ret < 0) return ret; - } - break; - case 26: - { int ret = slice_del(z); /* delete, line 220 */ - if (ret < 0) return ret; - } - break; - case 27: - { int ret = slice_from_s(z, 1, s_34); /* <-, line 221 */ - if (ret < 0) return ret; - } - break; - case 28: - { int ret = slice_from_s(z, 1, s_35); /* <-, line 222 */ - if (ret < 0) return ret; - } - break; - case 29: - { int ret = slice_del(z); /* delete, line 223 */ + { int ret = slice_from_s(z, 1, s_13); /* <-, line 196 */ if (ret < 0) return ret; } break; @@ -1127,84 +798,64 @@ static int r_plur_owner(struct SN_env * z) { /* backwardmode */ extern int hungarian_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 229 */ { int ret = r_mark_regions(z); /* call mark_regions, line 229 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } z->lb = z->c; z->c = z->l; /* backwards, line 230 */ { int m2 = z->l - z->c; (void)m2; /* do, line 231 */ { int ret = r_instrum(z); /* call instrum, line 231 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 232 */ { int ret = r_case(z); /* call case, line 232 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } { int m4 = z->l - z->c; (void)m4; /* do, line 233 */ { int ret = r_case_special(z); /* call case_special, line 233 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } { int m5 = z->l - z->c; (void)m5; /* do, line 234 */ { int ret = r_case_other(z); /* call case_other, line 234 */ - if (ret == 0) goto lab4; if (ret < 0) return ret; } - lab4: z->c = z->l - m5; } { int m6 = z->l - z->c; (void)m6; /* do, line 235 */ { int ret = r_factive(z); /* call factive, line 235 */ - if (ret == 0) goto lab5; if (ret < 0) return ret; } - lab5: z->c = z->l - m6; } { int m7 = z->l - z->c; (void)m7; /* do, line 236 */ { int ret = r_owned(z); /* call owned, line 236 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: z->c = z->l - m7; } { int m8 = z->l - z->c; (void)m8; /* do, line 237 */ { int ret = r_sing_owner(z); /* call sing_owner, line 237 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: z->c = z->l - m8; } { int m9 = z->l - z->c; (void)m9; /* do, line 238 */ { int ret = r_plur_owner(z); /* call plur_owner, line 238 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: z->c = z->l - m9; } { int m10 = z->l - z->c; (void)m10; /* do, line 239 */ { int ret = r_plural(z); /* call plural, line 239 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: z->c = z->l - m10; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_UTF_8_hungarian.h b/src/dep/snowball/src_c/stem_UTF_8_hungarian.h index d662a83635..92d5b61f90 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_hungarian.h +++ b/src/dep/snowball/src_c/stem_UTF_8_hungarian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_indonesian.c b/src/dep/snowball/src_c/stem_UTF_8_indonesian.c new file mode 100644 index 0000000000..5984dbab98 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_indonesian.c @@ -0,0 +1,408 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int indonesian_UTF_8_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_VOWEL(struct SN_env * z); +static int r_SUFFIX_I_OK(struct SN_env * z); +static int r_SUFFIX_AN_OK(struct SN_env * z); +static int r_SUFFIX_KAN_OK(struct SN_env * z); +static int r_KER(struct SN_env * z); +static int r_remove_suffix(struct SN_env * z); +static int r_remove_second_order_prefix(struct SN_env * z); +static int r_remove_first_order_prefix(struct SN_env * z); +static int r_remove_possessive_pronoun(struct SN_env * z); +static int r_remove_particle(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * indonesian_UTF_8_create_env(void); +extern void indonesian_UTF_8_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[3] = { 'k', 'a', 'h' }; +static const symbol s_0_1[3] = { 'l', 'a', 'h' }; +static const symbol s_0_2[3] = { 'p', 'u', 'n' }; + +static const struct among a_0[3] = +{ +/* 0 */ { 3, s_0_0, -1, 1, 0}, +/* 1 */ { 3, s_0_1, -1, 1, 0}, +/* 2 */ { 3, s_0_2, -1, 1, 0} +}; + +static const symbol s_1_0[3] = { 'n', 'y', 'a' }; +static const symbol s_1_1[2] = { 'k', 'u' }; +static const symbol s_1_2[2] = { 'm', 'u' }; + +static const struct among a_1[3] = +{ +/* 0 */ { 3, s_1_0, -1, 1, 0}, +/* 1 */ { 2, s_1_1, -1, 1, 0}, +/* 2 */ { 2, s_1_2, -1, 1, 0} +}; + +static const symbol s_2_0[1] = { 'i' }; +static const symbol s_2_1[2] = { 'a', 'n' }; +static const symbol s_2_2[3] = { 'k', 'a', 'n' }; + +static const struct among a_2[3] = +{ +/* 0 */ { 1, s_2_0, -1, 1, r_SUFFIX_I_OK}, +/* 1 */ { 2, s_2_1, -1, 1, r_SUFFIX_AN_OK}, +/* 2 */ { 3, s_2_2, 1, 1, r_SUFFIX_KAN_OK} +}; + +static const symbol s_3_0[2] = { 'd', 'i' }; +static const symbol s_3_1[2] = { 'k', 'e' }; +static const symbol s_3_2[2] = { 'm', 'e' }; +static const symbol s_3_3[3] = { 'm', 'e', 'm' }; +static const symbol s_3_4[3] = { 'm', 'e', 'n' }; +static const symbol s_3_5[4] = { 'm', 'e', 'n', 'g' }; +static const symbol s_3_6[4] = { 'm', 'e', 'n', 'y' }; +static const symbol s_3_7[3] = { 'p', 'e', 'm' }; +static const symbol s_3_8[3] = { 'p', 'e', 'n' }; +static const symbol s_3_9[4] = { 'p', 'e', 'n', 'g' }; +static const symbol s_3_10[4] = { 'p', 'e', 'n', 'y' }; +static const symbol s_3_11[3] = { 't', 'e', 'r' }; + +static const struct among a_3[12] = +{ +/* 0 */ { 2, s_3_0, -1, 1, 0}, +/* 1 */ { 2, s_3_1, -1, 2, 0}, +/* 2 */ { 2, s_3_2, -1, 1, 0}, +/* 3 */ { 3, s_3_3, 2, 5, 0}, +/* 4 */ { 3, s_3_4, 2, 1, 0}, +/* 5 */ { 4, s_3_5, 4, 1, 0}, +/* 6 */ { 4, s_3_6, 4, 3, r_VOWEL}, +/* 7 */ { 3, s_3_7, -1, 6, 0}, +/* 8 */ { 3, s_3_8, -1, 2, 0}, +/* 9 */ { 4, s_3_9, 8, 2, 0}, +/* 10 */ { 4, s_3_10, 8, 4, r_VOWEL}, +/* 11 */ { 3, s_3_11, -1, 1, 0} +}; + +static const symbol s_4_0[2] = { 'b', 'e' }; +static const symbol s_4_1[7] = { 'b', 'e', 'l', 'a', 'j', 'a', 'r' }; +static const symbol s_4_2[3] = { 'b', 'e', 'r' }; +static const symbol s_4_3[2] = { 'p', 'e' }; +static const symbol s_4_4[7] = { 'p', 'e', 'l', 'a', 'j', 'a', 'r' }; +static const symbol s_4_5[3] = { 'p', 'e', 'r' }; + +static const struct among a_4[6] = +{ +/* 0 */ { 2, s_4_0, -1, 3, r_KER}, +/* 1 */ { 7, s_4_1, 0, 4, 0}, +/* 2 */ { 3, s_4_2, 0, 3, 0}, +/* 3 */ { 2, s_4_3, -1, 1, 0}, +/* 4 */ { 7, s_4_4, 3, 2, 0}, +/* 5 */ { 3, s_4_5, 3, 1, 0} +}; + +static const unsigned char g_vowel[] = { 17, 65, 16 }; + +static const symbol s_0[] = { 'e', 'r' }; +static const symbol s_1[] = { 's' }; +static const symbol s_2[] = { 's' }; +static const symbol s_3[] = { 'p' }; +static const symbol s_4[] = { 'p' }; +static const symbol s_5[] = { 'a', 'j', 'a', 'r' }; +static const symbol s_6[] = { 'a', 'j', 'a', 'r' }; + +static int r_remove_particle(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 51 */ + if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 104 && z->p[z->c - 1] != 110)) return 0; /* substring, line 51 */ + if (!(find_among_b(z, a_0, 3))) return 0; + z->bra = z->c; /* ], line 51 */ + { int ret = slice_del(z); /* delete, line 52 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 52 */ + return 1; +} + +static int r_remove_possessive_pronoun(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 57 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 117)) return 0; /* substring, line 57 */ + if (!(find_among_b(z, a_1, 3))) return 0; + z->bra = z->c; /* ], line 57 */ + { int ret = slice_del(z); /* delete, line 58 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 58 */ + return 1; +} + +static int r_SUFFIX_KAN_OK(struct SN_env * z) { /* backwardmode */ + /* and, line 85 */ + if (!(z->I[1] != 3)) return 0; /* $( != ), line 85 */ + if (!(z->I[1] != 2)) return 0; /* $( != ), line 85 */ + return 1; +} + +static int r_SUFFIX_AN_OK(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] != 1)) return 0; /* $( != ), line 89 */ + return 1; +} + +static int r_SUFFIX_I_OK(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= 2)) return 0; /* $( <= ), line 93 */ + { int m1 = z->l - z->c; (void)m1; /* not, line 128 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab0; /* literal, line 128 */ + z->c--; + return 0; + lab0: + z->c = z->l - m1; + } + return 1; +} + +static int r_remove_suffix(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 132 */ + if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 110)) return 0; /* substring, line 132 */ + if (!(find_among_b(z, a_2, 3))) return 0; + z->bra = z->c; /* ], line 132 */ + { int ret = slice_del(z); /* delete, line 134 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 134 */ + return 1; +} + +static int r_VOWEL(struct SN_env * z) { /* forwardmode */ + if (in_grouping_U(z, g_vowel, 97, 117, 0)) return 0; /* grouping vowel, line 141 */ + return 1; +} + +static int r_KER(struct SN_env * z) { /* forwardmode */ + if (out_grouping_U(z, g_vowel, 97, 117, 0)) return 0; /* non vowel, line 143 */ + if (!(eq_s(z, 2, s_0))) return 0; /* literal, line 143 */ + return 1; +} + +static int r_remove_first_order_prefix(struct SN_env * z) { /* forwardmode */ + int among_var; + z->bra = z->c; /* [, line 146 */ + if (z->c + 1 >= z->l || (z->p[z->c + 1] != 105 && z->p[z->c + 1] != 101)) return 0; /* substring, line 146 */ + among_var = find_among(z, a_3, 12); + if (!(among_var)) return 0; + z->ket = z->c; /* ], line 146 */ + switch (among_var) { /* among, line 146 */ + case 1: + { int ret = slice_del(z); /* delete, line 147 */ + if (ret < 0) return ret; + } + z->I[1] = 1; /* $prefix = , line 147 */ + z->I[0] -= 1; /* $measure -= , line 147 */ + break; + case 2: + { int ret = slice_del(z); /* delete, line 148 */ + if (ret < 0) return ret; + } + z->I[1] = 3; /* $prefix = , line 148 */ + z->I[0] -= 1; /* $measure -= , line 148 */ + break; + case 3: + z->I[1] = 1; /* $prefix = , line 149 */ + { int ret = slice_from_s(z, 1, s_1); /* <-, line 149 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 149 */ + break; + case 4: + z->I[1] = 3; /* $prefix = , line 150 */ + { int ret = slice_from_s(z, 1, s_2); /* <-, line 150 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 150 */ + break; + case 5: + z->I[1] = 1; /* $prefix = , line 151 */ + z->I[0] -= 1; /* $measure -= , line 151 */ + { int c1 = z->c; /* or, line 151 */ + { int c2 = z->c; /* and, line 151 */ + if (in_grouping_U(z, g_vowel, 97, 117, 0)) goto lab1; /* grouping vowel, line 151 */ + z->c = c2; + { int ret = slice_from_s(z, 1, s_3); /* <-, line 151 */ + if (ret < 0) return ret; + } + } + goto lab0; + lab1: + z->c = c1; + { int ret = slice_del(z); /* delete, line 151 */ + if (ret < 0) return ret; + } + } + lab0: + break; + case 6: + z->I[1] = 3; /* $prefix = , line 152 */ + z->I[0] -= 1; /* $measure -= , line 152 */ + { int c3 = z->c; /* or, line 152 */ + { int c4 = z->c; /* and, line 152 */ + if (in_grouping_U(z, g_vowel, 97, 117, 0)) goto lab3; /* grouping vowel, line 152 */ + z->c = c4; + { int ret = slice_from_s(z, 1, s_4); /* <-, line 152 */ + if (ret < 0) return ret; + } + } + goto lab2; + lab3: + z->c = c3; + { int ret = slice_del(z); /* delete, line 152 */ + if (ret < 0) return ret; + } + } + lab2: + break; + } + return 1; +} + +static int r_remove_second_order_prefix(struct SN_env * z) { /* forwardmode */ + int among_var; + z->bra = z->c; /* [, line 162 */ + if (z->c + 1 >= z->l || z->p[z->c + 1] != 101) return 0; /* substring, line 162 */ + among_var = find_among(z, a_4, 6); + if (!(among_var)) return 0; + z->ket = z->c; /* ], line 162 */ + switch (among_var) { /* among, line 162 */ + case 1: + { int ret = slice_del(z); /* delete, line 163 */ + if (ret < 0) return ret; + } + z->I[1] = 2; /* $prefix = , line 163 */ + z->I[0] -= 1; /* $measure -= , line 163 */ + break; + case 2: + { int ret = slice_from_s(z, 4, s_5); /* <-, line 164 */ + if (ret < 0) return ret; + } + z->I[0] -= 1; /* $measure -= , line 164 */ + break; + case 3: + { int ret = slice_del(z); /* delete, line 165 */ + if (ret < 0) return ret; + } + z->I[1] = 4; /* $prefix = , line 165 */ + z->I[0] -= 1; /* $measure -= , line 165 */ + break; + case 4: + { int ret = slice_from_s(z, 4, s_6); /* <-, line 166 */ + if (ret < 0) return ret; + } + z->I[1] = 4; /* $prefix = , line 166 */ + z->I[0] -= 1; /* $measure -= , line 166 */ + break; + } + return 1; +} + +extern int indonesian_UTF_8_stem(struct SN_env * z) { /* forwardmode */ + z->I[0] = 0; /* $measure = , line 172 */ + { int c1 = z->c; /* do, line 173 */ +/* repeat, line 173 */ + + while(1) { int c2 = z->c; + { /* gopast */ /* grouping vowel, line 173 */ + int ret = out_grouping_U(z, g_vowel, 97, 117, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + z->I[0] += 1; /* $measure += , line 173 */ + continue; + lab1: + z->c = c2; + break; + } + z->c = c1; + } + if (!(z->I[0] > 2)) return 0; /* $( > ), line 174 */ + z->I[1] = 0; /* $prefix = , line 175 */ + z->lb = z->c; z->c = z->l; /* backwards, line 176 */ + + { int m3 = z->l - z->c; (void)m3; /* do, line 177 */ + { int ret = r_remove_particle(z); /* call remove_particle, line 177 */ + if (ret < 0) return ret; + } + z->c = z->l - m3; + } + if (!(z->I[0] > 2)) return 0; /* $( > ), line 178 */ + { int m4 = z->l - z->c; (void)m4; /* do, line 179 */ + { int ret = r_remove_possessive_pronoun(z); /* call remove_possessive_pronoun, line 179 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + z->c = z->lb; + if (!(z->I[0] > 2)) return 0; /* $( > ), line 181 */ + { int c5 = z->c; /* or, line 188 */ + { int c_test6 = z->c; /* test, line 182 */ + { int ret = r_remove_first_order_prefix(z); /* call remove_first_order_prefix, line 183 */ + if (ret == 0) goto lab3; + if (ret < 0) return ret; + } + { int c7 = z->c; /* do, line 184 */ + { int c_test8 = z->c; /* test, line 185 */ + if (!(z->I[0] > 2)) goto lab4; /* $( > ), line 185 */ + z->lb = z->c; z->c = z->l; /* backwards, line 185 */ + + { int ret = r_remove_suffix(z); /* call remove_suffix, line 185 */ + if (ret == 0) goto lab4; + if (ret < 0) return ret; + } + z->c = z->lb; + z->c = c_test8; + } + if (!(z->I[0] > 2)) goto lab4; /* $( > ), line 186 */ + { int ret = r_remove_second_order_prefix(z); /* call remove_second_order_prefix, line 186 */ + if (ret == 0) goto lab4; + if (ret < 0) return ret; + } + lab4: + z->c = c7; + } + z->c = c_test6; + } + goto lab2; + lab3: + z->c = c5; + { int c9 = z->c; /* do, line 189 */ + { int ret = r_remove_second_order_prefix(z); /* call remove_second_order_prefix, line 189 */ + if (ret < 0) return ret; + } + z->c = c9; + } + { int c10 = z->c; /* do, line 190 */ + if (!(z->I[0] > 2)) goto lab5; /* $( > ), line 190 */ + z->lb = z->c; z->c = z->l; /* backwards, line 190 */ + + { int ret = r_remove_suffix(z); /* call remove_suffix, line 190 */ + if (ret == 0) goto lab5; + if (ret < 0) return ret; + } + z->c = z->lb; + lab5: + z->c = c10; + } + } +lab2: + return 1; +} + +extern struct SN_env * indonesian_UTF_8_create_env(void) { return SN_create_env(0, 2, 0); } + +extern void indonesian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_UTF_8_indonesian.h b/src/dep/snowball/src_c/stem_UTF_8_indonesian.h new file mode 100644 index 0000000000..4d37237e00 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_indonesian.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * indonesian_UTF_8_create_env(void); +extern void indonesian_UTF_8_close_env(struct SN_env * z); + +extern int indonesian_UTF_8_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_UTF_8_irish.c b/src/dep/snowball/src_c/stem_UTF_8_irish.c new file mode 100644 index 0000000000..733c5e138d --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_irish.c @@ -0,0 +1,479 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int irish_UTF_8_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_verb_sfx(struct SN_env * z); +static int r_deriv(struct SN_env * z); +static int r_noun_sfx(struct SN_env * z); +static int r_mark_regions(struct SN_env * z); +static int r_initial_morph(struct SN_env * z); +static int r_RV(struct SN_env * z); +static int r_R2(struct SN_env * z); +static int r_R1(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * irish_UTF_8_create_env(void); +extern void irish_UTF_8_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[2] = { 'b', '\'' }; +static const symbol s_0_1[2] = { 'b', 'h' }; +static const symbol s_0_2[3] = { 'b', 'h', 'f' }; +static const symbol s_0_3[2] = { 'b', 'p' }; +static const symbol s_0_4[2] = { 'c', 'h' }; +static const symbol s_0_5[2] = { 'd', '\'' }; +static const symbol s_0_6[4] = { 'd', '\'', 'f', 'h' }; +static const symbol s_0_7[2] = { 'd', 'h' }; +static const symbol s_0_8[2] = { 'd', 't' }; +static const symbol s_0_9[2] = { 'f', 'h' }; +static const symbol s_0_10[2] = { 'g', 'c' }; +static const symbol s_0_11[2] = { 'g', 'h' }; +static const symbol s_0_12[2] = { 'h', '-' }; +static const symbol s_0_13[2] = { 'm', '\'' }; +static const symbol s_0_14[2] = { 'm', 'b' }; +static const symbol s_0_15[2] = { 'm', 'h' }; +static const symbol s_0_16[2] = { 'n', '-' }; +static const symbol s_0_17[2] = { 'n', 'd' }; +static const symbol s_0_18[2] = { 'n', 'g' }; +static const symbol s_0_19[2] = { 'p', 'h' }; +static const symbol s_0_20[2] = { 's', 'h' }; +static const symbol s_0_21[2] = { 't', '-' }; +static const symbol s_0_22[2] = { 't', 'h' }; +static const symbol s_0_23[2] = { 't', 's' }; + +static const struct among a_0[24] = +{ +/* 0 */ { 2, s_0_0, -1, 1, 0}, +/* 1 */ { 2, s_0_1, -1, 4, 0}, +/* 2 */ { 3, s_0_2, 1, 2, 0}, +/* 3 */ { 2, s_0_3, -1, 8, 0}, +/* 4 */ { 2, s_0_4, -1, 5, 0}, +/* 5 */ { 2, s_0_5, -1, 1, 0}, +/* 6 */ { 4, s_0_6, 5, 2, 0}, +/* 7 */ { 2, s_0_7, -1, 6, 0}, +/* 8 */ { 2, s_0_8, -1, 9, 0}, +/* 9 */ { 2, s_0_9, -1, 2, 0}, +/* 10 */ { 2, s_0_10, -1, 5, 0}, +/* 11 */ { 2, s_0_11, -1, 7, 0}, +/* 12 */ { 2, s_0_12, -1, 1, 0}, +/* 13 */ { 2, s_0_13, -1, 1, 0}, +/* 14 */ { 2, s_0_14, -1, 4, 0}, +/* 15 */ { 2, s_0_15, -1, 10, 0}, +/* 16 */ { 2, s_0_16, -1, 1, 0}, +/* 17 */ { 2, s_0_17, -1, 6, 0}, +/* 18 */ { 2, s_0_18, -1, 7, 0}, +/* 19 */ { 2, s_0_19, -1, 8, 0}, +/* 20 */ { 2, s_0_20, -1, 3, 0}, +/* 21 */ { 2, s_0_21, -1, 1, 0}, +/* 22 */ { 2, s_0_22, -1, 9, 0}, +/* 23 */ { 2, s_0_23, -1, 3, 0} +}; + +static const symbol s_1_0[7] = { 0xC3, 0xAD, 'o', 'c', 'h', 't', 'a' }; +static const symbol s_1_1[8] = { 'a', 0xC3, 0xAD, 'o', 'c', 'h', 't', 'a' }; +static const symbol s_1_2[3] = { 'i', 'r', 'e' }; +static const symbol s_1_3[4] = { 'a', 'i', 'r', 'e' }; +static const symbol s_1_4[3] = { 'a', 'b', 'h' }; +static const symbol s_1_5[4] = { 'e', 'a', 'b', 'h' }; +static const symbol s_1_6[3] = { 'i', 'b', 'h' }; +static const symbol s_1_7[4] = { 'a', 'i', 'b', 'h' }; +static const symbol s_1_8[3] = { 'a', 'm', 'h' }; +static const symbol s_1_9[4] = { 'e', 'a', 'm', 'h' }; +static const symbol s_1_10[3] = { 'i', 'm', 'h' }; +static const symbol s_1_11[4] = { 'a', 'i', 'm', 'h' }; +static const symbol s_1_12[6] = { 0xC3, 0xAD, 'o', 'c', 'h', 't' }; +static const symbol s_1_13[7] = { 'a', 0xC3, 0xAD, 'o', 'c', 'h', 't' }; +static const symbol s_1_14[4] = { 'i', 'r', 0xC3, 0xAD }; +static const symbol s_1_15[5] = { 'a', 'i', 'r', 0xC3, 0xAD }; + +static const struct among a_1[16] = +{ +/* 0 */ { 7, s_1_0, -1, 1, 0}, +/* 1 */ { 8, s_1_1, 0, 1, 0}, +/* 2 */ { 3, s_1_2, -1, 2, 0}, +/* 3 */ { 4, s_1_3, 2, 2, 0}, +/* 4 */ { 3, s_1_4, -1, 1, 0}, +/* 5 */ { 4, s_1_5, 4, 1, 0}, +/* 6 */ { 3, s_1_6, -1, 1, 0}, +/* 7 */ { 4, s_1_7, 6, 1, 0}, +/* 8 */ { 3, s_1_8, -1, 1, 0}, +/* 9 */ { 4, s_1_9, 8, 1, 0}, +/* 10 */ { 3, s_1_10, -1, 1, 0}, +/* 11 */ { 4, s_1_11, 10, 1, 0}, +/* 12 */ { 6, s_1_12, -1, 1, 0}, +/* 13 */ { 7, s_1_13, 12, 1, 0}, +/* 14 */ { 4, s_1_14, -1, 2, 0}, +/* 15 */ { 5, s_1_15, 14, 2, 0} +}; + +static const symbol s_2_0[9] = { 0xC3, 0xB3, 'i', 'd', 'e', 'a', 'c', 'h', 'a' }; +static const symbol s_2_1[7] = { 'p', 'a', 't', 'a', 'c', 'h', 'a' }; +static const symbol s_2_2[5] = { 'a', 'c', 'h', 't', 'a' }; +static const symbol s_2_3[8] = { 'a', 'r', 'c', 'a', 'c', 'h', 't', 'a' }; +static const symbol s_2_4[6] = { 'e', 'a', 'c', 'h', 't', 'a' }; +static const symbol s_2_5[12] = { 'g', 'r', 'a', 'f', 'a', 0xC3, 0xAD, 'o', 'c', 'h', 't', 'a' }; +static const symbol s_2_6[5] = { 'p', 'a', 'i', 't', 'e' }; +static const symbol s_2_7[3] = { 'a', 'c', 'h' }; +static const symbol s_2_8[4] = { 'e', 'a', 'c', 'h' }; +static const symbol s_2_9[8] = { 0xC3, 0xB3, 'i', 'd', 'e', 'a', 'c', 'h' }; +static const symbol s_2_10[7] = { 'g', 'i', 'n', 'e', 'a', 'c', 'h' }; +static const symbol s_2_11[6] = { 'p', 'a', 't', 'a', 'c', 'h' }; +static const symbol s_2_12[10] = { 'g', 'r', 'a', 'f', 'a', 0xC3, 0xAD, 'o', 'c', 'h' }; +static const symbol s_2_13[7] = { 'p', 'a', 't', 'a', 'i', 'g', 'h' }; +static const symbol s_2_14[7] = { 0xC3, 0xB3, 'i', 'd', 'i', 'g', 'h' }; +static const symbol s_2_15[8] = { 'a', 'c', 'h', 't', 0xC3, 0xBA, 'i', 'l' }; +static const symbol s_2_16[9] = { 'e', 'a', 'c', 'h', 't', 0xC3, 0xBA, 'i', 'l' }; +static const symbol s_2_17[6] = { 'g', 'i', 'n', 'e', 'a', 's' }; +static const symbol s_2_18[5] = { 'g', 'i', 'n', 'i', 's' }; +static const symbol s_2_19[4] = { 'a', 'c', 'h', 't' }; +static const symbol s_2_20[7] = { 'a', 'r', 'c', 'a', 'c', 'h', 't' }; +static const symbol s_2_21[5] = { 'e', 'a', 'c', 'h', 't' }; +static const symbol s_2_22[11] = { 'g', 'r', 'a', 'f', 'a', 0xC3, 0xAD, 'o', 'c', 'h', 't' }; +static const symbol s_2_23[10] = { 'a', 'r', 'c', 'a', 'c', 'h', 't', 'a', 0xC3, 0xAD }; +static const symbol s_2_24[14] = { 'g', 'r', 'a', 'f', 'a', 0xC3, 0xAD, 'o', 'c', 'h', 't', 'a', 0xC3, 0xAD }; + +static const struct among a_2[25] = +{ +/* 0 */ { 9, s_2_0, -1, 6, 0}, +/* 1 */ { 7, s_2_1, -1, 5, 0}, +/* 2 */ { 5, s_2_2, -1, 1, 0}, +/* 3 */ { 8, s_2_3, 2, 2, 0}, +/* 4 */ { 6, s_2_4, 2, 1, 0}, +/* 5 */ { 12, s_2_5, -1, 4, 0}, +/* 6 */ { 5, s_2_6, -1, 5, 0}, +/* 7 */ { 3, s_2_7, -1, 1, 0}, +/* 8 */ { 4, s_2_8, 7, 1, 0}, +/* 9 */ { 8, s_2_9, 8, 6, 0}, +/* 10 */ { 7, s_2_10, 8, 3, 0}, +/* 11 */ { 6, s_2_11, 7, 5, 0}, +/* 12 */ { 10, s_2_12, -1, 4, 0}, +/* 13 */ { 7, s_2_13, -1, 5, 0}, +/* 14 */ { 7, s_2_14, -1, 6, 0}, +/* 15 */ { 8, s_2_15, -1, 1, 0}, +/* 16 */ { 9, s_2_16, 15, 1, 0}, +/* 17 */ { 6, s_2_17, -1, 3, 0}, +/* 18 */ { 5, s_2_18, -1, 3, 0}, +/* 19 */ { 4, s_2_19, -1, 1, 0}, +/* 20 */ { 7, s_2_20, 19, 2, 0}, +/* 21 */ { 5, s_2_21, 19, 1, 0}, +/* 22 */ { 11, s_2_22, -1, 4, 0}, +/* 23 */ { 10, s_2_23, -1, 2, 0}, +/* 24 */ { 14, s_2_24, -1, 4, 0} +}; + +static const symbol s_3_0[4] = { 'i', 'm', 'i', 'd' }; +static const symbol s_3_1[5] = { 'a', 'i', 'm', 'i', 'd' }; +static const symbol s_3_2[5] = { 0xC3, 0xAD, 'm', 'i', 'd' }; +static const symbol s_3_3[6] = { 'a', 0xC3, 0xAD, 'm', 'i', 'd' }; +static const symbol s_3_4[3] = { 'a', 'd', 'h' }; +static const symbol s_3_5[4] = { 'e', 'a', 'd', 'h' }; +static const symbol s_3_6[5] = { 'f', 'a', 'i', 'd', 'h' }; +static const symbol s_3_7[4] = { 'f', 'i', 'd', 'h' }; +static const symbol s_3_8[4] = { 0xC3, 0xA1, 'i', 'l' }; +static const symbol s_3_9[3] = { 'a', 'i', 'n' }; +static const symbol s_3_10[4] = { 't', 'e', 'a', 'r' }; +static const symbol s_3_11[3] = { 't', 'a', 'r' }; + +static const struct among a_3[12] = +{ +/* 0 */ { 4, s_3_0, -1, 1, 0}, +/* 1 */ { 5, s_3_1, 0, 1, 0}, +/* 2 */ { 5, s_3_2, -1, 1, 0}, +/* 3 */ { 6, s_3_3, 2, 1, 0}, +/* 4 */ { 3, s_3_4, -1, 2, 0}, +/* 5 */ { 4, s_3_5, 4, 2, 0}, +/* 6 */ { 5, s_3_6, -1, 1, 0}, +/* 7 */ { 4, s_3_7, -1, 1, 0}, +/* 8 */ { 4, s_3_8, -1, 2, 0}, +/* 9 */ { 3, s_3_9, -1, 2, 0}, +/* 10 */ { 4, s_3_10, -1, 2, 0}, +/* 11 */ { 3, s_3_11, -1, 2, 0} +}; + +static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 4, 2 }; + +static const symbol s_0[] = { 'f' }; +static const symbol s_1[] = { 's' }; +static const symbol s_2[] = { 'b' }; +static const symbol s_3[] = { 'c' }; +static const symbol s_4[] = { 'd' }; +static const symbol s_5[] = { 'g' }; +static const symbol s_6[] = { 'p' }; +static const symbol s_7[] = { 't' }; +static const symbol s_8[] = { 'm' }; +static const symbol s_9[] = { 'a', 'r', 'c' }; +static const symbol s_10[] = { 'g', 'i', 'n' }; +static const symbol s_11[] = { 'g', 'r', 'a', 'f' }; +static const symbol s_12[] = { 'p', 'a', 'i', 't', 'e' }; +static const symbol s_13[] = { 0xC3, 0xB3, 'i', 'd' }; + +static int r_mark_regions(struct SN_env * z) { /* forwardmode */ + z->I[0] = z->l; /* $pV = , line 30 */ + z->I[1] = z->l; /* $p1 = , line 31 */ + z->I[2] = z->l; /* $p2 = , line 32 */ + { int c1 = z->c; /* do, line 34 */ + { /* gopast */ /* grouping v, line 35 */ + int ret = out_grouping_U(z, g_v, 97, 250, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + z->I[0] = z->c; /* setmark pV, line 35 */ + lab0: + z->c = c1; + } + { int c2 = z->c; /* do, line 37 */ + { /* gopast */ /* grouping v, line 38 */ + int ret = out_grouping_U(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + { /* gopast */ /* non v, line 38 */ + int ret = in_grouping_U(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + z->I[1] = z->c; /* setmark p1, line 38 */ + { /* gopast */ /* grouping v, line 39 */ + int ret = out_grouping_U(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + { /* gopast */ /* non v, line 39 */ + int ret = in_grouping_U(z, g_v, 97, 250, 1); + if (ret < 0) goto lab1; + z->c += ret; + } + z->I[2] = z->c; /* setmark p2, line 39 */ + lab1: + z->c = c2; + } + return 1; +} + +static int r_initial_morph(struct SN_env * z) { /* forwardmode */ + int among_var; + z->bra = z->c; /* [, line 44 */ + among_var = find_among(z, a_0, 24); /* substring, line 44 */ + if (!(among_var)) return 0; + z->ket = z->c; /* ], line 44 */ + switch (among_var) { /* among, line 44 */ + case 1: + { int ret = slice_del(z); /* delete, line 46 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 1, s_0); /* <-, line 52 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 1, s_1); /* <-, line 58 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 1, s_2); /* <-, line 61 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 1, s_3); /* <-, line 63 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 1, s_4); /* <-, line 65 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 1, s_5); /* <-, line 69 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 1, s_6); /* <-, line 71 */ + if (ret < 0) return ret; + } + break; + case 9: + { int ret = slice_from_s(z, 1, s_7); /* <-, line 75 */ + if (ret < 0) return ret; + } + break; + case 10: + { int ret = slice_from_s(z, 1, s_8); /* <-, line 89 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_RV(struct SN_env * z) { /* backwardmode */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 99 */ + return 1; +} + +static int r_R1(struct SN_env * z) { /* backwardmode */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 100 */ + return 1; +} + +static int r_R2(struct SN_env * z) { /* backwardmode */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 101 */ + return 1; +} + +static int r_noun_sfx(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 104 */ + among_var = find_among_b(z, a_1, 16); /* substring, line 104 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 104 */ + switch (among_var) { /* among, line 104 */ + case 1: + { int ret = r_R1(z); /* call R1, line 108 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 108 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R2(z); /* call R2, line 110 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 110 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_deriv(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 114 */ + among_var = find_among_b(z, a_2, 25); /* substring, line 114 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 114 */ + switch (among_var) { /* among, line 114 */ + case 1: + { int ret = r_R2(z); /* call R2, line 116 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 116 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 3, s_9); /* <-, line 118 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 3, s_10); /* <-, line 120 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 4, s_11); /* <-, line 122 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 5, s_12); /* <-, line 124 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 4, s_13); /* <-, line 126 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_verb_sfx(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 130 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((282896 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 130 */ + among_var = find_among_b(z, a_3, 12); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 130 */ + switch (among_var) { /* among, line 130 */ + case 1: + { int ret = r_RV(z); /* call RV, line 133 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 133 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = r_R1(z); /* call R1, line 138 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 138 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +extern int irish_UTF_8_stem(struct SN_env * z) { /* forwardmode */ + { int c1 = z->c; /* do, line 144 */ + { int ret = r_initial_morph(z); /* call initial_morph, line 144 */ + if (ret < 0) return ret; + } + z->c = c1; + } + /* do, line 145 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 145 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 146 */ + + { int m2 = z->l - z->c; (void)m2; /* do, line 147 */ + { int ret = r_noun_sfx(z); /* call noun_sfx, line 147 */ + if (ret < 0) return ret; + } + z->c = z->l - m2; + } + { int m3 = z->l - z->c; (void)m3; /* do, line 148 */ + { int ret = r_deriv(z); /* call deriv, line 148 */ + if (ret < 0) return ret; + } + z->c = z->l - m3; + } + { int m4 = z->l - z->c; (void)m4; /* do, line 149 */ + { int ret = r_verb_sfx(z); /* call verb_sfx, line 149 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + z->c = z->lb; + return 1; +} + +extern struct SN_env * irish_UTF_8_create_env(void) { return SN_create_env(0, 3, 0); } + +extern void irish_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_UTF_8_irish.h b/src/dep/snowball/src_c/stem_UTF_8_irish.h new file mode 100644 index 0000000000..94bdb6f754 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_irish.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * irish_UTF_8_create_env(void); +extern void irish_UTF_8_close_env(struct SN_env * z); + +extern int irish_UTF_8_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_UTF_8_italian.c b/src/dep/snowball/src_c/stem_UTF_8_italian.c index b90bf67808..fb6888fc79 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_italian.c +++ b/src/dep/snowball/src_c/stem_UTF_8_italian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -492,14 +491,14 @@ static const symbol s_17[] = { 'i', 'c' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ int among_var; { int c_test1 = z->c; /* test, line 35 */ - while(1) { /* repeat, line 35 */ - int c2 = z->c; +/* repeat, line 35 */ + + while(1) { int c2 = z->c; z->bra = z->c; /* [, line 36 */ among_var = find_among(z, a_0, 7); /* substring, line 36 */ if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 36 */ switch (among_var) { /* among, line 36 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 2, s_0); /* <-, line 37 */ if (ret < 0) return ret; @@ -544,8 +543,9 @@ static int r_prelude(struct SN_env * z) { /* forwardmode */ } z->c = c_test1; } - while(1) { /* repeat, line 46 */ - int c3 = z->c; +/* repeat, line 46 */ + + while(1) { int c3 = z->c; while(1) { /* goto, line 46 */ int c4 = z->c; if (in_grouping_U(z, g_v, 97, 249, 0)) goto lab2; /* grouping v, line 47 */ @@ -671,15 +671,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 70 */ - int c1 = z->c; +/* repeat, line 70 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 72 */ if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else /* substring, line 72 */ among_var = find_among(z, a_1, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 72 */ switch (among_var) { /* among, line 72 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_8); /* <-, line 73 */ if (ret < 0) return ret; @@ -706,17 +706,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 82 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 82 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 83 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 83 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 84 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 84 */ return 1; } @@ -733,7 +733,6 @@ static int r_attached_pronoun(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 97 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 98 */ if (ret < 0) return ret; @@ -755,7 +754,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 104 */ switch (among_var) { /* among, line 104 */ - case 0: return 0; case 1: { int ret = r_R2(z); /* call R2, line 111 */ if (ret <= 0) return ret; @@ -839,7 +837,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 127 */ - case 0: { z->c = z->l - m2; goto lab1; } case 1: z->ket = z->c; /* [, line 128 */ if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - m2; goto lab1; } /* literal, line 128 */ @@ -867,20 +864,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m3 = z->l - z->c; (void)m3; /* try, line 135 */ z->ket = z->c; /* [, line 136 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m3; goto lab2; } /* substring, line 136 */ - among_var = find_among_b(z, a_5, 3); - if (!(among_var)) { z->c = z->l - m3; goto lab2; } + if (!(find_among_b(z, a_5, 3))) { z->c = z->l - m3; goto lab2; } z->bra = z->c; /* ], line 136 */ - switch (among_var) { /* among, line 136 */ - case 0: { z->c = z->l - m3; goto lab2; } - case 1: - { int ret = r_R2(z); /* call R2, line 137 */ - if (ret == 0) { z->c = z->l - m3; goto lab2; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 137 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 137 */ + if (ret == 0) { z->c = z->l - m3; goto lab2; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 137 */ + if (ret < 0) return ret; } lab2: ; @@ -923,24 +914,15 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 148 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 148 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 148 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 149 */ - among_var = find_among_b(z, a_7, 87); /* substring, line 149 */ - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_7, 87))) { z->lb = mlimit1; return 0; } /* substring, line 149 */ z->bra = z->c; /* ], line 149 */ - switch (among_var) { /* among, line 149 */ - case 0: { z->lb = mlimit1; return 0; } - case 1: - { int ret = slice_del(z); /* delete, line 163 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 163 */ + if (ret < 0) return ret; } z->lb = mlimit1; } @@ -995,64 +977,52 @@ static int r_vowel_suffix(struct SN_env * z) { /* backwardmode */ extern int italian_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 182 */ { int ret = r_prelude(z); /* call prelude, line 182 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 183 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 183 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 183 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 183 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 184 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 185 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 185 */ { int ret = r_attached_pronoun(z); /* call attached_pronoun, line 185 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: - z->c = z->l - m3; + z->c = z->l - m2; } - { int m4 = z->l - z->c; (void)m4; /* do, line 186 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 186 */ + { int m3 = z->l - z->c; (void)m3; /* do, line 186 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 186 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 186 */ - if (ret == 0) goto lab5; + if (ret == 0) goto lab2; if (ret < 0) return ret; } - goto lab4; - lab5: - z->c = z->l - m5; + goto lab1; + lab2: + z->c = z->l - m4; { int ret = r_verb_suffix(z); /* call verb_suffix, line 186 */ - if (ret == 0) goto lab3; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab4: - lab3: - z->c = z->l - m4; + lab1: + lab0: + z->c = z->l - m3; } - { int m6 = z->l - z->c; (void)m6; /* do, line 187 */ + { int m5 = z->l - z->c; (void)m5; /* do, line 187 */ { int ret = r_vowel_suffix(z); /* call vowel_suffix, line 187 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: - z->c = z->l - m6; + z->c = z->l - m5; } z->c = z->lb; - { int c7 = z->c; /* do, line 189 */ + { int c6 = z->c; /* do, line 189 */ { int ret = r_postlude(z); /* call postlude, line 189 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: - z->c = c7; + z->c = c6; } return 1; } diff --git a/src/dep/snowball/src_c/stem_UTF_8_italian.h b/src/dep/snowball/src_c/stem_UTF_8_italian.h index 4177c3ebf8..367e3bf532 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_italian.h +++ b/src/dep/snowball/src_c/stem_UTF_8_italian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_lithuanian.c b/src/dep/snowball/src_c/stem_UTF_8_lithuanian.c new file mode 100644 index 0000000000..f6d59db2d4 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_lithuanian.c @@ -0,0 +1,838 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +static int r_fix_conflicts(struct SN_env * z); +static int r_fix_gd(struct SN_env * z); +static int r_fix_chdz(struct SN_env * z); +static int r_step1(struct SN_env * z); +static int r_R1(struct SN_env * z); +static int r_step2(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif +extern int lithuanian_UTF_8_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * lithuanian_UTF_8_create_env(void); +extern void lithuanian_UTF_8_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[1] = { 'a' }; +static const symbol s_0_1[2] = { 'i', 'a' }; +static const symbol s_0_2[4] = { 'e', 'r', 'i', 'a' }; +static const symbol s_0_3[4] = { 'o', 's', 'n', 'a' }; +static const symbol s_0_4[5] = { 'i', 'o', 's', 'n', 'a' }; +static const symbol s_0_5[5] = { 'u', 'o', 's', 'n', 'a' }; +static const symbol s_0_6[6] = { 'i', 'u', 'o', 's', 'n', 'a' }; +static const symbol s_0_7[4] = { 'y', 's', 'n', 'a' }; +static const symbol s_0_8[5] = { 0xC4, 0x97, 's', 'n', 'a' }; +static const symbol s_0_9[1] = { 'e' }; +static const symbol s_0_10[2] = { 'i', 'e' }; +static const symbol s_0_11[4] = { 'e', 'n', 'i', 'e' }; +static const symbol s_0_12[4] = { 'e', 'r', 'i', 'e' }; +static const symbol s_0_13[3] = { 'o', 'j', 'e' }; +static const symbol s_0_14[4] = { 'i', 'o', 'j', 'e' }; +static const symbol s_0_15[3] = { 'u', 'j', 'e' }; +static const symbol s_0_16[4] = { 'i', 'u', 'j', 'e' }; +static const symbol s_0_17[3] = { 'y', 'j', 'e' }; +static const symbol s_0_18[5] = { 'e', 'n', 'y', 'j', 'e' }; +static const symbol s_0_19[5] = { 'e', 'r', 'y', 'j', 'e' }; +static const symbol s_0_20[4] = { 0xC4, 0x97, 'j', 'e' }; +static const symbol s_0_21[3] = { 'a', 'm', 'e' }; +static const symbol s_0_22[4] = { 'i', 'a', 'm', 'e' }; +static const symbol s_0_23[4] = { 's', 'i', 'm', 'e' }; +static const symbol s_0_24[3] = { 'o', 'm', 'e' }; +static const symbol s_0_25[4] = { 0xC4, 0x97, 'm', 'e' }; +static const symbol s_0_26[7] = { 't', 'u', 'm', 0xC4, 0x97, 'm', 'e' }; +static const symbol s_0_27[3] = { 'o', 's', 'e' }; +static const symbol s_0_28[4] = { 'i', 'o', 's', 'e' }; +static const symbol s_0_29[4] = { 'u', 'o', 's', 'e' }; +static const symbol s_0_30[5] = { 'i', 'u', 'o', 's', 'e' }; +static const symbol s_0_31[3] = { 'y', 's', 'e' }; +static const symbol s_0_32[5] = { 'e', 'n', 'y', 's', 'e' }; +static const symbol s_0_33[5] = { 'e', 'r', 'y', 's', 'e' }; +static const symbol s_0_34[4] = { 0xC4, 0x97, 's', 'e' }; +static const symbol s_0_35[3] = { 'a', 't', 'e' }; +static const symbol s_0_36[4] = { 'i', 'a', 't', 'e' }; +static const symbol s_0_37[3] = { 'i', 't', 'e' }; +static const symbol s_0_38[4] = { 'k', 'i', 't', 'e' }; +static const symbol s_0_39[4] = { 's', 'i', 't', 'e' }; +static const symbol s_0_40[3] = { 'o', 't', 'e' }; +static const symbol s_0_41[4] = { 't', 'u', 't', 'e' }; +static const symbol s_0_42[4] = { 0xC4, 0x97, 't', 'e' }; +static const symbol s_0_43[7] = { 't', 'u', 'm', 0xC4, 0x97, 't', 'e' }; +static const symbol s_0_44[1] = { 'i' }; +static const symbol s_0_45[2] = { 'a', 'i' }; +static const symbol s_0_46[3] = { 'i', 'a', 'i' }; +static const symbol s_0_47[5] = { 'e', 'r', 'i', 'a', 'i' }; +static const symbol s_0_48[2] = { 'e', 'i' }; +static const symbol s_0_49[5] = { 't', 'u', 'm', 'e', 'i' }; +static const symbol s_0_50[2] = { 'k', 'i' }; +static const symbol s_0_51[3] = { 'i', 'm', 'i' }; +static const symbol s_0_52[5] = { 'e', 'r', 'i', 'm', 'i' }; +static const symbol s_0_53[3] = { 'u', 'm', 'i' }; +static const symbol s_0_54[4] = { 'i', 'u', 'm', 'i' }; +static const symbol s_0_55[2] = { 's', 'i' }; +static const symbol s_0_56[3] = { 'a', 's', 'i' }; +static const symbol s_0_57[4] = { 'i', 'a', 's', 'i' }; +static const symbol s_0_58[3] = { 'e', 's', 'i' }; +static const symbol s_0_59[4] = { 'i', 'e', 's', 'i' }; +static const symbol s_0_60[5] = { 's', 'i', 'e', 's', 'i' }; +static const symbol s_0_61[3] = { 'i', 's', 'i' }; +static const symbol s_0_62[4] = { 'a', 'i', 's', 'i' }; +static const symbol s_0_63[4] = { 'e', 'i', 's', 'i' }; +static const symbol s_0_64[7] = { 't', 'u', 'm', 'e', 'i', 's', 'i' }; +static const symbol s_0_65[4] = { 'u', 'i', 's', 'i' }; +static const symbol s_0_66[3] = { 'o', 's', 'i' }; +static const symbol s_0_67[6] = { 0xC4, 0x97, 'j', 'o', 's', 'i' }; +static const symbol s_0_68[4] = { 'u', 'o', 's', 'i' }; +static const symbol s_0_69[5] = { 'i', 'u', 'o', 's', 'i' }; +static const symbol s_0_70[6] = { 's', 'i', 'u', 'o', 's', 'i' }; +static const symbol s_0_71[3] = { 'u', 's', 'i' }; +static const symbol s_0_72[4] = { 'a', 'u', 's', 'i' }; +static const symbol s_0_73[7] = { 0xC4, 0x8D, 'i', 'a', 'u', 's', 'i' }; +static const symbol s_0_74[4] = { 0xC4, 0x85, 's', 'i' }; +static const symbol s_0_75[4] = { 0xC4, 0x97, 's', 'i' }; +static const symbol s_0_76[4] = { 0xC5, 0xB3, 's', 'i' }; +static const symbol s_0_77[5] = { 't', 0xC5, 0xB3, 's', 'i' }; +static const symbol s_0_78[2] = { 't', 'i' }; +static const symbol s_0_79[4] = { 'e', 'n', 't', 'i' }; +static const symbol s_0_80[4] = { 'i', 'n', 't', 'i' }; +static const symbol s_0_81[3] = { 'o', 't', 'i' }; +static const symbol s_0_82[4] = { 'i', 'o', 't', 'i' }; +static const symbol s_0_83[4] = { 'u', 'o', 't', 'i' }; +static const symbol s_0_84[5] = { 'i', 'u', 'o', 't', 'i' }; +static const symbol s_0_85[4] = { 'a', 'u', 't', 'i' }; +static const symbol s_0_86[5] = { 'i', 'a', 'u', 't', 'i' }; +static const symbol s_0_87[3] = { 'y', 't', 'i' }; +static const symbol s_0_88[4] = { 0xC4, 0x97, 't', 'i' }; +static const symbol s_0_89[7] = { 't', 'e', 'l', 0xC4, 0x97, 't', 'i' }; +static const symbol s_0_90[6] = { 'i', 'n', 0xC4, 0x97, 't', 'i' }; +static const symbol s_0_91[7] = { 't', 'e', 'r', 0xC4, 0x97, 't', 'i' }; +static const symbol s_0_92[2] = { 'u', 'i' }; +static const symbol s_0_93[3] = { 'i', 'u', 'i' }; +static const symbol s_0_94[5] = { 'e', 'n', 'i', 'u', 'i' }; +static const symbol s_0_95[2] = { 'o', 'j' }; +static const symbol s_0_96[3] = { 0xC4, 0x97, 'j' }; +static const symbol s_0_97[1] = { 'k' }; +static const symbol s_0_98[2] = { 'a', 'm' }; +static const symbol s_0_99[3] = { 'i', 'a', 'm' }; +static const symbol s_0_100[3] = { 'i', 'e', 'm' }; +static const symbol s_0_101[2] = { 'i', 'm' }; +static const symbol s_0_102[3] = { 's', 'i', 'm' }; +static const symbol s_0_103[2] = { 'o', 'm' }; +static const symbol s_0_104[3] = { 't', 'u', 'm' }; +static const symbol s_0_105[3] = { 0xC4, 0x97, 'm' }; +static const symbol s_0_106[6] = { 't', 'u', 'm', 0xC4, 0x97, 'm' }; +static const symbol s_0_107[2] = { 'a', 'n' }; +static const symbol s_0_108[2] = { 'o', 'n' }; +static const symbol s_0_109[3] = { 'i', 'o', 'n' }; +static const symbol s_0_110[2] = { 'u', 'n' }; +static const symbol s_0_111[3] = { 'i', 'u', 'n' }; +static const symbol s_0_112[3] = { 0xC4, 0x97, 'n' }; +static const symbol s_0_113[1] = { 'o' }; +static const symbol s_0_114[2] = { 'i', 'o' }; +static const symbol s_0_115[4] = { 'e', 'n', 'i', 'o' }; +static const symbol s_0_116[4] = { 0xC4, 0x97, 'j', 'o' }; +static const symbol s_0_117[2] = { 'u', 'o' }; +static const symbol s_0_118[1] = { 's' }; +static const symbol s_0_119[2] = { 'a', 's' }; +static const symbol s_0_120[3] = { 'i', 'a', 's' }; +static const symbol s_0_121[2] = { 'e', 's' }; +static const symbol s_0_122[3] = { 'i', 'e', 's' }; +static const symbol s_0_123[2] = { 'i', 's' }; +static const symbol s_0_124[3] = { 'a', 'i', 's' }; +static const symbol s_0_125[4] = { 'i', 'a', 'i', 's' }; +static const symbol s_0_126[6] = { 't', 'u', 'm', 'e', 'i', 's' }; +static const symbol s_0_127[4] = { 'i', 'm', 'i', 's' }; +static const symbol s_0_128[6] = { 'e', 'n', 'i', 'm', 'i', 's' }; +static const symbol s_0_129[4] = { 'o', 'm', 'i', 's' }; +static const symbol s_0_130[5] = { 'i', 'o', 'm', 'i', 's' }; +static const symbol s_0_131[4] = { 'u', 'm', 'i', 's' }; +static const symbol s_0_132[5] = { 0xC4, 0x97, 'm', 'i', 's' }; +static const symbol s_0_133[4] = { 'e', 'n', 'i', 's' }; +static const symbol s_0_134[4] = { 'a', 's', 'i', 's' }; +static const symbol s_0_135[4] = { 'y', 's', 'i', 's' }; +static const symbol s_0_136[3] = { 'a', 'm', 's' }; +static const symbol s_0_137[4] = { 'i', 'a', 'm', 's' }; +static const symbol s_0_138[4] = { 'i', 'e', 'm', 's' }; +static const symbol s_0_139[3] = { 'i', 'm', 's' }; +static const symbol s_0_140[5] = { 'e', 'n', 'i', 'm', 's' }; +static const symbol s_0_141[5] = { 'e', 'r', 'i', 'm', 's' }; +static const symbol s_0_142[3] = { 'o', 'm', 's' }; +static const symbol s_0_143[4] = { 'i', 'o', 'm', 's' }; +static const symbol s_0_144[3] = { 'u', 'm', 's' }; +static const symbol s_0_145[4] = { 0xC4, 0x97, 'm', 's' }; +static const symbol s_0_146[3] = { 'e', 'n', 's' }; +static const symbol s_0_147[2] = { 'o', 's' }; +static const symbol s_0_148[3] = { 'i', 'o', 's' }; +static const symbol s_0_149[3] = { 'u', 'o', 's' }; +static const symbol s_0_150[4] = { 'i', 'u', 'o', 's' }; +static const symbol s_0_151[3] = { 'e', 'r', 's' }; +static const symbol s_0_152[2] = { 'u', 's' }; +static const symbol s_0_153[3] = { 'a', 'u', 's' }; +static const symbol s_0_154[4] = { 'i', 'a', 'u', 's' }; +static const symbol s_0_155[3] = { 'i', 'u', 's' }; +static const symbol s_0_156[2] = { 'y', 's' }; +static const symbol s_0_157[4] = { 'e', 'n', 'y', 's' }; +static const symbol s_0_158[4] = { 'e', 'r', 'y', 's' }; +static const symbol s_0_159[3] = { 0xC4, 0x85, 's' }; +static const symbol s_0_160[4] = { 'i', 0xC4, 0x85, 's' }; +static const symbol s_0_161[3] = { 0xC4, 0x97, 's' }; +static const symbol s_0_162[5] = { 'a', 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_163[6] = { 'i', 'a', 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_164[5] = { 'i', 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_165[6] = { 'k', 'i', 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_166[6] = { 's', 'i', 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_167[5] = { 'o', 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_168[6] = { 0xC4, 0x97, 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_169[9] = { 't', 'u', 'm', 0xC4, 0x97, 'm', 0xC4, 0x97, 's' }; +static const symbol s_0_170[5] = { 'a', 't', 0xC4, 0x97, 's' }; +static const symbol s_0_171[6] = { 'i', 'a', 't', 0xC4, 0x97, 's' }; +static const symbol s_0_172[6] = { 's', 'i', 't', 0xC4, 0x97, 's' }; +static const symbol s_0_173[5] = { 'o', 't', 0xC4, 0x97, 's' }; +static const symbol s_0_174[6] = { 0xC4, 0x97, 't', 0xC4, 0x97, 's' }; +static const symbol s_0_175[9] = { 't', 'u', 'm', 0xC4, 0x97, 't', 0xC4, 0x97, 's' }; +static const symbol s_0_176[3] = { 0xC5, 0xAB, 's' }; +static const symbol s_0_177[3] = { 0xC4, 0xAF, 's' }; +static const symbol s_0_178[4] = { 't', 0xC5, 0xB3, 's' }; +static const symbol s_0_179[2] = { 'a', 't' }; +static const symbol s_0_180[3] = { 'i', 'a', 't' }; +static const symbol s_0_181[2] = { 'i', 't' }; +static const symbol s_0_182[3] = { 's', 'i', 't' }; +static const symbol s_0_183[2] = { 'o', 't' }; +static const symbol s_0_184[3] = { 0xC4, 0x97, 't' }; +static const symbol s_0_185[6] = { 't', 'u', 'm', 0xC4, 0x97, 't' }; +static const symbol s_0_186[1] = { 'u' }; +static const symbol s_0_187[2] = { 'a', 'u' }; +static const symbol s_0_188[3] = { 'i', 'a', 'u' }; +static const symbol s_0_189[5] = { 0xC4, 0x8D, 'i', 'a', 'u' }; +static const symbol s_0_190[2] = { 'i', 'u' }; +static const symbol s_0_191[4] = { 'e', 'n', 'i', 'u' }; +static const symbol s_0_192[3] = { 's', 'i', 'u' }; +static const symbol s_0_193[1] = { 'y' }; +static const symbol s_0_194[2] = { 0xC4, 0x85 }; +static const symbol s_0_195[3] = { 'i', 0xC4, 0x85 }; +static const symbol s_0_196[2] = { 0xC4, 0x97 }; +static const symbol s_0_197[2] = { 0xC4, 0x99 }; +static const symbol s_0_198[2] = { 0xC4, 0xAF }; +static const symbol s_0_199[4] = { 'e', 'n', 0xC4, 0xAF }; +static const symbol s_0_200[4] = { 'e', 'r', 0xC4, 0xAF }; +static const symbol s_0_201[2] = { 0xC5, 0xB3 }; +static const symbol s_0_202[3] = { 'i', 0xC5, 0xB3 }; +static const symbol s_0_203[4] = { 'e', 'r', 0xC5, 0xB3 }; + +static const struct among a_0[204] = +{ +/* 0 */ { 1, s_0_0, -1, -1, 0}, +/* 1 */ { 2, s_0_1, 0, -1, 0}, +/* 2 */ { 4, s_0_2, 1, -1, 0}, +/* 3 */ { 4, s_0_3, 0, -1, 0}, +/* 4 */ { 5, s_0_4, 3, -1, 0}, +/* 5 */ { 5, s_0_5, 3, -1, 0}, +/* 6 */ { 6, s_0_6, 5, -1, 0}, +/* 7 */ { 4, s_0_7, 0, -1, 0}, +/* 8 */ { 5, s_0_8, 0, -1, 0}, +/* 9 */ { 1, s_0_9, -1, -1, 0}, +/* 10 */ { 2, s_0_10, 9, -1, 0}, +/* 11 */ { 4, s_0_11, 10, -1, 0}, +/* 12 */ { 4, s_0_12, 10, -1, 0}, +/* 13 */ { 3, s_0_13, 9, -1, 0}, +/* 14 */ { 4, s_0_14, 13, -1, 0}, +/* 15 */ { 3, s_0_15, 9, -1, 0}, +/* 16 */ { 4, s_0_16, 15, -1, 0}, +/* 17 */ { 3, s_0_17, 9, -1, 0}, +/* 18 */ { 5, s_0_18, 17, -1, 0}, +/* 19 */ { 5, s_0_19, 17, -1, 0}, +/* 20 */ { 4, s_0_20, 9, -1, 0}, +/* 21 */ { 3, s_0_21, 9, -1, 0}, +/* 22 */ { 4, s_0_22, 21, -1, 0}, +/* 23 */ { 4, s_0_23, 9, -1, 0}, +/* 24 */ { 3, s_0_24, 9, -1, 0}, +/* 25 */ { 4, s_0_25, 9, -1, 0}, +/* 26 */ { 7, s_0_26, 25, -1, 0}, +/* 27 */ { 3, s_0_27, 9, -1, 0}, +/* 28 */ { 4, s_0_28, 27, -1, 0}, +/* 29 */ { 4, s_0_29, 27, -1, 0}, +/* 30 */ { 5, s_0_30, 29, -1, 0}, +/* 31 */ { 3, s_0_31, 9, -1, 0}, +/* 32 */ { 5, s_0_32, 31, -1, 0}, +/* 33 */ { 5, s_0_33, 31, -1, 0}, +/* 34 */ { 4, s_0_34, 9, -1, 0}, +/* 35 */ { 3, s_0_35, 9, -1, 0}, +/* 36 */ { 4, s_0_36, 35, -1, 0}, +/* 37 */ { 3, s_0_37, 9, -1, 0}, +/* 38 */ { 4, s_0_38, 37, -1, 0}, +/* 39 */ { 4, s_0_39, 37, -1, 0}, +/* 40 */ { 3, s_0_40, 9, -1, 0}, +/* 41 */ { 4, s_0_41, 9, -1, 0}, +/* 42 */ { 4, s_0_42, 9, -1, 0}, +/* 43 */ { 7, s_0_43, 42, -1, 0}, +/* 44 */ { 1, s_0_44, -1, -1, 0}, +/* 45 */ { 2, s_0_45, 44, -1, 0}, +/* 46 */ { 3, s_0_46, 45, -1, 0}, +/* 47 */ { 5, s_0_47, 46, -1, 0}, +/* 48 */ { 2, s_0_48, 44, -1, 0}, +/* 49 */ { 5, s_0_49, 48, -1, 0}, +/* 50 */ { 2, s_0_50, 44, -1, 0}, +/* 51 */ { 3, s_0_51, 44, -1, 0}, +/* 52 */ { 5, s_0_52, 51, -1, 0}, +/* 53 */ { 3, s_0_53, 44, -1, 0}, +/* 54 */ { 4, s_0_54, 53, -1, 0}, +/* 55 */ { 2, s_0_55, 44, -1, 0}, +/* 56 */ { 3, s_0_56, 55, -1, 0}, +/* 57 */ { 4, s_0_57, 56, -1, 0}, +/* 58 */ { 3, s_0_58, 55, -1, 0}, +/* 59 */ { 4, s_0_59, 58, -1, 0}, +/* 60 */ { 5, s_0_60, 59, -1, 0}, +/* 61 */ { 3, s_0_61, 55, -1, 0}, +/* 62 */ { 4, s_0_62, 61, -1, 0}, +/* 63 */ { 4, s_0_63, 61, -1, 0}, +/* 64 */ { 7, s_0_64, 63, -1, 0}, +/* 65 */ { 4, s_0_65, 61, -1, 0}, +/* 66 */ { 3, s_0_66, 55, -1, 0}, +/* 67 */ { 6, s_0_67, 66, -1, 0}, +/* 68 */ { 4, s_0_68, 66, -1, 0}, +/* 69 */ { 5, s_0_69, 68, -1, 0}, +/* 70 */ { 6, s_0_70, 69, -1, 0}, +/* 71 */ { 3, s_0_71, 55, -1, 0}, +/* 72 */ { 4, s_0_72, 71, -1, 0}, +/* 73 */ { 7, s_0_73, 72, -1, 0}, +/* 74 */ { 4, s_0_74, 55, -1, 0}, +/* 75 */ { 4, s_0_75, 55, -1, 0}, +/* 76 */ { 4, s_0_76, 55, -1, 0}, +/* 77 */ { 5, s_0_77, 76, -1, 0}, +/* 78 */ { 2, s_0_78, 44, -1, 0}, +/* 79 */ { 4, s_0_79, 78, -1, 0}, +/* 80 */ { 4, s_0_80, 78, -1, 0}, +/* 81 */ { 3, s_0_81, 78, -1, 0}, +/* 82 */ { 4, s_0_82, 81, -1, 0}, +/* 83 */ { 4, s_0_83, 81, -1, 0}, +/* 84 */ { 5, s_0_84, 83, -1, 0}, +/* 85 */ { 4, s_0_85, 78, -1, 0}, +/* 86 */ { 5, s_0_86, 85, -1, 0}, +/* 87 */ { 3, s_0_87, 78, -1, 0}, +/* 88 */ { 4, s_0_88, 78, -1, 0}, +/* 89 */ { 7, s_0_89, 88, -1, 0}, +/* 90 */ { 6, s_0_90, 88, -1, 0}, +/* 91 */ { 7, s_0_91, 88, -1, 0}, +/* 92 */ { 2, s_0_92, 44, -1, 0}, +/* 93 */ { 3, s_0_93, 92, -1, 0}, +/* 94 */ { 5, s_0_94, 93, -1, 0}, +/* 95 */ { 2, s_0_95, -1, -1, 0}, +/* 96 */ { 3, s_0_96, -1, -1, 0}, +/* 97 */ { 1, s_0_97, -1, -1, 0}, +/* 98 */ { 2, s_0_98, -1, -1, 0}, +/* 99 */ { 3, s_0_99, 98, -1, 0}, +/*100 */ { 3, s_0_100, -1, -1, 0}, +/*101 */ { 2, s_0_101, -1, -1, 0}, +/*102 */ { 3, s_0_102, 101, -1, 0}, +/*103 */ { 2, s_0_103, -1, -1, 0}, +/*104 */ { 3, s_0_104, -1, -1, 0}, +/*105 */ { 3, s_0_105, -1, -1, 0}, +/*106 */ { 6, s_0_106, 105, -1, 0}, +/*107 */ { 2, s_0_107, -1, -1, 0}, +/*108 */ { 2, s_0_108, -1, -1, 0}, +/*109 */ { 3, s_0_109, 108, -1, 0}, +/*110 */ { 2, s_0_110, -1, -1, 0}, +/*111 */ { 3, s_0_111, 110, -1, 0}, +/*112 */ { 3, s_0_112, -1, -1, 0}, +/*113 */ { 1, s_0_113, -1, -1, 0}, +/*114 */ { 2, s_0_114, 113, -1, 0}, +/*115 */ { 4, s_0_115, 114, -1, 0}, +/*116 */ { 4, s_0_116, 113, -1, 0}, +/*117 */ { 2, s_0_117, 113, -1, 0}, +/*118 */ { 1, s_0_118, -1, -1, 0}, +/*119 */ { 2, s_0_119, 118, -1, 0}, +/*120 */ { 3, s_0_120, 119, -1, 0}, +/*121 */ { 2, s_0_121, 118, -1, 0}, +/*122 */ { 3, s_0_122, 121, -1, 0}, +/*123 */ { 2, s_0_123, 118, -1, 0}, +/*124 */ { 3, s_0_124, 123, -1, 0}, +/*125 */ { 4, s_0_125, 124, -1, 0}, +/*126 */ { 6, s_0_126, 123, -1, 0}, +/*127 */ { 4, s_0_127, 123, -1, 0}, +/*128 */ { 6, s_0_128, 127, -1, 0}, +/*129 */ { 4, s_0_129, 123, -1, 0}, +/*130 */ { 5, s_0_130, 129, -1, 0}, +/*131 */ { 4, s_0_131, 123, -1, 0}, +/*132 */ { 5, s_0_132, 123, -1, 0}, +/*133 */ { 4, s_0_133, 123, -1, 0}, +/*134 */ { 4, s_0_134, 123, -1, 0}, +/*135 */ { 4, s_0_135, 123, -1, 0}, +/*136 */ { 3, s_0_136, 118, -1, 0}, +/*137 */ { 4, s_0_137, 136, -1, 0}, +/*138 */ { 4, s_0_138, 118, -1, 0}, +/*139 */ { 3, s_0_139, 118, -1, 0}, +/*140 */ { 5, s_0_140, 139, -1, 0}, +/*141 */ { 5, s_0_141, 139, -1, 0}, +/*142 */ { 3, s_0_142, 118, -1, 0}, +/*143 */ { 4, s_0_143, 142, -1, 0}, +/*144 */ { 3, s_0_144, 118, -1, 0}, +/*145 */ { 4, s_0_145, 118, -1, 0}, +/*146 */ { 3, s_0_146, 118, -1, 0}, +/*147 */ { 2, s_0_147, 118, -1, 0}, +/*148 */ { 3, s_0_148, 147, -1, 0}, +/*149 */ { 3, s_0_149, 147, -1, 0}, +/*150 */ { 4, s_0_150, 149, -1, 0}, +/*151 */ { 3, s_0_151, 118, -1, 0}, +/*152 */ { 2, s_0_152, 118, -1, 0}, +/*153 */ { 3, s_0_153, 152, -1, 0}, +/*154 */ { 4, s_0_154, 153, -1, 0}, +/*155 */ { 3, s_0_155, 152, -1, 0}, +/*156 */ { 2, s_0_156, 118, -1, 0}, +/*157 */ { 4, s_0_157, 156, -1, 0}, +/*158 */ { 4, s_0_158, 156, -1, 0}, +/*159 */ { 3, s_0_159, 118, -1, 0}, +/*160 */ { 4, s_0_160, 159, -1, 0}, +/*161 */ { 3, s_0_161, 118, -1, 0}, +/*162 */ { 5, s_0_162, 161, -1, 0}, +/*163 */ { 6, s_0_163, 162, -1, 0}, +/*164 */ { 5, s_0_164, 161, -1, 0}, +/*165 */ { 6, s_0_165, 164, -1, 0}, +/*166 */ { 6, s_0_166, 164, -1, 0}, +/*167 */ { 5, s_0_167, 161, -1, 0}, +/*168 */ { 6, s_0_168, 161, -1, 0}, +/*169 */ { 9, s_0_169, 168, -1, 0}, +/*170 */ { 5, s_0_170, 161, -1, 0}, +/*171 */ { 6, s_0_171, 170, -1, 0}, +/*172 */ { 6, s_0_172, 161, -1, 0}, +/*173 */ { 5, s_0_173, 161, -1, 0}, +/*174 */ { 6, s_0_174, 161, -1, 0}, +/*175 */ { 9, s_0_175, 174, -1, 0}, +/*176 */ { 3, s_0_176, 118, -1, 0}, +/*177 */ { 3, s_0_177, 118, -1, 0}, +/*178 */ { 4, s_0_178, 118, -1, 0}, +/*179 */ { 2, s_0_179, -1, -1, 0}, +/*180 */ { 3, s_0_180, 179, -1, 0}, +/*181 */ { 2, s_0_181, -1, -1, 0}, +/*182 */ { 3, s_0_182, 181, -1, 0}, +/*183 */ { 2, s_0_183, -1, -1, 0}, +/*184 */ { 3, s_0_184, -1, -1, 0}, +/*185 */ { 6, s_0_185, 184, -1, 0}, +/*186 */ { 1, s_0_186, -1, -1, 0}, +/*187 */ { 2, s_0_187, 186, -1, 0}, +/*188 */ { 3, s_0_188, 187, -1, 0}, +/*189 */ { 5, s_0_189, 188, -1, 0}, +/*190 */ { 2, s_0_190, 186, -1, 0}, +/*191 */ { 4, s_0_191, 190, -1, 0}, +/*192 */ { 3, s_0_192, 190, -1, 0}, +/*193 */ { 1, s_0_193, -1, -1, 0}, +/*194 */ { 2, s_0_194, -1, -1, 0}, +/*195 */ { 3, s_0_195, 194, -1, 0}, +/*196 */ { 2, s_0_196, -1, -1, 0}, +/*197 */ { 2, s_0_197, -1, -1, 0}, +/*198 */ { 2, s_0_198, -1, -1, 0}, +/*199 */ { 4, s_0_199, 198, -1, 0}, +/*200 */ { 4, s_0_200, 198, -1, 0}, +/*201 */ { 2, s_0_201, -1, -1, 0}, +/*202 */ { 3, s_0_202, 201, -1, 0}, +/*203 */ { 4, s_0_203, 201, -1, 0} +}; + +static const symbol s_1_0[3] = { 'i', 'n', 'g' }; +static const symbol s_1_1[2] = { 'a', 'j' }; +static const symbol s_1_2[3] = { 'i', 'a', 'j' }; +static const symbol s_1_3[3] = { 'i', 'e', 'j' }; +static const symbol s_1_4[2] = { 'o', 'j' }; +static const symbol s_1_5[3] = { 'i', 'o', 'j' }; +static const symbol s_1_6[3] = { 'u', 'o', 'j' }; +static const symbol s_1_7[4] = { 'i', 'u', 'o', 'j' }; +static const symbol s_1_8[3] = { 'a', 'u', 'j' }; +static const symbol s_1_9[3] = { 0xC4, 0x85, 'j' }; +static const symbol s_1_10[4] = { 'i', 0xC4, 0x85, 'j' }; +static const symbol s_1_11[3] = { 0xC4, 0x97, 'j' }; +static const symbol s_1_12[3] = { 0xC5, 0xB3, 'j' }; +static const symbol s_1_13[4] = { 'i', 0xC5, 0xB3, 'j' }; +static const symbol s_1_14[2] = { 'o', 'k' }; +static const symbol s_1_15[3] = { 'i', 'o', 'k' }; +static const symbol s_1_16[3] = { 'i', 'u', 'k' }; +static const symbol s_1_17[5] = { 'u', 'l', 'i', 'u', 'k' }; +static const symbol s_1_18[6] = { 'u', 0xC4, 0x8D, 'i', 'u', 'k' }; +static const symbol s_1_19[4] = { 'i', 0xC5, 0xA1, 'k' }; +static const symbol s_1_20[3] = { 'i', 'u', 'l' }; +static const symbol s_1_21[2] = { 'y', 'l' }; +static const symbol s_1_22[3] = { 0xC4, 0x97, 'l' }; +static const symbol s_1_23[2] = { 'a', 'm' }; +static const symbol s_1_24[3] = { 'd', 'a', 'm' }; +static const symbol s_1_25[3] = { 'j', 'a', 'm' }; +static const symbol s_1_26[4] = { 'z', 'g', 'a', 'n' }; +static const symbol s_1_27[3] = { 'a', 'i', 'n' }; +static const symbol s_1_28[3] = { 'e', 's', 'n' }; +static const symbol s_1_29[2] = { 'o', 'p' }; +static const symbol s_1_30[3] = { 'i', 'o', 'p' }; +static const symbol s_1_31[3] = { 'i', 'a', 's' }; +static const symbol s_1_32[3] = { 'i', 'e', 's' }; +static const symbol s_1_33[3] = { 'a', 'i', 's' }; +static const symbol s_1_34[4] = { 'i', 'a', 'i', 's' }; +static const symbol s_1_35[2] = { 'o', 's' }; +static const symbol s_1_36[3] = { 'i', 'o', 's' }; +static const symbol s_1_37[3] = { 'u', 'o', 's' }; +static const symbol s_1_38[4] = { 'i', 'u', 'o', 's' }; +static const symbol s_1_39[3] = { 'a', 'u', 's' }; +static const symbol s_1_40[4] = { 'i', 'a', 'u', 's' }; +static const symbol s_1_41[3] = { 0xC4, 0x85, 's' }; +static const symbol s_1_42[4] = { 'i', 0xC4, 0x85, 's' }; +static const symbol s_1_43[3] = { 0xC4, 0x99, 's' }; +static const symbol s_1_44[7] = { 'u', 't', 0xC4, 0x97, 'a', 'i', 't' }; +static const symbol s_1_45[3] = { 'a', 'n', 't' }; +static const symbol s_1_46[4] = { 'i', 'a', 'n', 't' }; +static const symbol s_1_47[5] = { 's', 'i', 'a', 'n', 't' }; +static const symbol s_1_48[3] = { 'i', 'n', 't' }; +static const symbol s_1_49[2] = { 'o', 't' }; +static const symbol s_1_50[3] = { 'u', 'o', 't' }; +static const symbol s_1_51[4] = { 'i', 'u', 'o', 't' }; +static const symbol s_1_52[2] = { 'y', 't' }; +static const symbol s_1_53[3] = { 0xC4, 0x97, 't' }; +static const symbol s_1_54[5] = { 'y', 'k', 0xC5, 0xA1, 't' }; +static const symbol s_1_55[3] = { 'i', 'a', 'u' }; +static const symbol s_1_56[3] = { 'd', 'a', 'v' }; +static const symbol s_1_57[2] = { 's', 'v' }; +static const symbol s_1_58[3] = { 0xC5, 0xA1, 'v' }; +static const symbol s_1_59[6] = { 'y', 'k', 0xC5, 0xA1, 0xC4, 0x8D }; +static const symbol s_1_60[2] = { 0xC4, 0x99 }; +static const symbol s_1_61[5] = { 0xC4, 0x97, 'j', 0xC4, 0x99 }; + +static const struct among a_1[62] = +{ +/* 0 */ { 3, s_1_0, -1, -1, 0}, +/* 1 */ { 2, s_1_1, -1, -1, 0}, +/* 2 */ { 3, s_1_2, 1, -1, 0}, +/* 3 */ { 3, s_1_3, -1, -1, 0}, +/* 4 */ { 2, s_1_4, -1, -1, 0}, +/* 5 */ { 3, s_1_5, 4, -1, 0}, +/* 6 */ { 3, s_1_6, 4, -1, 0}, +/* 7 */ { 4, s_1_7, 6, -1, 0}, +/* 8 */ { 3, s_1_8, -1, -1, 0}, +/* 9 */ { 3, s_1_9, -1, -1, 0}, +/* 10 */ { 4, s_1_10, 9, -1, 0}, +/* 11 */ { 3, s_1_11, -1, -1, 0}, +/* 12 */ { 3, s_1_12, -1, -1, 0}, +/* 13 */ { 4, s_1_13, 12, -1, 0}, +/* 14 */ { 2, s_1_14, -1, -1, 0}, +/* 15 */ { 3, s_1_15, 14, -1, 0}, +/* 16 */ { 3, s_1_16, -1, -1, 0}, +/* 17 */ { 5, s_1_17, 16, -1, 0}, +/* 18 */ { 6, s_1_18, 16, -1, 0}, +/* 19 */ { 4, s_1_19, -1, -1, 0}, +/* 20 */ { 3, s_1_20, -1, -1, 0}, +/* 21 */ { 2, s_1_21, -1, -1, 0}, +/* 22 */ { 3, s_1_22, -1, -1, 0}, +/* 23 */ { 2, s_1_23, -1, -1, 0}, +/* 24 */ { 3, s_1_24, 23, -1, 0}, +/* 25 */ { 3, s_1_25, 23, -1, 0}, +/* 26 */ { 4, s_1_26, -1, -1, 0}, +/* 27 */ { 3, s_1_27, -1, -1, 0}, +/* 28 */ { 3, s_1_28, -1, -1, 0}, +/* 29 */ { 2, s_1_29, -1, -1, 0}, +/* 30 */ { 3, s_1_30, 29, -1, 0}, +/* 31 */ { 3, s_1_31, -1, -1, 0}, +/* 32 */ { 3, s_1_32, -1, -1, 0}, +/* 33 */ { 3, s_1_33, -1, -1, 0}, +/* 34 */ { 4, s_1_34, 33, -1, 0}, +/* 35 */ { 2, s_1_35, -1, -1, 0}, +/* 36 */ { 3, s_1_36, 35, -1, 0}, +/* 37 */ { 3, s_1_37, 35, -1, 0}, +/* 38 */ { 4, s_1_38, 37, -1, 0}, +/* 39 */ { 3, s_1_39, -1, -1, 0}, +/* 40 */ { 4, s_1_40, 39, -1, 0}, +/* 41 */ { 3, s_1_41, -1, -1, 0}, +/* 42 */ { 4, s_1_42, 41, -1, 0}, +/* 43 */ { 3, s_1_43, -1, -1, 0}, +/* 44 */ { 7, s_1_44, -1, -1, 0}, +/* 45 */ { 3, s_1_45, -1, -1, 0}, +/* 46 */ { 4, s_1_46, 45, -1, 0}, +/* 47 */ { 5, s_1_47, 46, -1, 0}, +/* 48 */ { 3, s_1_48, -1, -1, 0}, +/* 49 */ { 2, s_1_49, -1, -1, 0}, +/* 50 */ { 3, s_1_50, 49, -1, 0}, +/* 51 */ { 4, s_1_51, 50, -1, 0}, +/* 52 */ { 2, s_1_52, -1, -1, 0}, +/* 53 */ { 3, s_1_53, -1, -1, 0}, +/* 54 */ { 5, s_1_54, -1, -1, 0}, +/* 55 */ { 3, s_1_55, -1, -1, 0}, +/* 56 */ { 3, s_1_56, -1, -1, 0}, +/* 57 */ { 2, s_1_57, -1, -1, 0}, +/* 58 */ { 3, s_1_58, -1, -1, 0}, +/* 59 */ { 6, s_1_59, -1, -1, 0}, +/* 60 */ { 2, s_1_60, -1, -1, 0}, +/* 61 */ { 5, s_1_61, 60, -1, 0} +}; + +static const symbol s_2_0[5] = { 'o', 'j', 'i', 'm', 'e' }; +static const symbol s_2_1[6] = { 0xC4, 0x97, 'j', 'i', 'm', 'e' }; +static const symbol s_2_2[5] = { 'a', 'v', 'i', 'm', 'e' }; +static const symbol s_2_3[5] = { 'o', 'k', 'a', 't', 'e' }; +static const symbol s_2_4[4] = { 'a', 'i', 't', 'e' }; +static const symbol s_2_5[4] = { 'u', 'o', 't', 'e' }; +static const symbol s_2_6[5] = { 'a', 's', 'i', 'u', 's' }; +static const symbol s_2_7[7] = { 'o', 'k', 'a', 't', 0xC4, 0x97, 's' }; +static const symbol s_2_8[6] = { 'a', 'i', 't', 0xC4, 0x97, 's' }; +static const symbol s_2_9[6] = { 'u', 'o', 't', 0xC4, 0x97, 's' }; +static const symbol s_2_10[4] = { 'e', 's', 'i', 'u' }; + +static const struct among a_2[11] = +{ +/* 0 */ { 5, s_2_0, -1, 7, 0}, +/* 1 */ { 6, s_2_1, -1, 3, 0}, +/* 2 */ { 5, s_2_2, -1, 6, 0}, +/* 3 */ { 5, s_2_3, -1, 8, 0}, +/* 4 */ { 4, s_2_4, -1, 1, 0}, +/* 5 */ { 4, s_2_5, -1, 2, 0}, +/* 6 */ { 5, s_2_6, -1, 5, 0}, +/* 7 */ { 7, s_2_7, -1, 8, 0}, +/* 8 */ { 6, s_2_8, -1, 1, 0}, +/* 9 */ { 6, s_2_9, -1, 2, 0}, +/* 10 */ { 4, s_2_10, -1, 4, 0} +}; + +static const symbol s_3_0[2] = { 0xC4, 0x8D }; +static const symbol s_3_1[3] = { 'd', 0xC5, 0xBE }; + +static const struct among a_3[2] = +{ +/* 0 */ { 2, s_3_0, -1, 1, 0}, +/* 1 */ { 3, s_3_1, -1, 2, 0} +}; + +static const symbol s_4_0[2] = { 'g', 'd' }; + +static const struct among a_4[1] = +{ +/* 0 */ { 2, s_4_0, -1, 1, 0} +}; + +static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 64, 1, 0, 64, 0, 0, 0, 0, 0, 0, 0, 4, 4 }; + +static const symbol s_0[] = { 'a', 'i', 't', 0xC4, 0x97 }; +static const symbol s_1[] = { 'u', 'o', 't', 0xC4, 0x97 }; +static const symbol s_2[] = { 0xC4, 0x97, 'j', 'i', 'm', 'a', 's' }; +static const symbol s_3[] = { 'e', 's', 'y', 's' }; +static const symbol s_4[] = { 'a', 's', 'y', 's' }; +static const symbol s_5[] = { 'a', 'v', 'i', 'm', 'a', 's' }; +static const symbol s_6[] = { 'o', 'j', 'i', 'm', 'a', 's' }; +static const symbol s_7[] = { 'o', 'k', 'a', 't', 0xC4, 0x97 }; +static const symbol s_8[] = { 't' }; +static const symbol s_9[] = { 'd' }; +static const symbol s_10[] = { 'g' }; + +static int r_R1(struct SN_env * z) { /* backwardmode */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 43 */ + return 1; +} + +static int r_step1(struct SN_env * z) { /* backwardmode */ + + { int mlimit1; /* setlimit, line 45 */ + if (z->c < z->I[0]) return 0; + mlimit1 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 45 */ + if (!(find_among_b(z, a_0, 204))) { z->lb = mlimit1; return 0; } /* substring, line 45 */ + z->bra = z->c; /* ], line 45 */ + z->lb = mlimit1; + } + { int ret = r_R1(z); /* call R1, line 45 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 229 */ + if (ret < 0) return ret; + } + return 1; +} + +static int r_step2(struct SN_env * z) { /* backwardmode */ +/* repeat, line 232 */ + + while(1) { int m1 = z->l - z->c; (void)m1; + + { int mlimit2; /* setlimit, line 233 */ + if (z->c < z->I[0]) goto lab0; + mlimit2 = z->lb; z->lb = z->I[0]; + z->ket = z->c; /* [, line 233 */ + if (!(find_among_b(z, a_1, 62))) { z->lb = mlimit2; goto lab0; } /* substring, line 233 */ + z->bra = z->c; /* ], line 233 */ + z->lb = mlimit2; + } + { int ret = slice_del(z); /* delete, line 303 */ + if (ret < 0) return ret; + } + continue; + lab0: + z->c = z->l - m1; + break; + } + return 1; +} + +static int r_fix_conflicts(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 307 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2621472 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 307 */ + among_var = find_among_b(z, a_2, 11); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 307 */ + switch (among_var) { /* among, line 307 */ + case 1: + { int ret = slice_from_s(z, 5, s_0); /* <-, line 309 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 5, s_1); /* <-, line 314 */ + if (ret < 0) return ret; + } + break; + case 3: + { int ret = slice_from_s(z, 7, s_2); /* <-, line 319 */ + if (ret < 0) return ret; + } + break; + case 4: + { int ret = slice_from_s(z, 4, s_3); /* <-, line 322 */ + if (ret < 0) return ret; + } + break; + case 5: + { int ret = slice_from_s(z, 4, s_4); /* <-, line 324 */ + if (ret < 0) return ret; + } + break; + case 6: + { int ret = slice_from_s(z, 6, s_5); /* <-, line 327 */ + if (ret < 0) return ret; + } + break; + case 7: + { int ret = slice_from_s(z, 6, s_6); /* <-, line 328 */ + if (ret < 0) return ret; + } + break; + case 8: + { int ret = slice_from_s(z, 6, s_7); /* <-, line 331 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_fix_chdz(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 338 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 141 && z->p[z->c - 1] != 190)) return 0; /* substring, line 338 */ + among_var = find_among_b(z, a_3, 2); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 338 */ + switch (among_var) { /* among, line 338 */ + case 1: + { int ret = slice_from_s(z, 1, s_8); /* <-, line 339 */ + if (ret < 0) return ret; + } + break; + case 2: + { int ret = slice_from_s(z, 1, s_9); /* <-, line 340 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_fix_gd(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 345 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 100) return 0; /* substring, line 345 */ + if (!(find_among_b(z, a_4, 1))) return 0; + z->bra = z->c; /* ], line 345 */ + { int ret = slice_from_s(z, 1, s_10); /* <-, line 346 */ + if (ret < 0) return ret; + } + return 1; +} + +extern int lithuanian_UTF_8_stem(struct SN_env * z) { /* forwardmode */ + z->I[0] = z->l; /* $p1 = , line 355 */ + { int c1 = z->c; /* do, line 357 */ + { int c2 = z->c; /* try, line 359 */ + { int c_test3 = z->c; /* test, line 359 */ + if (z->c == z->l || z->p[z->c] != 'a') { z->c = c2; goto lab1; } /* literal, line 359 */ + z->c++; + z->c = c_test3; + } + if (!(len_utf8(z->p) > 6)) { z->c = c2; goto lab1; } /* $( > ), line 359 */ + { int ret = skip_utf8(z->p, z->c, 0, z->l, + 1); /* hop, line 359 */ + if (ret < 0) { z->c = c2; goto lab1; } + z->c = ret; + } + lab1: + ; + } + { /* gopast */ /* grouping v, line 361 */ + int ret = out_grouping_U(z, g_v, 97, 371, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + { /* gopast */ /* non v, line 361 */ + int ret = in_grouping_U(z, g_v, 97, 371, 1); + if (ret < 0) goto lab0; + z->c += ret; + } + z->I[0] = z->c; /* setmark p1, line 361 */ + lab0: + z->c = c1; + } + z->lb = z->c; z->c = z->l; /* backwards, line 364 */ + + { int m4 = z->l - z->c; (void)m4; /* do, line 365 */ + { int ret = r_fix_conflicts(z); /* call fix_conflicts, line 365 */ + if (ret < 0) return ret; + } + z->c = z->l - m4; + } + { int m5 = z->l - z->c; (void)m5; /* do, line 366 */ + { int ret = r_step1(z); /* call step1, line 366 */ + if (ret < 0) return ret; + } + z->c = z->l - m5; + } + { int m6 = z->l - z->c; (void)m6; /* do, line 367 */ + { int ret = r_fix_chdz(z); /* call fix_chdz, line 367 */ + if (ret < 0) return ret; + } + z->c = z->l - m6; + } + { int m7 = z->l - z->c; (void)m7; /* do, line 368 */ + { int ret = r_step2(z); /* call step2, line 368 */ + if (ret < 0) return ret; + } + z->c = z->l - m7; + } + { int m8 = z->l - z->c; (void)m8; /* do, line 369 */ + { int ret = r_fix_chdz(z); /* call fix_chdz, line 369 */ + if (ret < 0) return ret; + } + z->c = z->l - m8; + } + { int m9 = z->l - z->c; (void)m9; /* do, line 370 */ + { int ret = r_fix_gd(z); /* call fix_gd, line 370 */ + if (ret < 0) return ret; + } + z->c = z->l - m9; + } + z->c = z->lb; + return 1; +} + +extern struct SN_env * lithuanian_UTF_8_create_env(void) { return SN_create_env(0, 1, 0); } + +extern void lithuanian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_UTF_8_lithuanian.h b/src/dep/snowball/src_c/stem_UTF_8_lithuanian.h new file mode 100644 index 0000000000..b634532703 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_lithuanian.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * lithuanian_UTF_8_create_env(void); +extern void lithuanian_UTF_8_close_env(struct SN_env * z); + +extern int lithuanian_UTF_8_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_UTF_8_nepali.c b/src/dep/snowball/src_c/stem_UTF_8_nepali.c new file mode 100644 index 0000000000..a3d59c95da --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_nepali.c @@ -0,0 +1,422 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#include "../runtime/header.h" + +#ifdef __cplusplus +extern "C" { +#endif +extern int nepali_UTF_8_stem(struct SN_env * z); +#ifdef __cplusplus +} +#endif +static int r_remove_category_3(struct SN_env * z); +static int r_remove_category_2(struct SN_env * z); +static int r_check_category_2(struct SN_env * z); +static int r_remove_category_1(struct SN_env * z); +#ifdef __cplusplus +extern "C" { +#endif + + +extern struct SN_env * nepali_UTF_8_create_env(void); +extern void nepali_UTF_8_close_env(struct SN_env * z); + + +#ifdef __cplusplus +} +#endif +static const symbol s_0_0[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 }; +static const symbol s_0_1[9] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0x87 }; +static const symbol s_0_2[6] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA5, 0x87 }; +static const symbol s_0_3[9] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0x88 }; +static const symbol s_0_4[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 }; +static const symbol s_0_5[12] = { 0xE0, 0xA4, 0xB8, 0xE0, 0xA4, 0x81, 0xE0, 0xA4, 0x97, 0xE0, 0xA5, 0x88 }; +static const symbol s_0_6[6] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA5, 0x88 }; +static const symbol s_0_7[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B }; +static const symbol s_0_8[9] = { 0xE0, 0xA4, 0xB8, 0xE0, 0xA4, 0x81, 0xE0, 0xA4, 0x97 }; +static const symbol s_0_9[9] = { 0xE0, 0xA4, 0xB8, 0xE0, 0xA4, 0x82, 0xE0, 0xA4, 0x97 }; +static const symbol s_0_10[18] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAB, 0xE0, 0xA4, 0xA4 }; +static const symbol s_0_11[6] = { 0xE0, 0xA4, 0xB0, 0xE0, 0xA4, 0xA4 }; +static const symbol s_0_12[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE }; +static const symbol s_0_13[6] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA4, 0xBE }; +static const symbol s_0_14[18] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xB5, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xB0, 0xE0, 0xA4, 0xBE }; +static const symbol s_0_15[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBF }; +static const symbol s_0_16[9] = { 0xE0, 0xA4, 0xAA, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xBF }; + +static const struct among a_0[17] = +{ +/* 0 */ { 6, s_0_0, -1, 2, 0}, +/* 1 */ { 9, s_0_1, -1, 1, 0}, +/* 2 */ { 6, s_0_2, -1, 1, 0}, +/* 3 */ { 9, s_0_3, -1, 1, 0}, +/* 4 */ { 6, s_0_4, -1, 2, 0}, +/* 5 */ { 12, s_0_5, -1, 1, 0}, +/* 6 */ { 6, s_0_6, -1, 1, 0}, +/* 7 */ { 6, s_0_7, -1, 2, 0}, +/* 8 */ { 9, s_0_8, -1, 1, 0}, +/* 9 */ { 9, s_0_9, -1, 1, 0}, +/* 10 */ { 18, s_0_10, -1, 1, 0}, +/* 11 */ { 6, s_0_11, -1, 1, 0}, +/* 12 */ { 6, s_0_12, -1, 2, 0}, +/* 13 */ { 6, s_0_13, -1, 1, 0}, +/* 14 */ { 18, s_0_14, -1, 1, 0}, +/* 15 */ { 6, s_0_15, -1, 2, 0}, +/* 16 */ { 9, s_0_16, -1, 1, 0} +}; + +static const symbol s_1_0[3] = { 0xE0, 0xA4, 0x81 }; +static const symbol s_1_1[3] = { 0xE0, 0xA4, 0x82 }; +static const symbol s_1_2[3] = { 0xE0, 0xA5, 0x88 }; + +static const struct among a_1[3] = +{ +/* 0 */ { 3, s_1_0, -1, -1, 0}, +/* 1 */ { 3, s_1_1, -1, -1, 0}, +/* 2 */ { 3, s_1_2, -1, -1, 0} +}; + +static const symbol s_2_0[3] = { 0xE0, 0xA4, 0x81 }; +static const symbol s_2_1[3] = { 0xE0, 0xA4, 0x82 }; +static const symbol s_2_2[3] = { 0xE0, 0xA5, 0x88 }; + +static const struct among a_2[3] = +{ +/* 0 */ { 3, s_2_0, -1, 1, 0}, +/* 1 */ { 3, s_2_1, -1, 1, 0}, +/* 2 */ { 3, s_2_2, -1, 2, 0} +}; + +static const symbol s_3_0[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 }; +static const symbol s_3_1[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 }; +static const symbol s_3_2[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 }; +static const symbol s_3_3[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 }; +static const symbol s_3_4[12] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x96, 0xE0, 0xA5, 0x80 }; +static const symbol s_3_5[6] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x80 }; +static const symbol s_3_6[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x80 }; +static const symbol s_3_7[6] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 }; +static const symbol s_3_8[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 }; +static const symbol s_3_9[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 }; +static const symbol s_3_10[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 }; +static const symbol s_3_11[6] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x81 }; +static const symbol s_3_12[9] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x81 }; +static const symbol s_3_13[9] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x82 }; +static const symbol s_3_14[6] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x87 }; +static const symbol s_3_15[6] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x87 }; +static const symbol s_3_16[6] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87 }; +static const symbol s_3_17[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 }; +static const symbol s_3_18[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 }; +static const symbol s_3_19[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 }; +static const symbol s_3_20[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x88 }; +static const symbol s_3_21[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x88 }; +static const symbol s_3_22[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x88 }; +static const symbol s_3_23[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_24[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_25[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_26[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_27[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_28[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_29[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_30[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_31[6] = { 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_32[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_33[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_34[9] = { 0xE0, 0xA4, 0xAD, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_35[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_36[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_37[12] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B }; +static const symbol s_3_38[6] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_39[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_40[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_41[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_42[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_43[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_44[6] = { 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_45[12] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_46[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_47[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C }; +static const symbol s_3_48[9] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_49[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_50[12] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_51[15] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_52[12] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_53[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_54[12] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_55[12] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_56[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_57[9] = { 0xE0, 0xA4, 0xAA, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_58[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_59[15] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_60[12] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_61[12] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA5, 0x8B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_62[9] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_63[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_64[12] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_65[15] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_66[12] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_67[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_68[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_69[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D }; +static const symbol s_3_70[9] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F }; +static const symbol s_3_71[3] = { 0xE0, 0xA4, 0x9B }; +static const symbol s_3_72[6] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_73[6] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_74[9] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_75[15] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA5, 0x81, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_76[15] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA5, 0x81, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_77[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_78[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_79[6] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_80[6] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B }; +static const symbol s_3_81[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_82[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_83[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_84[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_85[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_86[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_87[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_88[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBE }; +static const symbol s_3_89[12] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x96, 0xE0, 0xA4, 0xBF }; +static const symbol s_3_90[12] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF }; + +static const struct among a_3[91] = +{ +/* 0 */ { 9, s_3_0, -1, 1, 0}, +/* 1 */ { 9, s_3_1, -1, 1, 0}, +/* 2 */ { 12, s_3_2, 1, 1, 0}, +/* 3 */ { 12, s_3_3, 1, 1, 0}, +/* 4 */ { 12, s_3_4, -1, 1, 0}, +/* 5 */ { 6, s_3_5, -1, 1, 0}, +/* 6 */ { 6, s_3_6, -1, 1, 0}, +/* 7 */ { 6, s_3_7, -1, 1, 0}, +/* 8 */ { 9, s_3_8, 7, 1, 0}, +/* 9 */ { 12, s_3_9, 8, 1, 0}, +/* 10 */ { 9, s_3_10, 7, 1, 0}, +/* 11 */ { 6, s_3_11, -1, 1, 0}, +/* 12 */ { 9, s_3_12, -1, 1, 0}, +/* 13 */ { 9, s_3_13, -1, 1, 0}, +/* 14 */ { 6, s_3_14, -1, 1, 0}, +/* 15 */ { 6, s_3_15, -1, 1, 0}, +/* 16 */ { 6, s_3_16, -1, 1, 0}, +/* 17 */ { 9, s_3_17, -1, 1, 0}, +/* 18 */ { 12, s_3_18, 17, 1, 0}, +/* 19 */ { 9, s_3_19, -1, 1, 0}, +/* 20 */ { 6, s_3_20, -1, 1, 0}, +/* 21 */ { 9, s_3_21, 20, 1, 0}, +/* 22 */ { 9, s_3_22, 20, 1, 0}, +/* 23 */ { 9, s_3_23, -1, 1, 0}, +/* 24 */ { 12, s_3_24, 23, 1, 0}, +/* 25 */ { 9, s_3_25, -1, 1, 0}, +/* 26 */ { 12, s_3_26, 25, 1, 0}, +/* 27 */ { 12, s_3_27, 25, 1, 0}, +/* 28 */ { 6, s_3_28, -1, 1, 0}, +/* 29 */ { 9, s_3_29, 28, 1, 0}, +/* 30 */ { 9, s_3_30, 28, 1, 0}, +/* 31 */ { 6, s_3_31, -1, 1, 0}, +/* 32 */ { 9, s_3_32, 31, 1, 0}, +/* 33 */ { 12, s_3_33, 31, 1, 0}, +/* 34 */ { 9, s_3_34, 31, 1, 0}, +/* 35 */ { 9, s_3_35, 31, 1, 0}, +/* 36 */ { 12, s_3_36, 35, 1, 0}, +/* 37 */ { 12, s_3_37, 35, 1, 0}, +/* 38 */ { 6, s_3_38, -1, 1, 0}, +/* 39 */ { 9, s_3_39, 38, 1, 0}, +/* 40 */ { 9, s_3_40, 38, 1, 0}, +/* 41 */ { 12, s_3_41, 40, 1, 0}, +/* 42 */ { 9, s_3_42, 38, 1, 0}, +/* 43 */ { 9, s_3_43, 38, 1, 0}, +/* 44 */ { 6, s_3_44, -1, 1, 0}, +/* 45 */ { 12, s_3_45, 44, 1, 0}, +/* 46 */ { 12, s_3_46, 44, 1, 0}, +/* 47 */ { 12, s_3_47, 44, 1, 0}, +/* 48 */ { 9, s_3_48, -1, 1, 0}, +/* 49 */ { 12, s_3_49, 48, 1, 0}, +/* 50 */ { 12, s_3_50, 48, 1, 0}, +/* 51 */ { 15, s_3_51, 50, 1, 0}, +/* 52 */ { 12, s_3_52, 48, 1, 0}, +/* 53 */ { 12, s_3_53, 48, 1, 0}, +/* 54 */ { 12, s_3_54, -1, 1, 0}, +/* 55 */ { 12, s_3_55, -1, 1, 0}, +/* 56 */ { 12, s_3_56, -1, 1, 0}, +/* 57 */ { 9, s_3_57, -1, 1, 0}, +/* 58 */ { 9, s_3_58, -1, 1, 0}, +/* 59 */ { 15, s_3_59, 58, 1, 0}, +/* 60 */ { 12, s_3_60, -1, 1, 0}, +/* 61 */ { 12, s_3_61, -1, 1, 0}, +/* 62 */ { 9, s_3_62, -1, 1, 0}, +/* 63 */ { 12, s_3_63, 62, 1, 0}, +/* 64 */ { 12, s_3_64, 62, 1, 0}, +/* 65 */ { 15, s_3_65, 64, 1, 0}, +/* 66 */ { 12, s_3_66, 62, 1, 0}, +/* 67 */ { 12, s_3_67, 62, 1, 0}, +/* 68 */ { 9, s_3_68, -1, 1, 0}, +/* 69 */ { 12, s_3_69, 68, 1, 0}, +/* 70 */ { 9, s_3_70, -1, 1, 0}, +/* 71 */ { 3, s_3_71, -1, 1, 0}, +/* 72 */ { 6, s_3_72, 71, 1, 0}, +/* 73 */ { 6, s_3_73, 71, 1, 0}, +/* 74 */ { 9, s_3_74, 73, 1, 0}, +/* 75 */ { 15, s_3_75, 74, 1, 0}, +/* 76 */ { 15, s_3_76, 71, 1, 0}, +/* 77 */ { 12, s_3_77, 71, 1, 0}, +/* 78 */ { 12, s_3_78, 71, 1, 0}, +/* 79 */ { 6, s_3_79, 71, 1, 0}, +/* 80 */ { 6, s_3_80, 71, 1, 0}, +/* 81 */ { 9, s_3_81, -1, 1, 0}, +/* 82 */ { 12, s_3_82, 81, 1, 0}, +/* 83 */ { 9, s_3_83, -1, 1, 0}, +/* 84 */ { 12, s_3_84, 83, 1, 0}, +/* 85 */ { 12, s_3_85, 83, 1, 0}, +/* 86 */ { 6, s_3_86, -1, 1, 0}, +/* 87 */ { 9, s_3_87, 86, 1, 0}, +/* 88 */ { 9, s_3_88, 86, 1, 0}, +/* 89 */ { 12, s_3_89, -1, 1, 0}, +/* 90 */ { 12, s_3_90, -1, 1, 0} +}; + +static const symbol s_0[] = { 0xE0, 0xA4, 0x8F }; +static const symbol s_1[] = { 0xE0, 0xA5, 0x87 }; +static const symbol s_2[] = { 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C }; +static const symbol s_3[] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C }; +static const symbol s_4[] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8C }; +static const symbol s_5[] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x87 }; +static const symbol s_6[] = { 0xE0, 0xA4, 0xA4, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xB0 }; + +static int r_remove_category_1(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 54 */ + among_var = find_among_b(z, a_0, 17); /* substring, line 54 */ + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 54 */ + switch (among_var) { /* among, line 54 */ + case 1: + { int ret = slice_del(z); /* delete, line 58 */ + if (ret < 0) return ret; + } + break; + case 2: + { int m1 = z->l - z->c; (void)m1; /* or, line 59 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 59 */ + if (!(eq_s_b(z, 3, s_0))) goto lab3; /* literal, line 59 */ + goto lab2; + lab3: + z->c = z->l - m2; + if (!(eq_s_b(z, 3, s_1))) goto lab1; /* literal, line 59 */ + } + lab2: + goto lab0; + lab1: + z->c = z->l - m1; + { int ret = slice_del(z); /* delete, line 59 */ + if (ret < 0) return ret; + } + } + lab0: + break; + } + return 1; +} + +static int r_check_category_2(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 64 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 4 || !((262 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 64 */ + if (!(find_among_b(z, a_1, 3))) return 0; + z->bra = z->c; /* ], line 64 */ + return 1; +} + +static int r_remove_category_2(struct SN_env * z) { /* backwardmode */ + int among_var; + z->ket = z->c; /* [, line 70 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 4 || !((262 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 70 */ + among_var = find_among_b(z, a_2, 3); + if (!(among_var)) return 0; + z->bra = z->c; /* ], line 70 */ + switch (among_var) { /* among, line 70 */ + case 1: + { int m1 = z->l - z->c; (void)m1; /* or, line 71 */ + if (!(eq_s_b(z, 6, s_2))) goto lab1; /* literal, line 71 */ + goto lab0; + lab1: + z->c = z->l - m1; + if (!(eq_s_b(z, 6, s_3))) goto lab2; /* literal, line 71 */ + goto lab0; + lab2: + z->c = z->l - m1; + if (!(eq_s_b(z, 6, s_4))) goto lab3; /* literal, line 71 */ + goto lab0; + lab3: + z->c = z->l - m1; + if (!(eq_s_b(z, 6, s_5))) return 0; /* literal, line 71 */ + } + lab0: + { int ret = slice_del(z); /* delete, line 71 */ + if (ret < 0) return ret; + } + break; + case 2: + if (!(eq_s_b(z, 9, s_6))) return 0; /* literal, line 72 */ + { int ret = slice_del(z); /* delete, line 72 */ + if (ret < 0) return ret; + } + break; + } + return 1; +} + +static int r_remove_category_3(struct SN_env * z) { /* backwardmode */ + z->ket = z->c; /* [, line 77 */ + if (!(find_among_b(z, a_3, 91))) return 0; /* substring, line 77 */ + z->bra = z->c; /* ], line 77 */ + { int ret = slice_del(z); /* delete, line 79 */ + if (ret < 0) return ret; + } + return 1; +} + +extern int nepali_UTF_8_stem(struct SN_env * z) { /* forwardmode */ + z->lb = z->c; z->c = z->l; /* backwards, line 86 */ + + { int m1 = z->l - z->c; (void)m1; /* do, line 87 */ + { int ret = r_remove_category_1(z); /* call remove_category_1, line 87 */ + if (ret < 0) return ret; + } + z->c = z->l - m1; + } + { int m2 = z->l - z->c; (void)m2; /* do, line 88 */ +/* repeat, line 89 */ + + while(1) { int m3 = z->l - z->c; (void)m3; + { int m4 = z->l - z->c; (void)m4; /* do, line 89 */ + { int m5 = z->l - z->c; (void)m5; /* and, line 89 */ + { int ret = r_check_category_2(z); /* call check_category_2, line 89 */ + if (ret == 0) goto lab2; + if (ret < 0) return ret; + } + z->c = z->l - m5; + { int ret = r_remove_category_2(z); /* call remove_category_2, line 89 */ + if (ret == 0) goto lab2; + if (ret < 0) return ret; + } + } + lab2: + z->c = z->l - m4; + } + { int ret = r_remove_category_3(z); /* call remove_category_3, line 89 */ + if (ret == 0) goto lab1; + if (ret < 0) return ret; + } + continue; + lab1: + z->c = z->l - m3; + break; + } + z->c = z->l - m2; + } + z->c = z->lb; + return 1; +} + +extern struct SN_env * nepali_UTF_8_create_env(void) { return SN_create_env(0, 0, 0); } + +extern void nepali_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } + diff --git a/src/dep/snowball/src_c/stem_UTF_8_nepali.h b/src/dep/snowball/src_c/stem_UTF_8_nepali.h new file mode 100644 index 0000000000..3dccb82b96 --- /dev/null +++ b/src/dep/snowball/src_c/stem_UTF_8_nepali.h @@ -0,0 +1,15 @@ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ + +#ifdef __cplusplus +extern "C" { +#endif + +extern struct SN_env * nepali_UTF_8_create_env(void); +extern void nepali_UTF_8_close_env(struct SN_env * z); + +extern int nepali_UTF_8_stem(struct SN_env * z); + +#ifdef __cplusplus +} +#endif + diff --git a/src/dep/snowball/src_c/stem_UTF_8_norwegian.c b/src/dep/snowball/src_c/stem_UTF_8_norwegian.c index e0bceae5a9..78d7dd80cd 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_norwegian.c +++ b/src/dep/snowball/src_c/stem_UTF_8_norwegian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -149,7 +148,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 31 */ /* try, line 32 */ - if (!(z->I[0] < z->I[1])) goto lab0; /* $p1 < , line 32 */ + if (!(z->I[0] < z->I[1])) goto lab0; /* $( < ), line 32 */ z->I[0] = z->I[1]; /* $p1 = , line 32 */ lab0: return 1; @@ -157,12 +156,10 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 38 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 38 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 38 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 38 */ if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851426 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 38 */ among_var = find_among_b(z, a_0, 29); @@ -171,7 +168,6 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ z->lb = mlimit1; } switch (among_var) { /* among, line 39 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 44 */ if (ret < 0) return ret; @@ -203,12 +199,10 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ { int m_test1 = z->l - z->c; /* test, line 53 */ - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 54 */ - int mlimit2; + + { int mlimit2; /* setlimit, line 54 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 54 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; + mlimit2 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 54 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] != 116) { z->lb = mlimit2; return 0; } /* substring, line 54 */ if (!(find_among_b(z, a_1, 2))) { z->lb = mlimit2; return 0; } @@ -229,27 +223,18 @@ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ } static int r_other_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 63 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 63 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 63 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 63 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4718720 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 63 */ - among_var = find_among_b(z, a_2, 11); - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_2, 11))) { z->lb = mlimit1; return 0; } z->bra = z->c; /* ], line 63 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 64 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 67 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 67 */ + if (ret < 0) return ret; } return 1; } @@ -257,36 +242,28 @@ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ extern int norwegian_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 74 */ { int ret = r_mark_regions(z); /* call mark_regions, line 74 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } z->lb = z->c; z->c = z->l; /* backwards, line 75 */ { int m2 = z->l - z->c; (void)m2; /* do, line 76 */ { int ret = r_main_suffix(z); /* call main_suffix, line 76 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 77 */ { int ret = r_consonant_pair(z); /* call consonant_pair, line 77 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } { int m4 = z->l - z->c; (void)m4; /* do, line 78 */ { int ret = r_other_suffix(z); /* call other_suffix, line 78 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_UTF_8_norwegian.h b/src/dep/snowball/src_c/stem_UTF_8_norwegian.h index b155ebb718..b657249d18 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_norwegian.h +++ b/src/dep/snowball/src_c/stem_UTF_8_norwegian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_porter.c b/src/dep/snowball/src_c/stem_UTF_8_porter.c index 3493ac64f0..fe319cd8f0 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_porter.c +++ b/src/dep/snowball/src_c/stem_UTF_8_porter.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -115,21 +114,21 @@ static const struct among a_3[20] = /* 2 */ { 4, s_3_2, -1, 4, 0}, /* 3 */ { 3, s_3_3, -1, 6, 0}, /* 4 */ { 4, s_3_4, -1, 9, 0}, -/* 5 */ { 5, s_3_5, -1, 12, 0}, +/* 5 */ { 5, s_3_5, -1, 11, 0}, /* 6 */ { 5, s_3_6, -1, 5, 0}, -/* 7 */ { 5, s_3_7, -1, 10, 0}, -/* 8 */ { 6, s_3_8, -1, 14, 0}, -/* 9 */ { 5, s_3_9, -1, 13, 0}, +/* 7 */ { 5, s_3_7, -1, 9, 0}, +/* 8 */ { 6, s_3_8, -1, 13, 0}, +/* 9 */ { 5, s_3_9, -1, 12, 0}, /* 10 */ { 6, s_3_10, -1, 1, 0}, /* 11 */ { 7, s_3_11, 10, 8, 0}, -/* 12 */ { 5, s_3_12, -1, 10, 0}, +/* 12 */ { 5, s_3_12, -1, 9, 0}, /* 13 */ { 5, s_3_13, -1, 8, 0}, /* 14 */ { 7, s_3_14, 13, 7, 0}, /* 15 */ { 4, s_3_15, -1, 7, 0}, /* 16 */ { 4, s_3_16, -1, 8, 0}, -/* 17 */ { 7, s_3_17, -1, 13, 0}, -/* 18 */ { 7, s_3_18, -1, 11, 0}, -/* 19 */ { 7, s_3_19, -1, 12, 0} +/* 17 */ { 7, s_3_17, -1, 12, 0}, +/* 18 */ { 7, s_3_18, -1, 10, 0}, +/* 19 */ { 7, s_3_19, -1, 11, 0} }; static const symbol s_4_0[5] = { 'i', 'c', 'a', 't', 'e' }; @@ -213,16 +212,15 @@ static const symbol s_11[] = { 'e' }; static const symbol s_12[] = { 'i', 'z', 'e' }; static const symbol s_13[] = { 'a', 't', 'e' }; static const symbol s_14[] = { 'a', 'l' }; -static const symbol s_15[] = { 'a', 'l' }; -static const symbol s_16[] = { 'f', 'u', 'l' }; -static const symbol s_17[] = { 'o', 'u', 's' }; -static const symbol s_18[] = { 'i', 'v', 'e' }; -static const symbol s_19[] = { 'b', 'l', 'e' }; -static const symbol s_20[] = { 'a', 'l' }; -static const symbol s_21[] = { 'i', 'c' }; +static const symbol s_15[] = { 'f', 'u', 'l' }; +static const symbol s_16[] = { 'o', 'u', 's' }; +static const symbol s_17[] = { 'i', 'v', 'e' }; +static const symbol s_18[] = { 'b', 'l', 'e' }; +static const symbol s_19[] = { 'a', 'l' }; +static const symbol s_20[] = { 'i', 'c' }; +static const symbol s_21[] = { 'Y' }; static const symbol s_22[] = { 'Y' }; -static const symbol s_23[] = { 'Y' }; -static const symbol s_24[] = { 'y' }; +static const symbol s_23[] = { 'y' }; static int r_shortv(struct SN_env * z) { /* backwardmode */ if (out_grouping_b_U(z, g_v_WXY, 89, 121, 0)) return 0; /* non v_WXY, line 19 */ @@ -232,12 +230,12 @@ static int r_shortv(struct SN_env * z) { /* backwardmode */ } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $p1 <= , line 21 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 21 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 22 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 22 */ return 1; } @@ -249,7 +247,6 @@ static int r_Step_1a(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 25 */ switch (among_var) { /* among, line 25 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 2, s_0); /* <-, line 26 */ if (ret < 0) return ret; @@ -277,7 +274,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 34 */ switch (among_var) { /* among, line 34 */ - case 0: return 0; case 1: { int ret = r_R1(z); /* call R1, line 35 */ if (ret <= 0) return ret; @@ -305,7 +301,6 @@ static int r_Step_1b(struct SN_env * z) { /* backwardmode */ z->c = z->l - m_test2; } switch (among_var) { /* among, line 39 */ - case 0: return 0; case 1: { int ret; { int saved_c = z->c; @@ -383,7 +378,6 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 58 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 4, s_6); /* <-, line 59 */ if (ret < 0) return ret; @@ -430,27 +424,22 @@ static int r_Step_2(struct SN_env * z) { /* backwardmode */ } break; case 10: - { int ret = slice_from_s(z, 2, s_15); /* <-, line 71 */ + { int ret = slice_from_s(z, 3, s_15); /* <-, line 72 */ if (ret < 0) return ret; } break; case 11: - { int ret = slice_from_s(z, 3, s_16); /* <-, line 72 */ + { int ret = slice_from_s(z, 3, s_16); /* <-, line 74 */ if (ret < 0) return ret; } break; case 12: - { int ret = slice_from_s(z, 3, s_17); /* <-, line 74 */ + { int ret = slice_from_s(z, 3, s_17); /* <-, line 76 */ if (ret < 0) return ret; } break; case 13: - { int ret = slice_from_s(z, 3, s_18); /* <-, line 76 */ - if (ret < 0) return ret; - } - break; - case 14: - { int ret = slice_from_s(z, 3, s_19); /* <-, line 77 */ + { int ret = slice_from_s(z, 3, s_18); /* <-, line 77 */ if (ret < 0) return ret; } break; @@ -469,14 +458,13 @@ static int r_Step_3(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 82 */ - case 0: return 0; case 1: - { int ret = slice_from_s(z, 2, s_20); /* <-, line 83 */ + { int ret = slice_from_s(z, 2, s_19); /* <-, line 83 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 2, s_21); /* <-, line 85 */ + { int ret = slice_from_s(z, 2, s_20); /* <-, line 85 */ if (ret < 0) return ret; } break; @@ -500,7 +488,6 @@ static int r_Step_4(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 92 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 95 */ if (ret < 0) return ret; @@ -581,7 +568,7 @@ extern int porter_UTF_8_stem(struct SN_env * z) { /* forwardmode */ if (z->c == z->l || z->p[z->c] != 'y') goto lab0; /* literal, line 116 */ z->c++; z->ket = z->c; /* ], line 116 */ - { int ret = slice_from_s(z, 1, s_22); /* <-, line 116 */ + { int ret = slice_from_s(z, 1, s_21); /* <-, line 116 */ if (ret < 0) return ret; } z->B[0] = 1; /* set Y_found, line 116 */ @@ -589,8 +576,9 @@ extern int porter_UTF_8_stem(struct SN_env * z) { /* forwardmode */ z->c = c1; } { int c2 = z->c; /* do, line 117 */ - while(1) { /* repeat, line 117 */ - int c3 = z->c; +/* repeat, line 117 */ + + while(1) { int c3 = z->c; while(1) { /* goto, line 117 */ int c4 = z->c; if (in_grouping_U(z, g_v, 97, 121, 0)) goto lab3; /* grouping v, line 117 */ @@ -607,7 +595,7 @@ extern int porter_UTF_8_stem(struct SN_env * z) { /* forwardmode */ z->c = ret; /* goto, line 117 */ } } - { int ret = slice_from_s(z, 1, s_23); /* <-, line 117 */ + { int ret = slice_from_s(z, 1, s_22); /* <-, line 117 */ if (ret < 0) return ret; } z->B[0] = 1; /* set Y_found, line 117 */ @@ -650,97 +638,82 @@ extern int porter_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int m6 = z->l - z->c; (void)m6; /* do, line 127 */ { int ret = r_Step_1a(z); /* call Step_1a, line 127 */ - if (ret == 0) goto lab5; if (ret < 0) return ret; } - lab5: z->c = z->l - m6; } { int m7 = z->l - z->c; (void)m7; /* do, line 128 */ { int ret = r_Step_1b(z); /* call Step_1b, line 128 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: z->c = z->l - m7; } { int m8 = z->l - z->c; (void)m8; /* do, line 129 */ { int ret = r_Step_1c(z); /* call Step_1c, line 129 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: z->c = z->l - m8; } { int m9 = z->l - z->c; (void)m9; /* do, line 130 */ { int ret = r_Step_2(z); /* call Step_2, line 130 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: z->c = z->l - m9; } { int m10 = z->l - z->c; (void)m10; /* do, line 131 */ { int ret = r_Step_3(z); /* call Step_3, line 131 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: z->c = z->l - m10; } { int m11 = z->l - z->c; (void)m11; /* do, line 132 */ { int ret = r_Step_4(z); /* call Step_4, line 132 */ - if (ret == 0) goto lab10; if (ret < 0) return ret; } - lab10: z->c = z->l - m11; } { int m12 = z->l - z->c; (void)m12; /* do, line 133 */ { int ret = r_Step_5a(z); /* call Step_5a, line 133 */ - if (ret == 0) goto lab11; if (ret < 0) return ret; } - lab11: z->c = z->l - m12; } { int m13 = z->l - z->c; (void)m13; /* do, line 134 */ { int ret = r_Step_5b(z); /* call Step_5b, line 134 */ - if (ret == 0) goto lab12; if (ret < 0) return ret; } - lab12: z->c = z->l - m13; } z->c = z->lb; { int c14 = z->c; /* do, line 137 */ - if (!(z->B[0])) goto lab13; /* Boolean test Y_found, line 137 */ - while(1) { /* repeat, line 137 */ - int c15 = z->c; + if (!(z->B[0])) goto lab5; /* Boolean test Y_found, line 137 */ +/* repeat, line 137 */ + + while(1) { int c15 = z->c; while(1) { /* goto, line 137 */ int c16 = z->c; z->bra = z->c; /* [, line 137 */ - if (z->c == z->l || z->p[z->c] != 'Y') goto lab15; /* literal, line 137 */ + if (z->c == z->l || z->p[z->c] != 'Y') goto lab7; /* literal, line 137 */ z->c++; z->ket = z->c; /* ], line 137 */ z->c = c16; break; - lab15: + lab7: z->c = c16; { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); - if (ret < 0) goto lab14; + if (ret < 0) goto lab6; z->c = ret; /* goto, line 137 */ } } - { int ret = slice_from_s(z, 1, s_24); /* <-, line 137 */ + { int ret = slice_from_s(z, 1, s_23); /* <-, line 137 */ if (ret < 0) return ret; } continue; - lab14: + lab6: z->c = c15; break; } - lab13: + lab5: z->c = c14; } return 1; diff --git a/src/dep/snowball/src_c/stem_UTF_8_porter.h b/src/dep/snowball/src_c/stem_UTF_8_porter.h index 54efb6f130..d2b86b7bae 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_porter.h +++ b/src/dep/snowball/src_c/stem_UTF_8_porter.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_portuguese.c b/src/dep/snowball/src_c/stem_UTF_8_portuguese.c index 27455f8663..da87fb7bc7 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_portuguese.c +++ b/src/dep/snowball/src_c/stem_UTF_8_portuguese.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -475,15 +474,15 @@ static const symbol s_10[] = { 'c' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 36 */ - int c1 = z->c; +/* repeat, line 36 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 37 */ if (z->c + 1 >= z->l || (z->p[z->c + 1] != 163 && z->p[z->c + 1] != 181)) among_var = 3; else /* substring, line 37 */ among_var = find_among(z, a_0, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 37 */ switch (among_var) { /* among, line 37 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 2, s_0); /* <-, line 38 */ if (ret < 0) return ret; @@ -593,15 +592,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 62 */ - int c1 = z->c; +/* repeat, line 62 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 63 */ if (z->c + 1 >= z->l || z->p[z->c + 1] != 126) among_var = 3; else /* substring, line 63 */ among_var = find_among(z, a_1, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 63 */ switch (among_var) { /* among, line 63 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 2, s_2); /* <-, line 64 */ if (ret < 0) return ret; @@ -628,17 +627,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 72 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 72 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 73 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 73 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 74 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 74 */ return 1; } @@ -650,7 +649,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 77 */ switch (among_var) { /* among, line 77 */ - case 0: return 0; case 1: { int ret = r_R2(z); /* call R2, line 93 */ if (ret <= 0) return ret; @@ -704,7 +702,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 112 */ - case 0: { z->c = z->l - m1; goto lab0; } case 1: z->ket = z->c; /* [, line 113 */ if (!(eq_s_b(z, 2, s_7))) { z->c = z->l - m1; goto lab0; } /* literal, line 113 */ @@ -732,20 +729,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m2 = z->l - z->c; (void)m2; /* try, line 123 */ z->ket = z->c; /* [, line 124 */ if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108)) { z->c = z->l - m2; goto lab1; } /* substring, line 124 */ - among_var = find_among_b(z, a_3, 3); - if (!(among_var)) { z->c = z->l - m2; goto lab1; } + if (!(find_among_b(z, a_3, 3))) { z->c = z->l - m2; goto lab1; } z->bra = z->c; /* ], line 124 */ - switch (among_var) { /* among, line 124 */ - case 0: { z->c = z->l - m2; goto lab1; } - case 1: - { int ret = r_R2(z); /* call R2, line 127 */ - if (ret == 0) { z->c = z->l - m2; goto lab1; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 127 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 127 */ + if (ret == 0) { z->c = z->l - m2; goto lab1; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 127 */ + if (ret < 0) return ret; } lab1: ; @@ -761,20 +752,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m3 = z->l - z->c; (void)m3; /* try, line 135 */ z->ket = z->c; /* [, line 136 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m3; goto lab2; } /* substring, line 136 */ - among_var = find_among_b(z, a_4, 3); - if (!(among_var)) { z->c = z->l - m3; goto lab2; } + if (!(find_among_b(z, a_4, 3))) { z->c = z->l - m3; goto lab2; } z->bra = z->c; /* ], line 136 */ - switch (among_var) { /* among, line 136 */ - case 0: { z->c = z->l - m3; goto lab2; } - case 1: - { int ret = r_R2(z); /* call R2, line 139 */ - if (ret == 0) { z->c = z->l - m3; goto lab2; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 139 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 139 */ + if (ret == 0) { z->c = z->l - m3; goto lab2; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 139 */ + if (ret < 0) return ret; } lab2: ; @@ -817,24 +802,15 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 159 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 159 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 159 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 160 */ - among_var = find_among_b(z, a_6, 120); /* substring, line 160 */ - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_6, 120))) { z->lb = mlimit1; return 0; } /* substring, line 160 */ z->bra = z->c; /* ], line 160 */ - switch (among_var) { /* among, line 160 */ - case 0: { z->lb = mlimit1; return 0; } - case 1: - { int ret = slice_del(z); /* delete, line 179 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 179 */ + if (ret < 0) return ret; } z->lb = mlimit1; } @@ -842,21 +818,14 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ } static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 184 */ - among_var = find_among_b(z, a_7, 7); /* substring, line 184 */ - if (!(among_var)) return 0; + if (!(find_among_b(z, a_7, 7))) return 0; /* substring, line 184 */ z->bra = z->c; /* ], line 184 */ - switch (among_var) { /* among, line 184 */ - case 0: return 0; - case 1: - { int ret = r_RV(z); /* call RV, line 187 */ - if (ret <= 0) return ret; - } - { int ret = slice_del(z); /* delete, line 187 */ - if (ret < 0) return ret; - } - break; + { int ret = r_RV(z); /* call RV, line 187 */ + if (ret <= 0) return ret; + } + { int ret = slice_del(z); /* delete, line 187 */ + if (ret < 0) return ret; } return 1; } @@ -868,7 +837,6 @@ static int r_residual_form(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 192 */ switch (among_var) { /* among, line 192 */ - case 0: return 0; case 1: { int ret = r_RV(z); /* call RV, line 194 */ if (ret <= 0) return ret; @@ -918,89 +886,79 @@ static int r_residual_form(struct SN_env * z) { /* backwardmode */ extern int portuguese_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 202 */ { int ret = r_prelude(z); /* call prelude, line 202 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 203 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 203 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 203 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 203 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 204 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 205 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 209 */ - { int m5 = z->l - z->c; (void)m5; /* and, line 207 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 206 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 205 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 209 */ + { int m4 = z->l - z->c; (void)m4; /* and, line 207 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 206 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 206 */ - if (ret == 0) goto lab6; + if (ret == 0) goto lab4; if (ret < 0) return ret; } - goto lab5; - lab6: - z->c = z->l - m6; + goto lab3; + lab4: + z->c = z->l - m5; { int ret = r_verb_suffix(z); /* call verb_suffix, line 206 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab2; if (ret < 0) return ret; } } - lab5: - z->c = z->l - m5; - { int m7 = z->l - z->c; (void)m7; /* do, line 207 */ + lab3: + z->c = z->l - m4; + { int m6 = z->l - z->c; (void)m6; /* do, line 207 */ z->ket = z->c; /* [, line 207 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab7; /* literal, line 207 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab5; /* literal, line 207 */ z->c--; z->bra = z->c; /* ], line 207 */ - { int m_test8 = z->l - z->c; /* test, line 207 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab7; /* literal, line 207 */ + { int m_test7 = z->l - z->c; /* test, line 207 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab5; /* literal, line 207 */ z->c--; - z->c = z->l - m_test8; + z->c = z->l - m_test7; } { int ret = r_RV(z); /* call RV, line 207 */ - if (ret == 0) goto lab7; + if (ret == 0) goto lab5; if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 207 */ if (ret < 0) return ret; } - lab7: - z->c = z->l - m7; + lab5: + z->c = z->l - m6; } } - goto lab3; - lab4: - z->c = z->l - m4; + goto lab1; + lab2: + z->c = z->l - m3; { int ret = r_residual_suffix(z); /* call residual_suffix, line 209 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab3: - lab2: - z->c = z->l - m3; + lab1: + lab0: + z->c = z->l - m2; } - { int m9 = z->l - z->c; (void)m9; /* do, line 211 */ + { int m8 = z->l - z->c; (void)m8; /* do, line 211 */ { int ret = r_residual_form(z); /* call residual_form, line 211 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: - z->c = z->l - m9; + z->c = z->l - m8; } z->c = z->lb; - { int c10 = z->c; /* do, line 213 */ + { int c9 = z->c; /* do, line 213 */ { int ret = r_postlude(z); /* call postlude, line 213 */ - if (ret == 0) goto lab9; if (ret < 0) return ret; } - lab9: - z->c = c10; + z->c = c9; } return 1; } diff --git a/src/dep/snowball/src_c/stem_UTF_8_portuguese.h b/src/dep/snowball/src_c/stem_UTF_8_portuguese.h index 68dc2554c3..0b7807368b 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_portuguese.h +++ b/src/dep/snowball/src_c/stem_UTF_8_portuguese.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_romanian.c b/src/dep/snowball/src_c/stem_UTF_8_romanian.c index bb1c56d63e..fd12af537f 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_romanian.c +++ b/src/dep/snowball/src_c/stem_UTF_8_romanian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -538,8 +537,9 @@ static const symbol s_18[] = { 't' }; static const symbol s_19[] = { 'i', 's', 't' }; static int r_prelude(struct SN_env * z) { /* forwardmode */ - while(1) { /* repeat, line 32 */ - int c1 = z->c; +/* repeat, line 32 */ + + while(1) { int c1 = z->c; while(1) { /* goto, line 32 */ int c2 = z->c; if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab1; /* grouping v, line 33 */ @@ -665,15 +665,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 56 */ - int c1 = z->c; +/* repeat, line 56 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 58 */ if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else /* substring, line 58 */ among_var = find_among(z, a_0, 3); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 58 */ switch (among_var) { /* among, line 58 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_2); /* <-, line 59 */ if (ret < 0) return ret; @@ -700,17 +700,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 68 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 68 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 69 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 69 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 70 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 70 */ return 1; } @@ -725,7 +725,6 @@ static int r_step_0(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 73 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 75 */ if (ret < 0) return ret; @@ -782,7 +781,6 @@ static int r_combo_suffix(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 93 */ - case 0: return 0; case 1: { int ret = slice_from_s(z, 4, s_11); /* <-, line 101 */ if (ret < 0) return ret; @@ -823,8 +821,9 @@ static int r_combo_suffix(struct SN_env * z) { /* backwardmode */ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ int among_var; z->B[0] = 0; /* unset standard_suffix_removed, line 130 */ - while(1) { /* repeat, line 131 */ - int m1 = z->l - z->c; (void)m1; +/* repeat, line 131 */ + + while(1) { int m1 = z->l - z->c; (void)m1; { int ret = r_combo_suffix(z); /* call combo_suffix, line 131 */ if (ret == 0) goto lab0; if (ret < 0) return ret; @@ -842,7 +841,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 133 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 149 */ if (ret < 0) return ret; @@ -867,18 +865,15 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 164 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 164 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 164 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 165 */ among_var = find_among_b(z, a_4, 94); /* substring, line 165 */ if (!(among_var)) { z->lb = mlimit1; return 0; } z->bra = z->c; /* ], line 165 */ switch (among_var) { /* among, line 165 */ - case 0: { z->lb = mlimit1; return 0; } case 1: { int m2 = z->l - z->c; (void)m2; /* or, line 200 */ if (out_grouping_b_U(z, g_v, 97, 259, 0)) goto lab1; /* non v, line 200 */ @@ -905,21 +900,14 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ } static int r_vowel_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; z->ket = z->c; /* [, line 219 */ - among_var = find_among_b(z, a_5, 5); /* substring, line 219 */ - if (!(among_var)) return 0; + if (!(find_among_b(z, a_5, 5))) return 0; /* substring, line 219 */ z->bra = z->c; /* ], line 219 */ { int ret = r_RV(z); /* call RV, line 219 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 219 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 220 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 220 */ + if (ret < 0) return ret; } return 1; } @@ -927,69 +915,55 @@ static int r_vowel_suffix(struct SN_env * z) { /* backwardmode */ extern int romanian_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 226 */ { int ret = r_prelude(z); /* call prelude, line 226 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } - { int c2 = z->c; /* do, line 227 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 227 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 227 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 227 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 228 */ - { int m3 = z->l - z->c; (void)m3; /* do, line 229 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 229 */ { int ret = r_step_0(z); /* call step_0, line 229 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: - z->c = z->l - m3; + z->c = z->l - m2; } - { int m4 = z->l - z->c; (void)m4; /* do, line 230 */ + { int m3 = z->l - z->c; (void)m3; /* do, line 230 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 230 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: - z->c = z->l - m4; + z->c = z->l - m3; } - { int m5 = z->l - z->c; (void)m5; /* do, line 231 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 231 */ - if (!(z->B[0])) goto lab6; /* Boolean test standard_suffix_removed, line 231 */ - goto lab5; - lab6: - z->c = z->l - m6; + { int m4 = z->l - z->c; (void)m4; /* do, line 231 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 231 */ + if (!(z->B[0])) goto lab2; /* Boolean test standard_suffix_removed, line 231 */ + goto lab1; + lab2: + z->c = z->l - m5; { int ret = r_verb_suffix(z); /* call verb_suffix, line 231 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab5: - lab4: - z->c = z->l - m5; + lab1: + lab0: + z->c = z->l - m4; } - { int m7 = z->l - z->c; (void)m7; /* do, line 232 */ + { int m6 = z->l - z->c; (void)m6; /* do, line 232 */ { int ret = r_vowel_suffix(z); /* call vowel_suffix, line 232 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: - z->c = z->l - m7; + z->c = z->l - m6; } z->c = z->lb; - { int c8 = z->c; /* do, line 234 */ + { int c7 = z->c; /* do, line 234 */ { int ret = r_postlude(z); /* call postlude, line 234 */ - if (ret == 0) goto lab8; if (ret < 0) return ret; } - lab8: - z->c = c8; + z->c = c7; } return 1; } diff --git a/src/dep/snowball/src_c/stem_UTF_8_romanian.h b/src/dep/snowball/src_c/stem_UTF_8_romanian.h index 2cc1ad011d..b493196c91 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_romanian.h +++ b/src/dep/snowball/src_c/stem_UTF_8_romanian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_russian.c b/src/dep/snowball/src_c/stem_UTF_8_russian.c index 3c3d3f1bd3..e160e71c8c 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_russian.c +++ b/src/dep/snowball/src_c/stem_UTF_8_russian.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -349,34 +348,36 @@ static const symbol s_5[] = { 0xD1, 0x8F }; static const symbol s_6[] = { 0xD0, 0xBD }; static const symbol s_7[] = { 0xD0, 0xBD }; static const symbol s_8[] = { 0xD0, 0xBD }; -static const symbol s_9[] = { 0xD0, 0xB8 }; +static const symbol s_9[] = { 0xD1, 0x91 }; +static const symbol s_10[] = { 0xD0, 0xB5 }; +static const symbol s_11[] = { 0xD0, 0xB8 }; static int r_mark_regions(struct SN_env * z) { /* forwardmode */ - z->I[0] = z->l; /* $pV = , line 59 */ - z->I[1] = z->l; /* $p2 = , line 60 */ - { int c1 = z->c; /* do, line 61 */ - { /* gopast */ /* grouping v, line 62 */ + z->I[0] = z->l; /* $pV = , line 61 */ + z->I[1] = z->l; /* $p2 = , line 62 */ + { int c1 = z->c; /* do, line 63 */ + { /* gopast */ /* grouping v, line 64 */ int ret = out_grouping_U(z, g_v, 1072, 1103, 1); if (ret < 0) goto lab0; z->c += ret; } - z->I[0] = z->c; /* setmark pV, line 62 */ - { /* gopast */ /* non v, line 62 */ + z->I[0] = z->c; /* setmark pV, line 64 */ + { /* gopast */ /* non v, line 64 */ int ret = in_grouping_U(z, g_v, 1072, 1103, 1); if (ret < 0) goto lab0; z->c += ret; } - { /* gopast */ /* grouping v, line 63 */ + { /* gopast */ /* grouping v, line 65 */ int ret = out_grouping_U(z, g_v, 1072, 1103, 1); if (ret < 0) goto lab0; z->c += ret; } - { /* gopast */ /* non v, line 63 */ + { /* gopast */ /* non v, line 65 */ int ret = in_grouping_U(z, g_v, 1072, 1103, 1); if (ret < 0) goto lab0; z->c += ret; } - z->I[1] = z->c; /* setmark p2, line 63 */ + z->I[1] = z->c; /* setmark p2, line 65 */ lab0: z->c = c1; } @@ -384,33 +385,32 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p2 <= , line 69 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 71 */ return 1; } static int r_perfective_gerund(struct SN_env * z) { /* backwardmode */ int among_var; - z->ket = z->c; /* [, line 72 */ - among_var = find_among_b(z, a_0, 9); /* substring, line 72 */ + z->ket = z->c; /* [, line 74 */ + among_var = find_among_b(z, a_0, 9); /* substring, line 74 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 72 */ - switch (among_var) { /* among, line 72 */ - case 0: return 0; + z->bra = z->c; /* ], line 74 */ + switch (among_var) { /* among, line 74 */ case 1: - { int m1 = z->l - z->c; (void)m1; /* or, line 76 */ - if (!(eq_s_b(z, 2, s_0))) goto lab1; /* literal, line 76 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 78 */ + if (!(eq_s_b(z, 2, s_0))) goto lab1; /* literal, line 78 */ goto lab0; lab1: z->c = z->l - m1; - if (!(eq_s_b(z, 2, s_1))) return 0; /* literal, line 76 */ + if (!(eq_s_b(z, 2, s_1))) return 0; /* literal, line 78 */ } lab0: - { int ret = slice_del(z); /* delete, line 76 */ + { int ret = slice_del(z); /* delete, line 78 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 83 */ + { int ret = slice_del(z); /* delete, line 85 */ if (ret < 0) return ret; } break; @@ -419,49 +419,41 @@ static int r_perfective_gerund(struct SN_env * z) { /* backwardmode */ } static int r_adjective(struct SN_env * z) { /* backwardmode */ - int among_var; - z->ket = z->c; /* [, line 88 */ - among_var = find_among_b(z, a_1, 26); /* substring, line 88 */ - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 88 */ - switch (among_var) { /* among, line 88 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 97 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 90 */ + if (!(find_among_b(z, a_1, 26))) return 0; /* substring, line 90 */ + z->bra = z->c; /* ], line 90 */ + { int ret = slice_del(z); /* delete, line 99 */ + if (ret < 0) return ret; } return 1; } static int r_adjectival(struct SN_env * z) { /* backwardmode */ int among_var; - { int ret = r_adjective(z); /* call adjective, line 102 */ + { int ret = r_adjective(z); /* call adjective, line 104 */ if (ret <= 0) return ret; } - { int m1 = z->l - z->c; (void)m1; /* try, line 109 */ - z->ket = z->c; /* [, line 110 */ - among_var = find_among_b(z, a_2, 8); /* substring, line 110 */ + { int m1 = z->l - z->c; (void)m1; /* try, line 111 */ + z->ket = z->c; /* [, line 112 */ + among_var = find_among_b(z, a_2, 8); /* substring, line 112 */ if (!(among_var)) { z->c = z->l - m1; goto lab0; } - z->bra = z->c; /* ], line 110 */ - switch (among_var) { /* among, line 110 */ - case 0: { z->c = z->l - m1; goto lab0; } + z->bra = z->c; /* ], line 112 */ + switch (among_var) { /* among, line 112 */ case 1: - { int m2 = z->l - z->c; (void)m2; /* or, line 115 */ - if (!(eq_s_b(z, 2, s_2))) goto lab2; /* literal, line 115 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 117 */ + if (!(eq_s_b(z, 2, s_2))) goto lab2; /* literal, line 117 */ goto lab1; lab2: z->c = z->l - m2; - if (!(eq_s_b(z, 2, s_3))) { z->c = z->l - m1; goto lab0; } /* literal, line 115 */ + if (!(eq_s_b(z, 2, s_3))) { z->c = z->l - m1; goto lab0; } /* literal, line 117 */ } lab1: - { int ret = slice_del(z); /* delete, line 115 */ + { int ret = slice_del(z); /* delete, line 117 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 122 */ + { int ret = slice_del(z); /* delete, line 124 */ if (ret < 0) return ret; } break; @@ -473,46 +465,38 @@ static int r_adjectival(struct SN_env * z) { /* backwardmode */ } static int r_reflexive(struct SN_env * z) { /* backwardmode */ - int among_var; - z->ket = z->c; /* [, line 129 */ - if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 140 && z->p[z->c - 1] != 143)) return 0; /* substring, line 129 */ - among_var = find_among_b(z, a_3, 2); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 129 */ - switch (among_var) { /* among, line 129 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 132 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 131 */ + if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 140 && z->p[z->c - 1] != 143)) return 0; /* substring, line 131 */ + if (!(find_among_b(z, a_3, 2))) return 0; + z->bra = z->c; /* ], line 131 */ + { int ret = slice_del(z); /* delete, line 134 */ + if (ret < 0) return ret; } return 1; } static int r_verb(struct SN_env * z) { /* backwardmode */ int among_var; - z->ket = z->c; /* [, line 137 */ - among_var = find_among_b(z, a_4, 46); /* substring, line 137 */ + z->ket = z->c; /* [, line 139 */ + among_var = find_among_b(z, a_4, 46); /* substring, line 139 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 137 */ - switch (among_var) { /* among, line 137 */ - case 0: return 0; + z->bra = z->c; /* ], line 139 */ + switch (among_var) { /* among, line 139 */ case 1: - { int m1 = z->l - z->c; (void)m1; /* or, line 143 */ - if (!(eq_s_b(z, 2, s_4))) goto lab1; /* literal, line 143 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 145 */ + if (!(eq_s_b(z, 2, s_4))) goto lab1; /* literal, line 145 */ goto lab0; lab1: z->c = z->l - m1; - if (!(eq_s_b(z, 2, s_5))) return 0; /* literal, line 143 */ + if (!(eq_s_b(z, 2, s_5))) return 0; /* literal, line 145 */ } lab0: - { int ret = slice_del(z); /* delete, line 143 */ + { int ret = slice_del(z); /* delete, line 145 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_del(z); /* delete, line 151 */ + { int ret = slice_del(z); /* delete, line 153 */ if (ret < 0) return ret; } break; @@ -521,71 +505,56 @@ static int r_verb(struct SN_env * z) { /* backwardmode */ } static int r_noun(struct SN_env * z) { /* backwardmode */ - int among_var; - z->ket = z->c; /* [, line 160 */ - among_var = find_among_b(z, a_5, 36); /* substring, line 160 */ - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 160 */ - switch (among_var) { /* among, line 160 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 167 */ - if (ret < 0) return ret; - } - break; + z->ket = z->c; /* [, line 162 */ + if (!(find_among_b(z, a_5, 36))) return 0; /* substring, line 162 */ + z->bra = z->c; /* ], line 162 */ + { int ret = slice_del(z); /* delete, line 169 */ + if (ret < 0) return ret; } return 1; } static int r_derivational(struct SN_env * z) { /* backwardmode */ - int among_var; - z->ket = z->c; /* [, line 176 */ - if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 130 && z->p[z->c - 1] != 140)) return 0; /* substring, line 176 */ - among_var = find_among_b(z, a_6, 2); - if (!(among_var)) return 0; - z->bra = z->c; /* ], line 176 */ - { int ret = r_R2(z); /* call R2, line 176 */ + z->ket = z->c; /* [, line 178 */ + if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 130 && z->p[z->c - 1] != 140)) return 0; /* substring, line 178 */ + if (!(find_among_b(z, a_6, 2))) return 0; + z->bra = z->c; /* ], line 178 */ + { int ret = r_R2(z); /* call R2, line 178 */ if (ret <= 0) return ret; } - switch (among_var) { /* among, line 176 */ - case 0: return 0; - case 1: - { int ret = slice_del(z); /* delete, line 179 */ - if (ret < 0) return ret; - } - break; + { int ret = slice_del(z); /* delete, line 181 */ + if (ret < 0) return ret; } return 1; } static int r_tidy_up(struct SN_env * z) { /* backwardmode */ int among_var; - z->ket = z->c; /* [, line 184 */ - among_var = find_among_b(z, a_7, 4); /* substring, line 184 */ + z->ket = z->c; /* [, line 186 */ + among_var = find_among_b(z, a_7, 4); /* substring, line 186 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 184 */ - switch (among_var) { /* among, line 184 */ - case 0: return 0; + z->bra = z->c; /* ], line 186 */ + switch (among_var) { /* among, line 186 */ case 1: - { int ret = slice_del(z); /* delete, line 188 */ + { int ret = slice_del(z); /* delete, line 190 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 189 */ - if (!(eq_s_b(z, 2, s_6))) return 0; /* literal, line 189 */ - z->bra = z->c; /* ], line 189 */ - if (!(eq_s_b(z, 2, s_7))) return 0; /* literal, line 189 */ - { int ret = slice_del(z); /* delete, line 189 */ + z->ket = z->c; /* [, line 191 */ + if (!(eq_s_b(z, 2, s_6))) return 0; /* literal, line 191 */ + z->bra = z->c; /* ], line 191 */ + if (!(eq_s_b(z, 2, s_7))) return 0; /* literal, line 191 */ + { int ret = slice_del(z); /* delete, line 191 */ if (ret < 0) return ret; } break; case 2: - if (!(eq_s_b(z, 2, s_8))) return 0; /* literal, line 192 */ - { int ret = slice_del(z); /* delete, line 192 */ + if (!(eq_s_b(z, 2, s_8))) return 0; /* literal, line 194 */ + { int ret = slice_del(z); /* delete, line 194 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_del(z); /* delete, line 194 */ + { int ret = slice_del(z); /* delete, line 196 */ if (ret < 0) return ret; } break; @@ -594,93 +563,111 @@ static int r_tidy_up(struct SN_env * z) { /* backwardmode */ } extern int russian_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 201 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 201 */ - if (ret == 0) goto lab0; - if (ret < 0) return ret; + { int c1 = z->c; /* do, line 205 */ +/* repeat, line 205 */ + + while(1) { int c2 = z->c; + while(1) { /* goto, line 205 */ + int c3 = z->c; + z->bra = z->c; /* [, line 205 */ + if (!(eq_s(z, 2, s_9))) goto lab2; /* literal, line 205 */ + z->ket = z->c; /* ], line 205 */ + z->c = c3; + break; + lab2: + z->c = c3; + { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); + if (ret < 0) goto lab1; + z->c = ret; /* goto, line 205 */ + } + } + { int ret = slice_from_s(z, 2, s_10); /* <-, line 205 */ + if (ret < 0) return ret; + } + continue; + lab1: + z->c = c2; + break; } - lab0: z->c = c1; } - z->lb = z->c; z->c = z->l; /* backwards, line 202 */ + /* do, line 207 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 207 */ + if (ret < 0) return ret; + } + z->lb = z->c; z->c = z->l; /* backwards, line 208 */ + - { int m2 = z->l - z->c; (void)m2; /* setlimit, line 202 */ - int mlimit2; + { int mlimit4; /* setlimit, line 208 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 202 */ - mlimit2 = z->lb; z->lb = z->c; - z->c = z->l - m2; - { int m3 = z->l - z->c; (void)m3; /* do, line 203 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 204 */ - { int ret = r_perfective_gerund(z); /* call perfective_gerund, line 204 */ - if (ret == 0) goto lab3; + mlimit4 = z->lb; z->lb = z->I[0]; + { int m5 = z->l - z->c; (void)m5; /* do, line 209 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 210 */ + { int ret = r_perfective_gerund(z); /* call perfective_gerund, line 210 */ + if (ret == 0) goto lab5; if (ret < 0) return ret; } - goto lab2; - lab3: - z->c = z->l - m4; - { int m5 = z->l - z->c; (void)m5; /* try, line 205 */ - { int ret = r_reflexive(z); /* call reflexive, line 205 */ - if (ret == 0) { z->c = z->l - m5; goto lab4; } + goto lab4; + lab5: + z->c = z->l - m6; + { int m7 = z->l - z->c; (void)m7; /* try, line 211 */ + { int ret = r_reflexive(z); /* call reflexive, line 211 */ + if (ret == 0) { z->c = z->l - m7; goto lab6; } if (ret < 0) return ret; } - lab4: + lab6: ; } - { int m6 = z->l - z->c; (void)m6; /* or, line 206 */ - { int ret = r_adjectival(z); /* call adjectival, line 206 */ - if (ret == 0) goto lab6; + { int m8 = z->l - z->c; (void)m8; /* or, line 212 */ + { int ret = r_adjectival(z); /* call adjectival, line 212 */ + if (ret == 0) goto lab8; if (ret < 0) return ret; } - goto lab5; - lab6: - z->c = z->l - m6; - { int ret = r_verb(z); /* call verb, line 206 */ - if (ret == 0) goto lab7; + goto lab7; + lab8: + z->c = z->l - m8; + { int ret = r_verb(z); /* call verb, line 212 */ + if (ret == 0) goto lab9; if (ret < 0) return ret; } - goto lab5; - lab7: - z->c = z->l - m6; - { int ret = r_noun(z); /* call noun, line 206 */ - if (ret == 0) goto lab1; + goto lab7; + lab9: + z->c = z->l - m8; + { int ret = r_noun(z); /* call noun, line 212 */ + if (ret == 0) goto lab3; if (ret < 0) return ret; } } - lab5: + lab7: ; } - lab2: - lab1: - z->c = z->l - m3; + lab4: + lab3: + z->c = z->l - m5; } - { int m7 = z->l - z->c; (void)m7; /* try, line 209 */ - z->ket = z->c; /* [, line 209 */ - if (!(eq_s_b(z, 2, s_9))) { z->c = z->l - m7; goto lab8; } /* literal, line 209 */ - z->bra = z->c; /* ], line 209 */ - { int ret = slice_del(z); /* delete, line 209 */ + { int m9 = z->l - z->c; (void)m9; /* try, line 215 */ + z->ket = z->c; /* [, line 215 */ + if (!(eq_s_b(z, 2, s_11))) { z->c = z->l - m9; goto lab10; } /* literal, line 215 */ + z->bra = z->c; /* ], line 215 */ + { int ret = slice_del(z); /* delete, line 215 */ if (ret < 0) return ret; } - lab8: + lab10: ; } - { int m8 = z->l - z->c; (void)m8; /* do, line 212 */ - { int ret = r_derivational(z); /* call derivational, line 212 */ - if (ret == 0) goto lab9; + { int m10 = z->l - z->c; (void)m10; /* do, line 218 */ + { int ret = r_derivational(z); /* call derivational, line 218 */ if (ret < 0) return ret; } - lab9: - z->c = z->l - m8; + z->c = z->l - m10; } - { int m9 = z->l - z->c; (void)m9; /* do, line 213 */ - { int ret = r_tidy_up(z); /* call tidy_up, line 213 */ - if (ret == 0) goto lab10; + { int m11 = z->l - z->c; (void)m11; /* do, line 219 */ + { int ret = r_tidy_up(z); /* call tidy_up, line 219 */ if (ret < 0) return ret; } - lab10: - z->c = z->l - m9; + z->c = z->l - m11; } - z->lb = mlimit2; + z->lb = mlimit4; } z->c = z->lb; return 1; diff --git a/src/dep/snowball/src_c/stem_UTF_8_russian.h b/src/dep/snowball/src_c/stem_UTF_8_russian.h index 2bc621bff9..2f3f3a1fa7 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_russian.h +++ b/src/dep/snowball/src_c/stem_UTF_8_russian.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_spanish.c b/src/dep/snowball/src_c/stem_UTF_8_spanish.c index 4650e8aba8..7aab0e3a91 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_spanish.c +++ b/src/dep/snowball/src_c/stem_UTF_8_spanish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -588,15 +587,15 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_postlude(struct SN_env * z) { /* forwardmode */ int among_var; - while(1) { /* repeat, line 49 */ - int c1 = z->c; +/* repeat, line 49 */ + + while(1) { int c1 = z->c; z->bra = z->c; /* [, line 50 */ if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 5 || !((67641858 >> (z->p[z->c + 1] & 0x1f)) & 1)) among_var = 6; else /* substring, line 50 */ among_var = find_among(z, a_0, 6); if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 50 */ switch (among_var) { /* among, line 50 */ - case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_0); /* <-, line 51 */ if (ret < 0) return ret; @@ -638,17 +637,17 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } static int r_RV(struct SN_env * z) { /* backwardmode */ - if (!(z->I[0] <= z->c)) return 0; /* $pV <= , line 63 */ + if (!(z->I[0] <= z->c)) return 0; /* $( <= ), line 63 */ return 1; } static int r_R1(struct SN_env * z) { /* backwardmode */ - if (!(z->I[1] <= z->c)) return 0; /* $p1 <= , line 64 */ + if (!(z->I[1] <= z->c)) return 0; /* $( <= ), line 64 */ return 1; } static int r_R2(struct SN_env * z) { /* backwardmode */ - if (!(z->I[2] <= z->c)) return 0; /* $p2 <= , line 65 */ + if (!(z->I[2] <= z->c)) return 0; /* $( <= ), line 65 */ return 1; } @@ -665,7 +664,6 @@ static int r_attached_pronoun(struct SN_env * z) { /* backwardmode */ if (ret <= 0) return ret; } switch (among_var) { /* among, line 72 */ - case 0: return 0; case 1: z->bra = z->c; /* ], line 73 */ { int ret = slice_from_s(z, 5, s_5); /* <-, line 73 */ @@ -720,7 +718,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 87 */ switch (among_var) { /* among, line 87 */ - case 0: return 0; case 1: { int ret = r_R2(z); /* call R2, line 99 */ if (ret <= 0) return ret; @@ -796,7 +793,6 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ if (ret < 0) return ret; } switch (among_var) { /* among, line 125 */ - case 0: { z->c = z->l - m2; goto lab1; } case 1: z->ket = z->c; /* [, line 126 */ if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m2; goto lab1; } /* literal, line 126 */ @@ -824,20 +820,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m3 = z->l - z->c; (void)m3; /* try, line 136 */ z->ket = z->c; /* [, line 137 */ if (z->c - 3 <= z->lb || z->p[z->c - 1] != 101) { z->c = z->l - m3; goto lab2; } /* substring, line 137 */ - among_var = find_among_b(z, a_4, 3); - if (!(among_var)) { z->c = z->l - m3; goto lab2; } + if (!(find_among_b(z, a_4, 3))) { z->c = z->l - m3; goto lab2; } z->bra = z->c; /* ], line 137 */ - switch (among_var) { /* among, line 137 */ - case 0: { z->c = z->l - m3; goto lab2; } - case 1: - { int ret = r_R2(z); /* call R2, line 140 */ - if (ret == 0) { z->c = z->l - m3; goto lab2; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 140 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 140 */ + if (ret == 0) { z->c = z->l - m3; goto lab2; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 140 */ + if (ret < 0) return ret; } lab2: ; @@ -853,20 +843,14 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ { int m4 = z->l - z->c; (void)m4; /* try, line 148 */ z->ket = z->c; /* [, line 149 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m4; goto lab3; } /* substring, line 149 */ - among_var = find_among_b(z, a_5, 3); - if (!(among_var)) { z->c = z->l - m4; goto lab3; } + if (!(find_among_b(z, a_5, 3))) { z->c = z->l - m4; goto lab3; } z->bra = z->c; /* ], line 149 */ - switch (among_var) { /* among, line 149 */ - case 0: { z->c = z->l - m4; goto lab3; } - case 1: - { int ret = r_R2(z); /* call R2, line 152 */ - if (ret == 0) { z->c = z->l - m4; goto lab3; } - if (ret < 0) return ret; - } - { int ret = slice_del(z); /* delete, line 152 */ - if (ret < 0) return ret; - } - break; + { int ret = r_R2(z); /* call R2, line 152 */ + if (ret == 0) { z->c = z->l - m4; goto lab3; } + if (ret < 0) return ret; + } + { int ret = slice_del(z); /* delete, line 152 */ + if (ret < 0) return ret; } lab3: ; @@ -899,40 +883,29 @@ static int r_standard_suffix(struct SN_env * z) { /* backwardmode */ } static int r_y_verb_suffix(struct SN_env * z) { /* backwardmode */ - int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 168 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 168 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 168 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 168 */ - among_var = find_among_b(z, a_7, 12); /* substring, line 168 */ - if (!(among_var)) { z->lb = mlimit1; return 0; } + if (!(find_among_b(z, a_7, 12))) { z->lb = mlimit1; return 0; } /* substring, line 168 */ z->bra = z->c; /* ], line 168 */ z->lb = mlimit1; } - switch (among_var) { /* among, line 168 */ - case 0: return 0; - case 1: - if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0; /* literal, line 171 */ - z->c--; - { int ret = slice_del(z); /* delete, line 171 */ - if (ret < 0) return ret; - } - break; + if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0; /* literal, line 171 */ + z->c--; + { int ret = slice_del(z); /* delete, line 171 */ + if (ret < 0) return ret; } return 1; } static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 176 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 176 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 176 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 176 */ among_var = find_among_b(z, a_8, 96); /* substring, line 176 */ if (!(among_var)) { z->lb = mlimit1; return 0; } @@ -940,7 +913,6 @@ static int r_verb_suffix(struct SN_env * z) { /* backwardmode */ z->lb = mlimit1; } switch (among_var) { /* among, line 176 */ - case 0: return 0; case 1: { int m2 = z->l - z->c; (void)m2; /* try, line 179 */ if (z->c <= z->lb || z->p[z->c - 1] != 'u') { z->c = z->l - m2; goto lab0; } /* literal, line 179 */ @@ -974,7 +946,6 @@ static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 205 */ switch (among_var) { /* among, line 205 */ - case 0: return 0; case 1: { int ret = r_RV(z); /* call RV, line 208 */ if (ret <= 0) return ret; @@ -1016,65 +987,55 @@ static int r_residual_suffix(struct SN_env * z) { /* backwardmode */ } extern int spanish_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* do, line 216 */ - { int ret = r_mark_regions(z); /* call mark_regions, line 216 */ - if (ret == 0) goto lab0; - if (ret < 0) return ret; - } - lab0: - z->c = c1; + /* do, line 216 */ + { int ret = r_mark_regions(z); /* call mark_regions, line 216 */ + if (ret < 0) return ret; } z->lb = z->c; z->c = z->l; /* backwards, line 217 */ - { int m2 = z->l - z->c; (void)m2; /* do, line 218 */ + { int m1 = z->l - z->c; (void)m1; /* do, line 218 */ { int ret = r_attached_pronoun(z); /* call attached_pronoun, line 218 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: - z->c = z->l - m2; + z->c = z->l - m1; } - { int m3 = z->l - z->c; (void)m3; /* do, line 219 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 219 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 219 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 219 */ { int ret = r_standard_suffix(z); /* call standard_suffix, line 219 */ - if (ret == 0) goto lab4; + if (ret == 0) goto lab2; if (ret < 0) return ret; } - goto lab3; - lab4: - z->c = z->l - m4; + goto lab1; + lab2: + z->c = z->l - m3; { int ret = r_y_verb_suffix(z); /* call y_verb_suffix, line 220 */ - if (ret == 0) goto lab5; + if (ret == 0) goto lab3; if (ret < 0) return ret; } - goto lab3; - lab5: - z->c = z->l - m4; + goto lab1; + lab3: + z->c = z->l - m3; { int ret = r_verb_suffix(z); /* call verb_suffix, line 221 */ - if (ret == 0) goto lab2; + if (ret == 0) goto lab0; if (ret < 0) return ret; } } - lab3: - lab2: - z->c = z->l - m3; + lab1: + lab0: + z->c = z->l - m2; } - { int m5 = z->l - z->c; (void)m5; /* do, line 223 */ + { int m4 = z->l - z->c; (void)m4; /* do, line 223 */ { int ret = r_residual_suffix(z); /* call residual_suffix, line 223 */ - if (ret == 0) goto lab6; if (ret < 0) return ret; } - lab6: - z->c = z->l - m5; + z->c = z->l - m4; } z->c = z->lb; - { int c6 = z->c; /* do, line 225 */ + { int c5 = z->c; /* do, line 225 */ { int ret = r_postlude(z); /* call postlude, line 225 */ - if (ret == 0) goto lab7; if (ret < 0) return ret; } - lab7: - z->c = c6; + z->c = c5; } return 1; } diff --git a/src/dep/snowball/src_c/stem_UTF_8_spanish.h b/src/dep/snowball/src_c/stem_UTF_8_spanish.h index 075ba876ed..c3afee5b0a 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_spanish.h +++ b/src/dep/snowball/src_c/stem_UTF_8_spanish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_swedish.c b/src/dep/snowball/src_c/stem_UTF_8_swedish.c index e0514b3112..6dc868b98a 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_swedish.c +++ b/src/dep/snowball/src_c/stem_UTF_8_swedish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -164,7 +163,7 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ } z->I[0] = z->c; /* setmark p1, line 30 */ /* try, line 31 */ - if (!(z->I[0] < z->I[1])) goto lab0; /* $p1 < , line 31 */ + if (!(z->I[0] < z->I[1])) goto lab0; /* $( < ), line 31 */ z->I[0] = z->I[1]; /* $p1 = , line 31 */ lab0: return 1; @@ -172,12 +171,10 @@ static int r_mark_regions(struct SN_env * z) { /* forwardmode */ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 37 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 37 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 37 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 37 */ if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851442 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 37 */ among_var = find_among_b(z, a_0, 37); @@ -186,7 +183,6 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ z->lb = mlimit1; } switch (among_var) { /* among, line 38 */ - case 0: return 0; case 1: { int ret = slice_del(z); /* delete, line 44 */ if (ret < 0) return ret; @@ -203,12 +199,10 @@ static int r_main_suffix(struct SN_env * z) { /* backwardmode */ } static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 50 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 50 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 50 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; { int m2 = z->l - z->c; (void)m2; /* and, line 52 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1064976 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* among, line 51 */ if (!(find_among_b(z, a_1, 7))) { z->lb = mlimit1; return 0; } @@ -230,19 +224,16 @@ static int r_consonant_pair(struct SN_env * z) { /* backwardmode */ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ int among_var; - { int m1 = z->l - z->c; (void)m1; /* setlimit, line 55 */ - int mlimit1; + + { int mlimit1; /* setlimit, line 55 */ if (z->c < z->I[0]) return 0; - z->c = z->I[0]; /* tomark, line 55 */ - mlimit1 = z->lb; z->lb = z->c; - z->c = z->l - m1; + mlimit1 = z->lb; z->lb = z->I[0]; z->ket = z->c; /* [, line 56 */ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; } /* substring, line 56 */ among_var = find_among_b(z, a_2, 5); if (!(among_var)) { z->lb = mlimit1; return 0; } z->bra = z->c; /* ], line 56 */ switch (among_var) { /* among, line 56 */ - case 0: { z->lb = mlimit1; return 0; } case 1: { int ret = slice_del(z); /* delete, line 57 */ if (ret < 0) return ret; @@ -267,36 +258,28 @@ static int r_other_suffix(struct SN_env * z) { /* backwardmode */ extern int swedish_UTF_8_stem(struct SN_env * z) { /* forwardmode */ { int c1 = z->c; /* do, line 66 */ { int ret = r_mark_regions(z); /* call mark_regions, line 66 */ - if (ret == 0) goto lab0; if (ret < 0) return ret; } - lab0: z->c = c1; } z->lb = z->c; z->c = z->l; /* backwards, line 67 */ { int m2 = z->l - z->c; (void)m2; /* do, line 68 */ { int ret = r_main_suffix(z); /* call main_suffix, line 68 */ - if (ret == 0) goto lab1; if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } { int m3 = z->l - z->c; (void)m3; /* do, line 69 */ { int ret = r_consonant_pair(z); /* call consonant_pair, line 69 */ - if (ret == 0) goto lab2; if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } { int m4 = z->l - z->c; (void)m4; /* do, line 70 */ { int ret = r_other_suffix(z); /* call other_suffix, line 70 */ - if (ret == 0) goto lab3; if (ret < 0) return ret; } - lab3: z->c = z->l - m4; } z->c = z->lb; diff --git a/src/dep/snowball/src_c/stem_UTF_8_swedish.h b/src/dep/snowball/src_c/stem_UTF_8_swedish.h index 095623db80..28b127d6ca 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_swedish.h +++ b/src/dep/snowball/src_c/stem_UTF_8_swedish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_tamil.c b/src/dep/snowball/src_c/stem_UTF_8_tamil.c index 0d33097a42..7303248b36 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_tamil.c +++ b/src/dep/snowball/src_c/stem_UTF_8_tamil.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -656,76 +655,75 @@ static const symbol s_154[] = { 0xE0, 0xAE, 0xA4, 0xE0, 0xAF, 0x81 }; static const symbol s_155[] = { 0xE0, 0xAF, 0x8D }; static int r_has_min_length(struct SN_env * z) { /* forwardmode */ - z->I[0] = len_utf8(z->p); /* $length = , line 105 */ - if (!(z->I[0] > 4)) return 0; /* $length > , line 106 */ + if (!(len_utf8(z->p) > 4)) return 0; /* $( > ), line 100 */ return 1; } static int r_fix_va_start(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* or, line 110 */ - { int c2 = z->c; /* and, line 110 */ - { int c3 = z->c; /* try, line 110 */ - if (!(eq_s(z, 6, s_0))) { z->c = c3; goto lab2; } /* literal, line 110 */ + { int c1 = z->c; /* or, line 104 */ + { int c2 = z->c; /* and, line 104 */ + { int c3 = z->c; /* try, line 104 */ + if (!(eq_s(z, 6, s_0))) { z->c = c3; goto lab2; } /* literal, line 104 */ lab2: ; } z->c = c2; - z->bra = z->c; /* [, line 110 */ + z->bra = z->c; /* [, line 104 */ } - if (!(eq_s(z, 6, s_1))) goto lab1; /* literal, line 110 */ - z->ket = z->c; /* ], line 110 */ - { int ret = slice_from_s(z, 3, s_2); /* <-, line 110 */ + if (!(eq_s(z, 6, s_1))) goto lab1; /* literal, line 104 */ + z->ket = z->c; /* ], line 104 */ + { int ret = slice_from_s(z, 3, s_2); /* <-, line 104 */ if (ret < 0) return ret; } goto lab0; lab1: z->c = c1; - { int c4 = z->c; /* and, line 111 */ - { int c5 = z->c; /* try, line 111 */ - if (!(eq_s(z, 6, s_3))) { z->c = c5; goto lab4; } /* literal, line 111 */ + { int c4 = z->c; /* and, line 105 */ + { int c5 = z->c; /* try, line 105 */ + if (!(eq_s(z, 6, s_3))) { z->c = c5; goto lab4; } /* literal, line 105 */ lab4: ; } z->c = c4; - z->bra = z->c; /* [, line 111 */ + z->bra = z->c; /* [, line 105 */ } - if (!(eq_s(z, 6, s_4))) goto lab3; /* literal, line 111 */ - z->ket = z->c; /* ], line 111 */ - { int ret = slice_from_s(z, 3, s_5); /* <-, line 111 */ + if (!(eq_s(z, 6, s_4))) goto lab3; /* literal, line 105 */ + z->ket = z->c; /* ], line 105 */ + { int ret = slice_from_s(z, 3, s_5); /* <-, line 105 */ if (ret < 0) return ret; } goto lab0; lab3: z->c = c1; - { int c6 = z->c; /* and, line 112 */ - { int c7 = z->c; /* try, line 112 */ - if (!(eq_s(z, 6, s_6))) { z->c = c7; goto lab6; } /* literal, line 112 */ + { int c6 = z->c; /* and, line 106 */ + { int c7 = z->c; /* try, line 106 */ + if (!(eq_s(z, 6, s_6))) { z->c = c7; goto lab6; } /* literal, line 106 */ lab6: ; } z->c = c6; - z->bra = z->c; /* [, line 112 */ + z->bra = z->c; /* [, line 106 */ } - if (!(eq_s(z, 6, s_7))) goto lab5; /* literal, line 112 */ - z->ket = z->c; /* ], line 112 */ - { int ret = slice_from_s(z, 3, s_8); /* <-, line 112 */ + if (!(eq_s(z, 6, s_7))) goto lab5; /* literal, line 106 */ + z->ket = z->c; /* ], line 106 */ + { int ret = slice_from_s(z, 3, s_8); /* <-, line 106 */ if (ret < 0) return ret; } goto lab0; lab5: z->c = c1; - { int c8 = z->c; /* and, line 113 */ - { int c9 = z->c; /* try, line 113 */ - if (!(eq_s(z, 6, s_9))) { z->c = c9; goto lab7; } /* literal, line 113 */ + { int c8 = z->c; /* and, line 107 */ + { int c9 = z->c; /* try, line 107 */ + if (!(eq_s(z, 6, s_9))) { z->c = c9; goto lab7; } /* literal, line 107 */ lab7: ; } z->c = c8; - z->bra = z->c; /* [, line 113 */ + z->bra = z->c; /* [, line 107 */ } - if (!(eq_s(z, 6, s_10))) return 0; /* literal, line 113 */ - z->ket = z->c; /* ], line 113 */ - { int ret = slice_from_s(z, 3, s_11); /* <-, line 113 */ + if (!(eq_s(z, 6, s_10))) return 0; /* literal, line 107 */ + z->ket = z->c; /* ], line 107 */ + { int ret = slice_from_s(z, 3, s_11); /* <-, line 107 */ if (ret < 0) return ret; } } @@ -734,494 +732,479 @@ static int r_fix_va_start(struct SN_env * z) { /* forwardmode */ } static int r_fix_endings(struct SN_env * z) { /* forwardmode */ - z->B[2] = 1; /* set found_wrong_ending, line 117 */ - while(1) { /* repeat, line 118 */ - int c1 = z->c; - if (!(z->B[2])) goto lab0; /* Boolean test found_wrong_ending, line 118 */ - { int c2 = z->c; /* do, line 118 */ - { int ret = r_fix_ending(z); /* call fix_ending, line 118 */ + { int c1 = z->c; /* do, line 111 */ +/* repeat, line 111 */ + + while(1) { int c2 = z->c; + { int ret = r_fix_ending(z); /* call fix_ending, line 111 */ if (ret == 0) goto lab1; if (ret < 0) return ret; } + continue; lab1: z->c = c2; + break; } - continue; - lab0: z->c = c1; - break; } return 1; } static int r_remove_question_prefixes(struct SN_env * z) { /* forwardmode */ - z->bra = z->c; /* [, line 122 */ - if (!(eq_s(z, 3, s_12))) return 0; /* literal, line 122 */ - if (!(find_among(z, a_0, 10))) return 0; /* among, line 122 */ - if (!(eq_s(z, 3, s_13))) return 0; /* literal, line 122 */ - z->ket = z->c; /* ], line 122 */ - { int ret = slice_del(z); /* delete, line 122 */ + z->bra = z->c; /* [, line 115 */ + if (!(eq_s(z, 3, s_12))) return 0; /* literal, line 115 */ + if (!(find_among(z, a_0, 10))) return 0; /* among, line 115 */ + if (!(eq_s(z, 3, s_13))) return 0; /* literal, line 115 */ + z->ket = z->c; /* ], line 115 */ + { int ret = slice_del(z); /* delete, line 115 */ if (ret < 0) return ret; } - { int c1 = z->c; /* do, line 123 */ - { int ret = r_fix_va_start(z); /* call fix_va_start, line 123 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 116 */ + { int ret = r_fix_va_start(z); /* call fix_va_start, line 116 */ if (ret < 0) return ret; } - lab0: z->c = c1; } return 1; } static int r_fix_ending(struct SN_env * z) { /* forwardmode */ - z->B[2] = 0; /* unset found_wrong_ending, line 127 */ - z->I[0] = len_utf8(z->p); /* $length = , line 128 */ - if (!(z->I[0] > 3)) return 0; /* $length > , line 129 */ - z->lb = z->c; z->c = z->l; /* backwards, line 130 */ - - { int m1 = z->l - z->c; (void)m1; /* or, line 132 */ - z->ket = z->c; /* [, line 131 */ - if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 141 && z->p[z->c - 1] != 164)) goto lab1; /* among, line 131 */ + if (!(len_utf8(z->p) > 3)) return 0; /* $( > ), line 121 */ + z->lb = z->c; z->c = z->l; /* backwards, line 122 */ + + { int m1 = z->l - z->c; (void)m1; /* or, line 124 */ + z->ket = z->c; /* [, line 123 */ + if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 141 && z->p[z->c - 1] != 164)) goto lab1; /* among, line 123 */ if (!(find_among_b(z, a_1, 3))) goto lab1; - z->bra = z->c; /* ], line 131 */ - { int ret = slice_del(z); /* delete, line 131 */ + z->bra = z->c; /* ], line 123 */ + { int ret = slice_del(z); /* delete, line 123 */ if (ret < 0) return ret; } goto lab0; lab1: z->c = z->l - m1; - z->ket = z->c; /* [, line 133 */ - if (!(eq_s_b(z, 6, s_14))) goto lab2; /* literal, line 133 */ - { int m_test2 = z->l - z->c; /* test, line 133 */ - if (!(find_among_b(z, a_2, 3))) goto lab2; /* among, line 133 */ + z->ket = z->c; /* [, line 125 */ + if (!(eq_s_b(z, 6, s_14))) goto lab2; /* literal, line 125 */ + { int m_test2 = z->l - z->c; /* test, line 125 */ + if (!(find_among_b(z, a_2, 3))) goto lab2; /* among, line 125 */ z->c = z->l - m_test2; } - z->bra = z->c; /* ], line 133 */ - { int ret = slice_del(z); /* delete, line 133 */ + z->bra = z->c; /* ], line 125 */ + { int ret = slice_del(z); /* delete, line 125 */ if (ret < 0) return ret; } goto lab0; lab2: z->c = z->l - m1; - z->ket = z->c; /* [, line 135 */ - { int m3 = z->l - z->c; (void)m3; /* or, line 135 */ - if (!(eq_s_b(z, 12, s_15))) goto lab5; /* literal, line 135 */ + z->ket = z->c; /* [, line 127 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 127 */ + if (!(eq_s_b(z, 12, s_15))) goto lab5; /* literal, line 127 */ goto lab4; lab5: z->c = z->l - m3; - if (!(eq_s_b(z, 12, s_16))) goto lab3; /* literal, line 135 */ + if (!(eq_s_b(z, 12, s_16))) goto lab3; /* literal, line 127 */ } lab4: - z->bra = z->c; /* ], line 135 */ - { int ret = slice_from_s(z, 6, s_17); /* <-, line 135 */ + z->bra = z->c; /* ], line 127 */ + { int ret = slice_from_s(z, 6, s_17); /* <-, line 127 */ if (ret < 0) return ret; } goto lab0; lab3: z->c = z->l - m1; - z->ket = z->c; /* [, line 137 */ - if (!(eq_s_b(z, 12, s_18))) goto lab6; /* literal, line 137 */ - z->bra = z->c; /* ], line 137 */ - { int ret = slice_from_s(z, 6, s_19); /* <-, line 137 */ + z->ket = z->c; /* [, line 129 */ + if (!(eq_s_b(z, 12, s_18))) goto lab6; /* literal, line 129 */ + z->bra = z->c; /* ], line 129 */ + { int ret = slice_from_s(z, 6, s_19); /* <-, line 129 */ if (ret < 0) return ret; } goto lab0; lab6: z->c = z->l - m1; - z->ket = z->c; /* [, line 140 */ - if (!(eq_s_b(z, 12, s_20))) goto lab7; /* literal, line 140 */ - z->bra = z->c; /* ], line 140 */ - { int ret = slice_from_s(z, 6, s_21); /* <-, line 140 */ + z->ket = z->c; /* [, line 132 */ + if (!(eq_s_b(z, 12, s_20))) goto lab7; /* literal, line 132 */ + z->bra = z->c; /* ], line 132 */ + { int ret = slice_from_s(z, 6, s_21); /* <-, line 132 */ if (ret < 0) return ret; } goto lab0; lab7: z->c = z->l - m1; - z->ket = z->c; /* [, line 142 */ - if (!(eq_s_b(z, 12, s_22))) goto lab8; /* literal, line 142 */ - z->bra = z->c; /* ], line 142 */ - { int ret = slice_from_s(z, 6, s_23); /* <-, line 142 */ + z->ket = z->c; /* [, line 134 */ + if (!(eq_s_b(z, 12, s_22))) goto lab8; /* literal, line 134 */ + z->bra = z->c; /* ], line 134 */ + { int ret = slice_from_s(z, 6, s_23); /* <-, line 134 */ if (ret < 0) return ret; } goto lab0; lab8: z->c = z->l - m1; - if (!(z->B[1])) goto lab9; /* Boolean test found_vetrumai_urupu, line 144 */ - z->ket = z->c; /* [, line 144 */ - if (!(eq_s_b(z, 12, s_24))) goto lab9; /* literal, line 144 */ - { int m_test4 = z->l - z->c; /* test, line 144 */ - { int m5 = z->l - z->c; (void)m5; /* not, line 144 */ - if (!(eq_s_b(z, 3, s_25))) goto lab10; /* literal, line 144 */ + if (!(z->B[1])) goto lab9; /* Boolean test found_vetrumai_urupu, line 136 */ + z->ket = z->c; /* [, line 136 */ + if (!(eq_s_b(z, 12, s_24))) goto lab9; /* literal, line 136 */ + { int m_test4 = z->l - z->c; /* test, line 136 */ + { int m5 = z->l - z->c; (void)m5; /* not, line 136 */ + if (!(eq_s_b(z, 3, s_25))) goto lab10; /* literal, line 136 */ goto lab9; lab10: z->c = z->l - m5; } z->c = z->l - m_test4; } - z->bra = z->c; /* ], line 144 */ - { int ret = slice_from_s(z, 6, s_26); /* <-, line 144 */ + z->bra = z->c; /* ], line 136 */ + { int ret = slice_from_s(z, 6, s_26); /* <-, line 136 */ if (ret < 0) return ret; } - z->bra = z->c; /* ], line 144 */ + z->bra = z->c; /* ], line 136 */ goto lab0; lab9: z->c = z->l - m1; - z->ket = z->c; /* [, line 146 */ - { int m6 = z->l - z->c; (void)m6; /* or, line 146 */ - if (!(eq_s_b(z, 9, s_27))) goto lab13; /* literal, line 146 */ + z->ket = z->c; /* [, line 138 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 138 */ + if (!(eq_s_b(z, 9, s_27))) goto lab13; /* literal, line 138 */ goto lab12; lab13: z->c = z->l - m6; - if (!(eq_s_b(z, 15, s_28))) goto lab11; /* literal, line 146 */ + if (!(eq_s_b(z, 15, s_28))) goto lab11; /* literal, line 138 */ } lab12: - z->bra = z->c; /* ], line 146 */ - { int ret = slice_from_s(z, 3, s_29); /* <-, line 146 */ + z->bra = z->c; /* ], line 138 */ + { int ret = slice_from_s(z, 3, s_29); /* <-, line 138 */ if (ret < 0) return ret; } goto lab0; lab11: z->c = z->l - m1; - z->ket = z->c; /* [, line 148 */ - if (!(eq_s_b(z, 3, s_30))) goto lab14; /* literal, line 148 */ - if (!(find_among_b(z, a_3, 6))) goto lab14; /* among, line 148 */ - if (!(eq_s_b(z, 3, s_31))) goto lab14; /* literal, line 148 */ - if (!(find_among_b(z, a_4, 6))) goto lab14; /* among, line 148 */ - z->bra = z->c; /* ], line 148 */ - { int ret = slice_del(z); /* delete, line 148 */ + z->ket = z->c; /* [, line 140 */ + if (!(eq_s_b(z, 3, s_30))) goto lab14; /* literal, line 140 */ + if (!(find_among_b(z, a_3, 6))) goto lab14; /* among, line 140 */ + if (!(eq_s_b(z, 3, s_31))) goto lab14; /* literal, line 140 */ + if (!(find_among_b(z, a_4, 6))) goto lab14; /* among, line 140 */ + z->bra = z->c; /* ], line 140 */ + { int ret = slice_del(z); /* delete, line 140 */ if (ret < 0) return ret; } goto lab0; lab14: z->c = z->l - m1; - z->ket = z->c; /* [, line 150 */ - if (!(eq_s_b(z, 9, s_32))) goto lab15; /* literal, line 150 */ - z->bra = z->c; /* ], line 150 */ - { int ret = slice_from_s(z, 3, s_33); /* <-, line 150 */ + z->ket = z->c; /* [, line 142 */ + if (!(eq_s_b(z, 9, s_32))) goto lab15; /* literal, line 142 */ + z->bra = z->c; /* ], line 142 */ + { int ret = slice_from_s(z, 3, s_33); /* <-, line 142 */ if (ret < 0) return ret; } goto lab0; lab15: z->c = z->l - m1; - z->ket = z->c; /* [, line 152 */ - if (!(eq_s_b(z, 3, s_34))) goto lab16; /* literal, line 152 */ - if (!(find_among_b(z, a_5, 6))) goto lab16; /* among, line 152 */ - z->bra = z->c; /* ], line 152 */ - { int ret = slice_del(z); /* delete, line 152 */ + z->ket = z->c; /* [, line 144 */ + if (!(eq_s_b(z, 3, s_34))) goto lab16; /* literal, line 144 */ + if (!(find_among_b(z, a_5, 6))) goto lab16; /* among, line 144 */ + z->bra = z->c; /* ], line 144 */ + { int ret = slice_del(z); /* delete, line 144 */ if (ret < 0) return ret; } goto lab0; lab16: z->c = z->l - m1; - z->ket = z->c; /* [, line 154 */ - if (!(eq_s_b(z, 3, s_35))) goto lab17; /* literal, line 154 */ - { int m7 = z->l - z->c; (void)m7; /* or, line 154 */ - if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((4030464 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab19; /* among, line 154 */ + z->ket = z->c; /* [, line 146 */ + if (!(eq_s_b(z, 3, s_35))) goto lab17; /* literal, line 146 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 146 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 5 || !((4030464 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab19; /* among, line 146 */ if (!(find_among_b(z, a_6, 6))) goto lab19; goto lab18; lab19: z->c = z->l - m7; - if (!(find_among_b(z, a_7, 6))) goto lab17; /* among, line 154 */ + if (!(find_among_b(z, a_7, 6))) goto lab17; /* among, line 146 */ } lab18: - if (!(eq_s_b(z, 3, s_36))) goto lab17; /* literal, line 154 */ - z->bra = z->c; /* ], line 154 */ - { int ret = slice_from_s(z, 3, s_37); /* <-, line 154 */ + if (!(eq_s_b(z, 3, s_36))) goto lab17; /* literal, line 146 */ + z->bra = z->c; /* ], line 146 */ + { int ret = slice_from_s(z, 3, s_37); /* <-, line 146 */ if (ret < 0) return ret; } goto lab0; lab17: z->c = z->l - m1; - z->ket = z->c; /* [, line 156 */ - if (!(find_among_b(z, a_8, 3))) goto lab20; /* among, line 156 */ - z->bra = z->c; /* ], line 156 */ - { int ret = slice_del(z); /* delete, line 156 */ + z->ket = z->c; /* [, line 148 */ + if (!(find_among_b(z, a_8, 3))) goto lab20; /* among, line 148 */ + z->bra = z->c; /* ], line 148 */ + { int ret = slice_del(z); /* delete, line 148 */ if (ret < 0) return ret; } goto lab0; lab20: z->c = z->l - m1; - z->ket = z->c; /* [, line 158 */ - if (!(eq_s_b(z, 6, s_38))) goto lab21; /* literal, line 158 */ - { int m_test8 = z->l - z->c; /* test, line 158 */ - { int m9 = z->l - z->c; (void)m9; /* not, line 158 */ - if (!(find_among_b(z, a_9, 8))) goto lab22; /* among, line 158 */ + z->ket = z->c; /* [, line 150 */ + if (!(eq_s_b(z, 6, s_38))) goto lab21; /* literal, line 150 */ + { int m_test8 = z->l - z->c; /* test, line 150 */ + { int m9 = z->l - z->c; (void)m9; /* not, line 150 */ + if (!(find_among_b(z, a_9, 8))) goto lab22; /* among, line 150 */ goto lab21; lab22: z->c = z->l - m9; } z->c = z->l - m_test8; } - z->bra = z->c; /* ], line 158 */ - { int ret = slice_del(z); /* delete, line 158 */ + z->bra = z->c; /* ], line 150 */ + { int ret = slice_del(z); /* delete, line 150 */ if (ret < 0) return ret; } goto lab0; lab21: z->c = z->l - m1; - z->ket = z->c; /* [, line 160 */ - if (!(eq_s_b(z, 6, s_39))) goto lab23; /* literal, line 160 */ - { int m_test10 = z->l - z->c; /* test, line 160 */ - { int m11 = z->l - z->c; (void)m11; /* not, line 160 */ - if (!(eq_s_b(z, 3, s_40))) goto lab24; /* literal, line 160 */ + z->ket = z->c; /* [, line 152 */ + if (!(eq_s_b(z, 6, s_39))) goto lab23; /* literal, line 152 */ + { int m_test10 = z->l - z->c; /* test, line 152 */ + { int m11 = z->l - z->c; (void)m11; /* not, line 152 */ + if (!(eq_s_b(z, 3, s_40))) goto lab24; /* literal, line 152 */ goto lab23; lab24: z->c = z->l - m11; } z->c = z->l - m_test10; } - z->bra = z->c; /* ], line 160 */ - { int ret = slice_from_s(z, 6, s_41); /* <-, line 160 */ + z->bra = z->c; /* ], line 152 */ + { int ret = slice_from_s(z, 6, s_41); /* <-, line 152 */ if (ret < 0) return ret; } goto lab0; lab23: z->c = z->l - m1; - z->ket = z->c; /* [, line 162 */ - if (!(eq_s_b(z, 6, s_42))) goto lab25; /* literal, line 162 */ - z->bra = z->c; /* ], line 162 */ - { int ret = slice_del(z); /* delete, line 162 */ + z->ket = z->c; /* [, line 154 */ + if (!(eq_s_b(z, 6, s_42))) goto lab25; /* literal, line 154 */ + z->bra = z->c; /* ], line 154 */ + { int ret = slice_del(z); /* delete, line 154 */ if (ret < 0) return ret; } goto lab0; lab25: z->c = z->l - m1; - z->ket = z->c; /* [, line 164 */ - if (!(eq_s_b(z, 3, s_43))) return 0; /* literal, line 164 */ - { int m_test12 = z->l - z->c; /* test, line 164 */ - { int m13 = z->l - z->c; (void)m13; /* or, line 164 */ - if (!(find_among_b(z, a_10, 8))) goto lab27; /* among, line 164 */ + z->ket = z->c; /* [, line 156 */ + if (!(eq_s_b(z, 3, s_43))) return 0; /* literal, line 156 */ + { int m_test12 = z->l - z->c; /* test, line 156 */ + { int m13 = z->l - z->c; (void)m13; /* or, line 156 */ + if (!(find_among_b(z, a_10, 8))) goto lab27; /* among, line 156 */ goto lab26; lab27: z->c = z->l - m13; - if (!(eq_s_b(z, 3, s_44))) return 0; /* literal, line 164 */ + if (!(eq_s_b(z, 3, s_44))) return 0; /* literal, line 156 */ } lab26: z->c = z->l - m_test12; } - z->bra = z->c; /* ], line 164 */ - { int ret = slice_del(z); /* delete, line 164 */ + z->bra = z->c; /* ], line 156 */ + { int ret = slice_del(z); /* delete, line 156 */ if (ret < 0) return ret; } } lab0: z->c = z->lb; - z->B[2] = 1; /* set found_wrong_ending, line 167 */ return 1; } static int r_remove_pronoun_prefixes(struct SN_env * z) { /* forwardmode */ - z->B[0] = 0; /* unset found_a_match, line 171 */ - z->bra = z->c; /* [, line 172 */ - if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 4 || !((672 >> (z->p[z->c + 2] & 0x1f)) & 1)) return 0; /* among, line 172 */ + z->B[0] = 0; /* unset found_a_match, line 161 */ + z->bra = z->c; /* [, line 162 */ + if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 4 || !((672 >> (z->p[z->c + 2] & 0x1f)) & 1)) return 0; /* among, line 162 */ if (!(find_among(z, a_11, 3))) return 0; - if (!(find_among(z, a_12, 10))) return 0; /* among, line 172 */ - if (!(eq_s(z, 3, s_45))) return 0; /* literal, line 172 */ - z->ket = z->c; /* ], line 172 */ - { int ret = slice_del(z); /* delete, line 172 */ + if (!(find_among(z, a_12, 10))) return 0; /* among, line 162 */ + if (!(eq_s(z, 3, s_45))) return 0; /* literal, line 162 */ + z->ket = z->c; /* ], line 162 */ + { int ret = slice_del(z); /* delete, line 162 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 173 */ - { int c1 = z->c; /* do, line 174 */ - { int ret = r_fix_va_start(z); /* call fix_va_start, line 174 */ - if (ret == 0) goto lab0; + z->B[0] = 1; /* set found_a_match, line 163 */ + { int c1 = z->c; /* do, line 164 */ + { int ret = r_fix_va_start(z); /* call fix_va_start, line 164 */ if (ret < 0) return ret; } - lab0: z->c = c1; } return 1; } static int r_remove_plural_suffix(struct SN_env * z) { /* forwardmode */ - z->B[0] = 0; /* unset found_a_match, line 178 */ - z->lb = z->c; z->c = z->l; /* backwards, line 179 */ - - { int m1 = z->l - z->c; (void)m1; /* or, line 180 */ - z->ket = z->c; /* [, line 180 */ - if (!(eq_s_b(z, 18, s_46))) goto lab1; /* literal, line 180 */ - { int m_test2 = z->l - z->c; /* test, line 180 */ - { int m3 = z->l - z->c; (void)m3; /* not, line 180 */ - if (!(find_among_b(z, a_13, 6))) goto lab2; /* among, line 180 */ + z->B[0] = 0; /* unset found_a_match, line 168 */ + z->lb = z->c; z->c = z->l; /* backwards, line 169 */ + + { int m1 = z->l - z->c; (void)m1; /* or, line 170 */ + z->ket = z->c; /* [, line 170 */ + if (!(eq_s_b(z, 18, s_46))) goto lab1; /* literal, line 170 */ + { int m_test2 = z->l - z->c; /* test, line 170 */ + { int m3 = z->l - z->c; (void)m3; /* not, line 170 */ + if (!(find_among_b(z, a_13, 6))) goto lab2; /* among, line 170 */ goto lab1; lab2: z->c = z->l - m3; } z->c = z->l - m_test2; } - z->bra = z->c; /* ], line 180 */ - { int ret = slice_from_s(z, 3, s_47); /* <-, line 180 */ + z->bra = z->c; /* ], line 170 */ + { int ret = slice_from_s(z, 3, s_47); /* <-, line 170 */ if (ret < 0) return ret; } goto lab0; lab1: z->c = z->l - m1; - z->ket = z->c; /* [, line 181 */ - if (!(eq_s_b(z, 15, s_48))) goto lab3; /* literal, line 181 */ - z->bra = z->c; /* ], line 181 */ - { int ret = slice_from_s(z, 6, s_49); /* <-, line 181 */ + z->ket = z->c; /* [, line 171 */ + if (!(eq_s_b(z, 15, s_48))) goto lab3; /* literal, line 171 */ + z->bra = z->c; /* ], line 171 */ + { int ret = slice_from_s(z, 6, s_49); /* <-, line 171 */ if (ret < 0) return ret; } goto lab0; lab3: z->c = z->l - m1; - z->ket = z->c; /* [, line 182 */ - if (!(eq_s_b(z, 15, s_50))) goto lab4; /* literal, line 182 */ - z->bra = z->c; /* ], line 182 */ - { int ret = slice_from_s(z, 6, s_51); /* <-, line 182 */ + z->ket = z->c; /* [, line 172 */ + if (!(eq_s_b(z, 15, s_50))) goto lab4; /* literal, line 172 */ + z->bra = z->c; /* ], line 172 */ + { int ret = slice_from_s(z, 6, s_51); /* <-, line 172 */ if (ret < 0) return ret; } goto lab0; lab4: z->c = z->l - m1; - z->ket = z->c; /* [, line 183 */ - if (!(eq_s_b(z, 9, s_52))) return 0; /* literal, line 183 */ - z->bra = z->c; /* ], line 183 */ - { int ret = slice_del(z); /* delete, line 183 */ + z->ket = z->c; /* [, line 173 */ + if (!(eq_s_b(z, 9, s_52))) return 0; /* literal, line 173 */ + z->bra = z->c; /* ], line 173 */ + { int ret = slice_del(z); /* delete, line 173 */ if (ret < 0) return ret; } } lab0: - z->B[0] = 1; /* set found_a_match, line 184 */ + z->B[0] = 1; /* set found_a_match, line 174 */ z->c = z->lb; return 1; } static int r_remove_question_suffixes(struct SN_env * z) { /* forwardmode */ - { int ret = r_has_min_length(z); /* call has_min_length, line 189 */ + { int ret = r_has_min_length(z); /* call has_min_length, line 179 */ if (ret <= 0) return ret; } - z->B[0] = 0; /* unset found_a_match, line 190 */ - z->lb = z->c; z->c = z->l; /* backwards, line 191 */ - - { int m1 = z->l - z->c; (void)m1; /* do, line 192 */ - z->ket = z->c; /* [, line 193 */ - if (!(find_among_b(z, a_14, 3))) goto lab0; /* among, line 193 */ - z->bra = z->c; /* ], line 193 */ - { int ret = slice_from_s(z, 3, s_53); /* <-, line 193 */ + z->B[0] = 0; /* unset found_a_match, line 180 */ + z->lb = z->c; z->c = z->l; /* backwards, line 181 */ + + { int m1 = z->l - z->c; (void)m1; /* do, line 182 */ + z->ket = z->c; /* [, line 183 */ + if (!(find_among_b(z, a_14, 3))) goto lab0; /* among, line 183 */ + z->bra = z->c; /* ], line 183 */ + { int ret = slice_from_s(z, 3, s_53); /* <-, line 183 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 194 */ + z->B[0] = 1; /* set found_a_match, line 184 */ lab0: z->c = z->l - m1; } z->c = z->lb; - { int c2 = z->c; /* do, line 197 */ - { int ret = r_fix_endings(z); /* call fix_endings, line 197 */ - if (ret == 0) goto lab1; - if (ret < 0) return ret; - } - lab1: - z->c = c2; + /* do, line 187 */ + { int ret = r_fix_endings(z); /* call fix_endings, line 187 */ + if (ret < 0) return ret; } return 1; } static int r_remove_command_suffixes(struct SN_env * z) { /* forwardmode */ - { int ret = r_has_min_length(z); /* call has_min_length, line 201 */ + { int ret = r_has_min_length(z); /* call has_min_length, line 191 */ if (ret <= 0) return ret; } - z->B[0] = 0; /* unset found_a_match, line 202 */ - z->lb = z->c; z->c = z->l; /* backwards, line 203 */ + z->B[0] = 0; /* unset found_a_match, line 192 */ + z->lb = z->c; z->c = z->l; /* backwards, line 193 */ - z->ket = z->c; /* [, line 204 */ - if (z->c - 5 <= z->lb || z->p[z->c - 1] != 191) return 0; /* among, line 204 */ + z->ket = z->c; /* [, line 194 */ + if (z->c - 5 <= z->lb || z->p[z->c - 1] != 191) return 0; /* among, line 194 */ if (!(find_among_b(z, a_15, 2))) return 0; - z->bra = z->c; /* ], line 204 */ - { int ret = slice_del(z); /* delete, line 204 */ + z->bra = z->c; /* ], line 194 */ + { int ret = slice_del(z); /* delete, line 194 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 205 */ + z->B[0] = 1; /* set found_a_match, line 195 */ z->c = z->lb; return 1; } static int r_remove_um(struct SN_env * z) { /* forwardmode */ - z->B[0] = 0; /* unset found_a_match, line 210 */ - { int ret = r_has_min_length(z); /* call has_min_length, line 211 */ + z->B[0] = 0; /* unset found_a_match, line 200 */ + { int ret = r_has_min_length(z); /* call has_min_length, line 201 */ if (ret <= 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 212 */ + z->lb = z->c; z->c = z->l; /* backwards, line 202 */ - z->ket = z->c; /* [, line 212 */ - if (!(eq_s_b(z, 9, s_54))) return 0; /* literal, line 212 */ - z->bra = z->c; /* ], line 212 */ - { int ret = slice_from_s(z, 3, s_55); /* <-, line 212 */ + z->ket = z->c; /* [, line 202 */ + if (!(eq_s_b(z, 9, s_54))) return 0; /* literal, line 202 */ + z->bra = z->c; /* ], line 202 */ + { int ret = slice_from_s(z, 3, s_55); /* <-, line 202 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 213 */ + z->B[0] = 1; /* set found_a_match, line 203 */ z->c = z->lb; - { int c1 = z->c; /* do, line 215 */ - { int ret = r_fix_ending(z); /* call fix_ending, line 215 */ - if (ret == 0) goto lab0; + { int c1 = z->c; /* do, line 205 */ + { int ret = r_fix_ending(z); /* call fix_ending, line 205 */ if (ret < 0) return ret; } - lab0: z->c = c1; } return 1; } static int r_remove_common_word_endings(struct SN_env * z) { /* forwardmode */ - z->B[0] = 0; /* unset found_a_match, line 222 */ - { int ret = r_has_min_length(z); /* call has_min_length, line 223 */ + z->B[0] = 0; /* unset found_a_match, line 212 */ + { int ret = r_has_min_length(z); /* call has_min_length, line 213 */ if (ret <= 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 224 */ + z->lb = z->c; z->c = z->l; /* backwards, line 214 */ - { int m1 = z->l - z->c; (void)m1; /* or, line 241 */ - { int m_test2 = z->l - z->c; /* test, line 225 */ - z->ket = z->c; /* [, line 225 */ - { int m3 = z->l - z->c; (void)m3; /* or, line 225 */ - if (!(eq_s_b(z, 12, s_56))) goto lab3; /* literal, line 225 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 231 */ + { int m_test2 = z->l - z->c; /* test, line 215 */ + z->ket = z->c; /* [, line 215 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 215 */ + if (!(eq_s_b(z, 12, s_56))) goto lab3; /* literal, line 215 */ goto lab2; lab3: z->c = z->l - m3; - if (!(eq_s_b(z, 15, s_57))) goto lab4; /* literal, line 226 */ + if (!(eq_s_b(z, 15, s_57))) goto lab4; /* literal, line 216 */ goto lab2; lab4: z->c = z->l - m3; - if (!(eq_s_b(z, 12, s_58))) goto lab5; /* literal, line 227 */ + if (!(eq_s_b(z, 12, s_58))) goto lab5; /* literal, line 217 */ goto lab2; lab5: z->c = z->l - m3; - if (!(eq_s_b(z, 15, s_59))) goto lab6; /* literal, line 228 */ + if (!(eq_s_b(z, 15, s_59))) goto lab6; /* literal, line 218 */ goto lab2; lab6: z->c = z->l - m3; - if (!(eq_s_b(z, 9, s_60))) goto lab7; /* literal, line 229 */ + if (!(eq_s_b(z, 9, s_60))) goto lab7; /* literal, line 219 */ goto lab2; lab7: z->c = z->l - m3; - if (!(eq_s_b(z, 12, s_61))) goto lab8; /* literal, line 230 */ + if (!(eq_s_b(z, 12, s_61))) goto lab8; /* literal, line 220 */ goto lab2; lab8: z->c = z->l - m3; - if (!(eq_s_b(z, 15, s_62))) goto lab9; /* literal, line 231 */ + if (!(eq_s_b(z, 15, s_62))) goto lab9; /* literal, line 221 */ goto lab2; lab9: z->c = z->l - m3; - if (!(eq_s_b(z, 12, s_63))) goto lab10; /* literal, line 232 */ + if (!(eq_s_b(z, 12, s_63))) goto lab10; /* literal, line 222 */ goto lab2; lab10: z->c = z->l - m3; - if (!(eq_s_b(z, 12, s_64))) goto lab11; /* literal, line 233 */ + if (!(eq_s_b(z, 12, s_64))) goto lab11; /* literal, line 223 */ goto lab2; lab11: z->c = z->l - m3; - if (!(eq_s_b(z, 9, s_65))) goto lab12; /* literal, line 234 */ + if (!(eq_s_b(z, 9, s_65))) goto lab12; /* literal, line 224 */ goto lab2; lab12: z->c = z->l - m3; - if (!(eq_s_b(z, 15, s_66))) goto lab13; /* literal, line 235 */ + if (!(eq_s_b(z, 15, s_66))) goto lab13; /* literal, line 225 */ goto lab2; lab13: z->c = z->l - m3; - if (!(eq_s_b(z, 9, s_67))) goto lab14; /* literal, line 236 */ - { int m_test4 = z->l - z->c; /* test, line 236 */ - { int m5 = z->l - z->c; (void)m5; /* not, line 236 */ - if (!(find_among_b(z, a_16, 8))) goto lab15; /* among, line 236 */ + if (!(eq_s_b(z, 9, s_67))) goto lab14; /* literal, line 226 */ + { int m_test4 = z->l - z->c; /* test, line 226 */ + { int m5 = z->l - z->c; (void)m5; /* not, line 226 */ + if (!(find_among_b(z, a_16, 8))) goto lab15; /* among, line 226 */ goto lab14; lab15: z->c = z->l - m5; @@ -1231,61 +1214,57 @@ static int r_remove_common_word_endings(struct SN_env * z) { /* forwardmode */ goto lab2; lab14: z->c = z->l - m3; - if (!(eq_s_b(z, 6, s_68))) goto lab16; /* literal, line 237 */ + if (!(eq_s_b(z, 6, s_68))) goto lab16; /* literal, line 227 */ goto lab2; lab16: z->c = z->l - m3; - if (!(eq_s_b(z, 9, s_69))) goto lab1; /* literal, line 238 */ + if (!(eq_s_b(z, 9, s_69))) goto lab1; /* literal, line 228 */ } lab2: - z->bra = z->c; /* ], line 238 */ - { int ret = slice_from_s(z, 3, s_70); /* <-, line 238 */ + z->bra = z->c; /* ], line 228 */ + { int ret = slice_from_s(z, 3, s_70); /* <-, line 228 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 239 */ + z->B[0] = 1; /* set found_a_match, line 229 */ z->c = z->l - m_test2; } goto lab0; lab1: z->c = z->l - m1; - { int m_test6 = z->l - z->c; /* test, line 242 */ - z->ket = z->c; /* [, line 242 */ - if (!(find_among_b(z, a_17, 13))) return 0; /* among, line 242 */ - z->bra = z->c; /* ], line 255 */ - { int ret = slice_del(z); /* delete, line 255 */ + { int m_test6 = z->l - z->c; /* test, line 232 */ + z->ket = z->c; /* [, line 232 */ + if (!(find_among_b(z, a_17, 13))) return 0; /* among, line 232 */ + z->bra = z->c; /* ], line 245 */ + { int ret = slice_del(z); /* delete, line 245 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 256 */ + z->B[0] = 1; /* set found_a_match, line 246 */ z->c = z->l - m_test6; } } lab0: z->c = z->lb; - { int c7 = z->c; /* do, line 259 */ - { int ret = r_fix_endings(z); /* call fix_endings, line 259 */ - if (ret == 0) goto lab17; - if (ret < 0) return ret; - } - lab17: - z->c = c7; + /* do, line 249 */ + { int ret = r_fix_endings(z); /* call fix_endings, line 249 */ + if (ret < 0) return ret; } return 1; } static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ - z->B[0] = 0; /* unset found_a_match, line 263 */ - z->B[1] = 0; /* unset found_vetrumai_urupu, line 264 */ - { int ret = r_has_min_length(z); /* call has_min_length, line 265 */ + z->B[0] = 0; /* unset found_a_match, line 253 */ + z->B[1] = 0; /* unset found_vetrumai_urupu, line 254 */ + { int ret = r_has_min_length(z); /* call has_min_length, line 255 */ if (ret <= 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 266 */ - - { int m1 = z->l - z->c; (void)m1; /* or, line 269 */ - { int m_test2 = z->l - z->c; /* test, line 268 */ - z->ket = z->c; /* [, line 268 */ - if (!(eq_s_b(z, 6, s_71))) goto lab1; /* literal, line 268 */ - z->bra = z->c; /* ], line 268 */ - { int ret = slice_del(z); /* delete, line 268 */ + z->lb = z->c; z->c = z->l; /* backwards, line 256 */ + + { int m1 = z->l - z->c; (void)m1; /* or, line 259 */ + { int m_test2 = z->l - z->c; /* test, line 258 */ + z->ket = z->c; /* [, line 258 */ + if (!(eq_s_b(z, 6, s_71))) goto lab1; /* literal, line 258 */ + z->bra = z->c; /* ], line 258 */ + { int ret = slice_del(z); /* delete, line 258 */ if (ret < 0) return ret; } z->c = z->l - m_test2; @@ -1293,20 +1272,20 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ goto lab0; lab1: z->c = z->l - m1; - { int m_test3 = z->l - z->c; /* test, line 270 */ - z->ket = z->c; /* [, line 270 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 271 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 270 */ - if (!(eq_s_b(z, 9, s_72))) goto lab6; /* literal, line 270 */ + { int m_test3 = z->l - z->c; /* test, line 260 */ + z->ket = z->c; /* [, line 260 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 261 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 260 */ + if (!(eq_s_b(z, 9, s_72))) goto lab6; /* literal, line 260 */ goto lab5; lab6: z->c = z->l - m5; - if (!(eq_s_b(z, 3, s_73))) goto lab4; /* literal, line 271 */ + if (!(eq_s_b(z, 3, s_73))) goto lab4; /* literal, line 261 */ } lab5: - { int m_test6 = z->l - z->c; /* test, line 271 */ - { int m7 = z->l - z->c; (void)m7; /* not, line 271 */ - if (!(find_among_b(z, a_18, 6))) goto lab7; /* among, line 271 */ + { int m_test6 = z->l - z->c; /* test, line 261 */ + { int m7 = z->l - z->c; (void)m7; /* not, line 261 */ + if (!(find_among_b(z, a_18, 6))) goto lab7; /* among, line 261 */ goto lab4; lab7: z->c = z->l - m7; @@ -1316,16 +1295,16 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ goto lab3; lab4: z->c = z->l - m4; - if (!(eq_s_b(z, 3, s_74))) goto lab2; /* literal, line 272 */ - { int m_test8 = z->l - z->c; /* test, line 272 */ - if (!(find_among_b(z, a_19, 6))) goto lab2; /* among, line 272 */ - if (!(eq_s_b(z, 3, s_75))) goto lab2; /* literal, line 272 */ + if (!(eq_s_b(z, 3, s_74))) goto lab2; /* literal, line 262 */ + { int m_test8 = z->l - z->c; /* test, line 262 */ + if (!(find_among_b(z, a_19, 6))) goto lab2; /* among, line 262 */ + if (!(eq_s_b(z, 3, s_75))) goto lab2; /* literal, line 262 */ z->c = z->l - m_test8; } } lab3: - z->bra = z->c; /* ], line 273 */ - { int ret = slice_from_s(z, 3, s_76); /* <-, line 273 */ + z->bra = z->c; /* ], line 263 */ + { int ret = slice_from_s(z, 3, s_76); /* <-, line 263 */ if (ret < 0) return ret; } z->c = z->l - m_test3; @@ -1333,29 +1312,29 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ goto lab0; lab2: z->c = z->l - m1; - { int m_test9 = z->l - z->c; /* test, line 276 */ - z->ket = z->c; /* [, line 276 */ - { int m10 = z->l - z->c; (void)m10; /* or, line 277 */ - if (!(eq_s_b(z, 9, s_77))) goto lab10; /* literal, line 277 */ + { int m_test9 = z->l - z->c; /* test, line 266 */ + z->ket = z->c; /* [, line 266 */ + { int m10 = z->l - z->c; (void)m10; /* or, line 267 */ + if (!(eq_s_b(z, 9, s_77))) goto lab10; /* literal, line 267 */ goto lab9; lab10: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_78))) goto lab11; /* literal, line 278 */ + if (!(eq_s_b(z, 9, s_78))) goto lab11; /* literal, line 268 */ goto lab9; lab11: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_79))) goto lab12; /* literal, line 279 */ + if (!(eq_s_b(z, 9, s_79))) goto lab12; /* literal, line 269 */ goto lab9; lab12: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_80))) goto lab13; /* literal, line 280 */ + if (!(eq_s_b(z, 9, s_80))) goto lab13; /* literal, line 270 */ goto lab9; lab13: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_81))) goto lab14; /* literal, line 281 */ - { int m_test11 = z->l - z->c; /* test, line 281 */ - { int m12 = z->l - z->c; (void)m12; /* not, line 281 */ - if (!(eq_s_b(z, 3, s_82))) goto lab15; /* literal, line 281 */ + if (!(eq_s_b(z, 9, s_81))) goto lab14; /* literal, line 271 */ + { int m_test11 = z->l - z->c; /* test, line 271 */ + { int m12 = z->l - z->c; (void)m12; /* not, line 271 */ + if (!(eq_s_b(z, 3, s_82))) goto lab15; /* literal, line 271 */ goto lab14; lab15: z->c = z->l - m12; @@ -1365,39 +1344,39 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ goto lab9; lab14: z->c = z->l - m10; - if (!(eq_s_b(z, 15, s_83))) goto lab16; /* literal, line 282 */ + if (!(eq_s_b(z, 15, s_83))) goto lab16; /* literal, line 272 */ goto lab9; lab16: z->c = z->l - m10; - if (!(eq_s_b(z, 21, s_84))) goto lab17; /* literal, line 283 */ + if (!(eq_s_b(z, 21, s_84))) goto lab17; /* literal, line 273 */ goto lab9; lab17: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_85))) goto lab18; /* literal, line 284 */ + if (!(eq_s_b(z, 9, s_85))) goto lab18; /* literal, line 274 */ goto lab9; lab18: z->c = z->l - m10; - if (!(z->I[0] >= 7)) goto lab19; /* $length >= , line 285 */ - if (!(eq_s_b(z, 12, s_86))) goto lab19; /* literal, line 285 */ + if (!(len_utf8(z->p) >= 7)) goto lab19; /* $( >= ), line 275 */ + if (!(eq_s_b(z, 12, s_86))) goto lab19; /* literal, line 275 */ goto lab9; lab19: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_87))) goto lab20; /* literal, line 286 */ + if (!(eq_s_b(z, 9, s_87))) goto lab20; /* literal, line 276 */ goto lab9; lab20: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_88))) goto lab21; /* literal, line 287 */ + if (!(eq_s_b(z, 9, s_88))) goto lab21; /* literal, line 277 */ goto lab9; lab21: z->c = z->l - m10; - if (!(eq_s_b(z, 12, s_89))) goto lab22; /* literal, line 288 */ + if (!(eq_s_b(z, 12, s_89))) goto lab22; /* literal, line 278 */ goto lab9; lab22: z->c = z->l - m10; - if (!(eq_s_b(z, 6, s_90))) goto lab23; /* literal, line 289 */ - { int m_test13 = z->l - z->c; /* test, line 289 */ - { int m14 = z->l - z->c; (void)m14; /* not, line 289 */ - if (!(find_among_b(z, a_20, 8))) goto lab24; /* among, line 289 */ + if (!(eq_s_b(z, 6, s_90))) goto lab23; /* literal, line 279 */ + { int m_test13 = z->l - z->c; /* test, line 279 */ + { int m14 = z->l - z->c; (void)m14; /* not, line 279 */ + if (!(find_among_b(z, a_20, 8))) goto lab24; /* among, line 279 */ goto lab23; lab24: z->c = z->l - m14; @@ -1407,11 +1386,11 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ goto lab9; lab23: z->c = z->l - m10; - if (!(eq_s_b(z, 9, s_91))) goto lab8; /* literal, line 290 */ + if (!(eq_s_b(z, 9, s_91))) goto lab8; /* literal, line 280 */ } lab9: - z->bra = z->c; /* ], line 291 */ - { int ret = slice_from_s(z, 3, s_92); /* <-, line 291 */ + z->bra = z->c; /* ], line 281 */ + { int ret = slice_from_s(z, 3, s_92); /* <-, line 281 */ if (ret < 0) return ret; } z->c = z->l - m_test9; @@ -1419,37 +1398,37 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ goto lab0; lab8: z->c = z->l - m1; - { int m_test15 = z->l - z->c; /* test, line 294 */ - z->ket = z->c; /* [, line 294 */ - { int m16 = z->l - z->c; (void)m16; /* or, line 295 */ - if (!(eq_s_b(z, 9, s_93))) goto lab27; /* literal, line 295 */ + { int m_test15 = z->l - z->c; /* test, line 284 */ + z->ket = z->c; /* [, line 284 */ + { int m16 = z->l - z->c; (void)m16; /* or, line 285 */ + if (!(eq_s_b(z, 9, s_93))) goto lab27; /* literal, line 285 */ goto lab26; lab27: z->c = z->l - m16; - if (!(eq_s_b(z, 12, s_94))) goto lab28; /* literal, line 296 */ + if (!(eq_s_b(z, 12, s_94))) goto lab28; /* literal, line 286 */ goto lab26; lab28: z->c = z->l - m16; - if (!(eq_s_b(z, 12, s_95))) goto lab29; /* literal, line 297 */ + if (!(eq_s_b(z, 12, s_95))) goto lab29; /* literal, line 287 */ goto lab26; lab29: z->c = z->l - m16; - if (!(eq_s_b(z, 12, s_96))) goto lab30; /* literal, line 298 */ + if (!(eq_s_b(z, 12, s_96))) goto lab30; /* literal, line 288 */ goto lab26; lab30: z->c = z->l - m16; - if (!(eq_s_b(z, 12, s_97))) goto lab31; /* literal, line 299 */ + if (!(eq_s_b(z, 12, s_97))) goto lab31; /* literal, line 289 */ goto lab26; lab31: z->c = z->l - m16; - if (!(eq_s_b(z, 12, s_98))) goto lab32; /* literal, line 300 */ + if (!(eq_s_b(z, 12, s_98))) goto lab32; /* literal, line 290 */ goto lab26; lab32: z->c = z->l - m16; - if (!(eq_s_b(z, 6, s_99))) goto lab25; /* literal, line 301 */ - { int m_test17 = z->l - z->c; /* test, line 301 */ - { int m18 = z->l - z->c; (void)m18; /* not, line 301 */ - if (!(find_among_b(z, a_21, 8))) goto lab33; /* among, line 301 */ + if (!(eq_s_b(z, 6, s_99))) goto lab25; /* literal, line 291 */ + { int m_test17 = z->l - z->c; /* test, line 291 */ + { int m18 = z->l - z->c; (void)m18; /* not, line 291 */ + if (!(find_among_b(z, a_21, 8))) goto lab33; /* among, line 291 */ goto lab25; lab33: z->c = z->l - m18; @@ -1458,8 +1437,8 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ } } lab26: - z->bra = z->c; /* ], line 302 */ - { int ret = slice_del(z); /* delete, line 302 */ + z->bra = z->c; /* ], line 292 */ + { int ret = slice_del(z); /* delete, line 292 */ if (ret < 0) return ret; } z->c = z->l - m_test15; @@ -1467,52 +1446,47 @@ static int r_remove_vetrumai_urupukal(struct SN_env * z) { /* forwardmode */ goto lab0; lab25: z->c = z->l - m1; - { int m_test19 = z->l - z->c; /* test, line 305 */ - z->ket = z->c; /* [, line 305 */ - if (!(eq_s_b(z, 3, s_100))) return 0; /* literal, line 305 */ - z->bra = z->c; /* ], line 305 */ - { int ret = slice_from_s(z, 3, s_101); /* <-, line 305 */ + { int m_test19 = z->l - z->c; /* test, line 295 */ + z->ket = z->c; /* [, line 295 */ + if (!(eq_s_b(z, 3, s_100))) return 0; /* literal, line 295 */ + z->bra = z->c; /* ], line 295 */ + { int ret = slice_from_s(z, 3, s_101); /* <-, line 295 */ if (ret < 0) return ret; } z->c = z->l - m_test19; } } lab0: - z->B[0] = 1; /* set found_a_match, line 307 */ - z->B[1] = 1; /* set found_vetrumai_urupu, line 308 */ - { int m20 = z->l - z->c; (void)m20; /* do, line 309 */ - z->ket = z->c; /* [, line 309 */ - if (!(eq_s_b(z, 9, s_102))) goto lab34; /* literal, line 309 */ - z->bra = z->c; /* ], line 309 */ - { int ret = slice_from_s(z, 3, s_103); /* <-, line 309 */ + z->B[0] = 1; /* set found_a_match, line 297 */ + z->B[1] = 1; /* set found_vetrumai_urupu, line 298 */ + { int m20 = z->l - z->c; (void)m20; /* do, line 299 */ + z->ket = z->c; /* [, line 299 */ + if (!(eq_s_b(z, 9, s_102))) goto lab34; /* literal, line 299 */ + z->bra = z->c; /* ], line 299 */ + { int ret = slice_from_s(z, 3, s_103); /* <-, line 299 */ if (ret < 0) return ret; } lab34: z->c = z->l - m20; } z->c = z->lb; - { int c21 = z->c; /* do, line 311 */ - { int ret = r_fix_endings(z); /* call fix_endings, line 311 */ - if (ret == 0) goto lab35; - if (ret < 0) return ret; - } - lab35: - z->c = c21; + /* do, line 301 */ + { int ret = r_fix_endings(z); /* call fix_endings, line 301 */ + if (ret < 0) return ret; } return 1; } static int r_remove_tense_suffixes(struct SN_env * z) { /* forwardmode */ - z->B[0] = 1; /* set found_a_match, line 315 */ - while(1) { /* repeat, line 316 */ - int c1 = z->c; - if (!(z->B[0])) goto lab0; /* Boolean test found_a_match, line 316 */ - { int c2 = z->c; /* do, line 316 */ - { int ret = r_remove_tense_suffix(z); /* call remove_tense_suffix, line 316 */ - if (ret == 0) goto lab1; + z->B[0] = 1; /* set found_a_match, line 305 */ +/* repeat, line 306 */ + + while(1) { int c1 = z->c; + if (!(z->B[0])) goto lab0; /* Boolean test found_a_match, line 306 */ + { int c2 = z->c; /* do, line 306 */ + { int ret = r_remove_tense_suffix(z); /* call remove_tense_suffix, line 306 */ if (ret < 0) return ret; } - lab1: z->c = c2; } continue; @@ -1524,59 +1498,59 @@ static int r_remove_tense_suffixes(struct SN_env * z) { /* forwardmode */ } static int r_remove_tense_suffix(struct SN_env * z) { /* forwardmode */ - z->B[0] = 0; /* unset found_a_match, line 320 */ - { int ret = r_has_min_length(z); /* call has_min_length, line 321 */ + z->B[0] = 0; /* unset found_a_match, line 310 */ + { int ret = r_has_min_length(z); /* call has_min_length, line 311 */ if (ret <= 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 322 */ + z->lb = z->c; z->c = z->l; /* backwards, line 312 */ - { int m1 = z->l - z->c; (void)m1; /* do, line 323 */ - { int m2 = z->l - z->c; (void)m2; /* or, line 330 */ - { int m_test3 = z->l - z->c; /* test, line 324 */ - z->ket = z->c; /* [, line 324 */ - if (z->c - 8 <= z->lb || (z->p[z->c - 1] != 129 && z->p[z->c - 1] != 141)) goto lab2; /* among, line 324 */ + { int m1 = z->l - z->c; (void)m1; /* do, line 313 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 320 */ + { int m_test3 = z->l - z->c; /* test, line 314 */ + z->ket = z->c; /* [, line 314 */ + if (z->c - 8 <= z->lb || (z->p[z->c - 1] != 129 && z->p[z->c - 1] != 141)) goto lab2; /* among, line 314 */ if (!(find_among_b(z, a_22, 2))) goto lab2; - z->bra = z->c; /* ], line 327 */ - { int ret = slice_del(z); /* delete, line 327 */ + z->bra = z->c; /* ], line 317 */ + { int ret = slice_del(z); /* delete, line 317 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 328 */ + z->B[0] = 1; /* set found_a_match, line 318 */ z->c = z->l - m_test3; } goto lab1; lab2: z->c = z->l - m2; - { int m_test4 = z->l - z->c; /* test, line 331 */ - z->ket = z->c; /* [, line 331 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 332 */ - if (!(eq_s_b(z, 12, s_104))) goto lab5; /* literal, line 332 */ + { int m_test4 = z->l - z->c; /* test, line 321 */ + z->ket = z->c; /* [, line 321 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 322 */ + if (!(eq_s_b(z, 12, s_104))) goto lab5; /* literal, line 322 */ goto lab4; lab5: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_105))) goto lab6; /* literal, line 333 */ + if (!(eq_s_b(z, 12, s_105))) goto lab6; /* literal, line 323 */ goto lab4; lab6: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_106))) goto lab7; /* literal, line 334 */ + if (!(eq_s_b(z, 9, s_106))) goto lab7; /* literal, line 324 */ goto lab4; lab7: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_107))) goto lab8; /* literal, line 335 */ + if (!(eq_s_b(z, 12, s_107))) goto lab8; /* literal, line 325 */ goto lab4; lab8: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_108))) goto lab9; /* literal, line 336 */ + if (!(eq_s_b(z, 12, s_108))) goto lab9; /* literal, line 326 */ goto lab4; lab9: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_109))) goto lab10; /* literal, line 337 */ + if (!(eq_s_b(z, 12, s_109))) goto lab10; /* literal, line 327 */ goto lab4; lab10: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_110))) goto lab11; /* literal, line 338 */ - { int m_test6 = z->l - z->c; /* test, line 338 */ - { int m7 = z->l - z->c; (void)m7; /* not, line 338 */ - if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 4 || !((1951712 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab12; /* among, line 338 */ + if (!(eq_s_b(z, 9, s_110))) goto lab11; /* literal, line 328 */ + { int m_test6 = z->l - z->c; /* test, line 328 */ + { int m7 = z->l - z->c; (void)m7; /* not, line 328 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 4 || !((1951712 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab12; /* among, line 328 */ if (!(find_among_b(z, a_23, 12))) goto lab12; goto lab11; lab12: @@ -1587,58 +1561,58 @@ static int r_remove_tense_suffix(struct SN_env * z) { /* forwardmode */ goto lab4; lab11: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_111))) goto lab13; /* literal, line 339 */ + if (!(eq_s_b(z, 9, s_111))) goto lab13; /* literal, line 329 */ goto lab4; lab13: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_112))) goto lab14; /* literal, line 340 */ + if (!(eq_s_b(z, 9, s_112))) goto lab14; /* literal, line 330 */ goto lab4; lab14: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_113))) goto lab15; /* literal, line 341 */ + if (!(eq_s_b(z, 9, s_113))) goto lab15; /* literal, line 331 */ goto lab4; lab15: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_114))) goto lab16; /* literal, line 342 */ + if (!(eq_s_b(z, 9, s_114))) goto lab16; /* literal, line 332 */ goto lab4; lab16: z->c = z->l - m5; - if (!(eq_s_b(z, 3, s_115))) goto lab17; /* literal, line 343 */ + if (!(eq_s_b(z, 3, s_115))) goto lab17; /* literal, line 333 */ goto lab4; lab17: z->c = z->l - m5; - if (!(eq_s_b(z, 3, s_116))) goto lab18; /* literal, line 343 */ + if (!(eq_s_b(z, 3, s_116))) goto lab18; /* literal, line 333 */ goto lab4; lab18: z->c = z->l - m5; - if (!(eq_s_b(z, 3, s_117))) goto lab19; /* literal, line 343 */ + if (!(eq_s_b(z, 3, s_117))) goto lab19; /* literal, line 333 */ goto lab4; lab19: z->c = z->l - m5; - if (!(eq_s_b(z, 3, s_118))) goto lab20; /* literal, line 343 */ + if (!(eq_s_b(z, 3, s_118))) goto lab20; /* literal, line 333 */ goto lab4; lab20: z->c = z->l - m5; - if (!(eq_s_b(z, 3, s_119))) goto lab21; /* literal, line 343 */ + if (!(eq_s_b(z, 3, s_119))) goto lab21; /* literal, line 333 */ goto lab4; lab21: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_120))) goto lab22; /* literal, line 344 */ + if (!(eq_s_b(z, 9, s_120))) goto lab22; /* literal, line 334 */ goto lab4; lab22: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_121))) goto lab23; /* literal, line 345 */ + if (!(eq_s_b(z, 9, s_121))) goto lab23; /* literal, line 335 */ goto lab4; lab23: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_122))) goto lab24; /* literal, line 346 */ + if (!(eq_s_b(z, 9, s_122))) goto lab24; /* literal, line 336 */ goto lab4; lab24: z->c = z->l - m5; - if (!(eq_s_b(z, 6, s_123))) goto lab25; /* literal, line 347 */ - { int m_test8 = z->l - z->c; /* test, line 347 */ - { int m9 = z->l - z->c; (void)m9; /* not, line 347 */ - if (!(find_among_b(z, a_24, 8))) goto lab26; /* among, line 347 */ + if (!(eq_s_b(z, 6, s_123))) goto lab25; /* literal, line 337 */ + { int m_test8 = z->l - z->c; /* test, line 337 */ + { int m9 = z->l - z->c; (void)m9; /* not, line 337 */ + if (!(find_among_b(z, a_24, 8))) goto lab26; /* among, line 337 */ goto lab25; lab26: z->c = z->l - m9; @@ -1648,58 +1622,58 @@ static int r_remove_tense_suffix(struct SN_env * z) { /* forwardmode */ goto lab4; lab25: z->c = z->l - m5; - if (!(eq_s_b(z, 15, s_124))) goto lab27; /* literal, line 348 */ + if (!(eq_s_b(z, 15, s_124))) goto lab27; /* literal, line 338 */ goto lab4; lab27: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_125))) goto lab28; /* literal, line 349 */ + if (!(eq_s_b(z, 9, s_125))) goto lab28; /* literal, line 339 */ goto lab4; lab28: z->c = z->l - m5; - if (!(eq_s_b(z, 9, s_126))) goto lab29; /* literal, line 350 */ + if (!(eq_s_b(z, 9, s_126))) goto lab29; /* literal, line 340 */ goto lab4; lab29: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_127))) goto lab30; /* literal, line 351 */ + if (!(eq_s_b(z, 12, s_127))) goto lab30; /* literal, line 341 */ goto lab4; lab30: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_128))) goto lab31; /* literal, line 352 */ + if (!(eq_s_b(z, 12, s_128))) goto lab31; /* literal, line 342 */ goto lab4; lab31: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_129))) goto lab32; /* literal, line 353 */ + if (!(eq_s_b(z, 12, s_129))) goto lab32; /* literal, line 343 */ goto lab4; lab32: z->c = z->l - m5; - if (!(eq_s_b(z, 12, s_130))) goto lab33; /* literal, line 354 */ + if (!(eq_s_b(z, 12, s_130))) goto lab33; /* literal, line 344 */ goto lab4; lab33: z->c = z->l - m5; - if (!(eq_s_b(z, 6, s_131))) goto lab34; /* literal, line 355 */ + if (!(eq_s_b(z, 6, s_131))) goto lab34; /* literal, line 345 */ goto lab4; lab34: z->c = z->l - m5; - if (!(eq_s_b(z, 6, s_132))) goto lab3; /* literal, line 356 */ + if (!(eq_s_b(z, 6, s_132))) goto lab3; /* literal, line 346 */ } lab4: - z->bra = z->c; /* ], line 357 */ - { int ret = slice_del(z); /* delete, line 357 */ + z->bra = z->c; /* ], line 347 */ + { int ret = slice_del(z); /* delete, line 347 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 358 */ + z->B[0] = 1; /* set found_a_match, line 348 */ z->c = z->l - m_test4; } goto lab1; lab3: z->c = z->l - m2; - { int m_test10 = z->l - z->c; /* test, line 361 */ - z->ket = z->c; /* [, line 361 */ - { int m11 = z->l - z->c; (void)m11; /* or, line 362 */ - if (!(eq_s_b(z, 9, s_133))) goto lab37; /* literal, line 362 */ - { int m_test12 = z->l - z->c; /* test, line 362 */ - { int m13 = z->l - z->c; (void)m13; /* not, line 362 */ - if (!(eq_s_b(z, 3, s_134))) goto lab38; /* literal, line 362 */ + { int m_test10 = z->l - z->c; /* test, line 351 */ + z->ket = z->c; /* [, line 351 */ + { int m11 = z->l - z->c; (void)m11; /* or, line 352 */ + if (!(eq_s_b(z, 9, s_133))) goto lab37; /* literal, line 352 */ + { int m_test12 = z->l - z->c; /* test, line 352 */ + { int m13 = z->l - z->c; (void)m13; /* not, line 352 */ + if (!(eq_s_b(z, 3, s_134))) goto lab38; /* literal, line 352 */ goto lab37; lab38: z->c = z->l - m13; @@ -1709,102 +1683,102 @@ static int r_remove_tense_suffix(struct SN_env * z) { /* forwardmode */ goto lab36; lab37: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_135))) goto lab39; /* literal, line 363 */ + if (!(eq_s_b(z, 9, s_135))) goto lab39; /* literal, line 353 */ goto lab36; lab39: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_136))) goto lab40; /* literal, line 364 */ + if (!(eq_s_b(z, 9, s_136))) goto lab40; /* literal, line 354 */ goto lab36; lab40: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_137))) goto lab41; /* literal, line 365 */ + if (!(eq_s_b(z, 9, s_137))) goto lab41; /* literal, line 355 */ goto lab36; lab41: z->c = z->l - m11; - if (!(eq_s_b(z, 3, s_138))) goto lab42; /* literal, line 366 */ + if (!(eq_s_b(z, 3, s_138))) goto lab42; /* literal, line 356 */ goto lab36; lab42: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_139))) goto lab43; /* literal, line 367 */ + if (!(eq_s_b(z, 9, s_139))) goto lab43; /* literal, line 357 */ goto lab36; lab43: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_140))) goto lab44; /* literal, line 368 */ + if (!(eq_s_b(z, 9, s_140))) goto lab44; /* literal, line 358 */ goto lab36; lab44: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_141))) goto lab45; /* literal, line 369 */ + if (!(eq_s_b(z, 9, s_141))) goto lab45; /* literal, line 359 */ goto lab36; lab45: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_142))) goto lab46; /* literal, line 370 */ + if (!(eq_s_b(z, 9, s_142))) goto lab46; /* literal, line 360 */ goto lab36; lab46: z->c = z->l - m11; - if (!(eq_s_b(z, 12, s_143))) goto lab47; /* literal, line 371 */ + if (!(eq_s_b(z, 12, s_143))) goto lab47; /* literal, line 361 */ goto lab36; lab47: z->c = z->l - m11; - if (!(eq_s_b(z, 12, s_144))) goto lab48; /* literal, line 372 */ + if (!(eq_s_b(z, 12, s_144))) goto lab48; /* literal, line 362 */ goto lab36; lab48: z->c = z->l - m11; - if (!(eq_s_b(z, 12, s_145))) goto lab49; /* literal, line 373 */ + if (!(eq_s_b(z, 12, s_145))) goto lab49; /* literal, line 363 */ goto lab36; lab49: z->c = z->l - m11; - if (!(eq_s_b(z, 12, s_146))) goto lab50; /* literal, line 374 */ + if (!(eq_s_b(z, 12, s_146))) goto lab50; /* literal, line 364 */ goto lab36; lab50: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_147))) goto lab51; /* literal, line 375 */ + if (!(eq_s_b(z, 9, s_147))) goto lab51; /* literal, line 365 */ goto lab36; lab51: z->c = z->l - m11; - if (!(eq_s_b(z, 12, s_148))) goto lab52; /* literal, line 376 */ + if (!(eq_s_b(z, 12, s_148))) goto lab52; /* literal, line 366 */ goto lab36; lab52: z->c = z->l - m11; - if (!(eq_s_b(z, 12, s_149))) goto lab53; /* literal, line 377 */ + if (!(eq_s_b(z, 12, s_149))) goto lab53; /* literal, line 367 */ goto lab36; lab53: z->c = z->l - m11; - if (!(eq_s_b(z, 9, s_150))) goto lab54; /* literal, line 378 */ + if (!(eq_s_b(z, 9, s_150))) goto lab54; /* literal, line 368 */ goto lab36; lab54: z->c = z->l - m11; - if (!(eq_s_b(z, 12, s_151))) goto lab35; /* literal, line 379 */ + if (!(eq_s_b(z, 12, s_151))) goto lab35; /* literal, line 369 */ } lab36: - z->bra = z->c; /* ], line 380 */ - { int ret = slice_from_s(z, 3, s_152); /* <-, line 380 */ + z->bra = z->c; /* ], line 370 */ + { int ret = slice_from_s(z, 3, s_152); /* <-, line 370 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 381 */ + z->B[0] = 1; /* set found_a_match, line 371 */ z->c = z->l - m_test10; } goto lab1; lab35: z->c = z->l - m2; - { int m_test14 = z->l - z->c; /* test, line 384 */ - z->ket = z->c; /* [, line 384 */ - { int m15 = z->l - z->c; (void)m15; /* or, line 384 */ - if (!(eq_s_b(z, 6, s_153))) goto lab56; /* literal, line 384 */ + { int m_test14 = z->l - z->c; /* test, line 374 */ + z->ket = z->c; /* [, line 374 */ + { int m15 = z->l - z->c; (void)m15; /* or, line 374 */ + if (!(eq_s_b(z, 6, s_153))) goto lab56; /* literal, line 374 */ goto lab55; lab56: z->c = z->l - m15; - if (!(eq_s_b(z, 6, s_154))) goto lab0; /* literal, line 384 */ + if (!(eq_s_b(z, 6, s_154))) goto lab0; /* literal, line 374 */ } lab55: - { int m_test16 = z->l - z->c; /* test, line 384 */ - if (!(eq_s_b(z, 3, s_155))) goto lab0; /* literal, line 384 */ + { int m_test16 = z->l - z->c; /* test, line 374 */ + if (!(eq_s_b(z, 3, s_155))) goto lab0; /* literal, line 374 */ z->c = z->l - m_test16; } - z->bra = z->c; /* ], line 384 */ - { int ret = slice_del(z); /* delete, line 384 */ + z->bra = z->c; /* ], line 374 */ + { int ret = slice_del(z); /* delete, line 374 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 385 */ + z->B[0] = 1; /* set found_a_match, line 375 */ z->c = z->l - m_test14; } } @@ -1812,119 +1786,95 @@ static int r_remove_tense_suffix(struct SN_env * z) { /* forwardmode */ lab0: z->c = z->l - m1; } - { int m17 = z->l - z->c; (void)m17; /* do, line 388 */ - z->ket = z->c; /* [, line 388 */ - if (z->c - 8 <= z->lb || (z->p[z->c - 1] != 141 && z->p[z->c - 1] != 177)) goto lab57; /* among, line 388 */ + { int m17 = z->l - z->c; (void)m17; /* do, line 378 */ + z->ket = z->c; /* [, line 378 */ + if (z->c - 8 <= z->lb || (z->p[z->c - 1] != 141 && z->p[z->c - 1] != 177)) goto lab57; /* among, line 378 */ if (!(find_among_b(z, a_25, 6))) goto lab57; - z->bra = z->c; /* ], line 395 */ - { int ret = slice_del(z); /* delete, line 395 */ + z->bra = z->c; /* ], line 385 */ + { int ret = slice_del(z); /* delete, line 385 */ if (ret < 0) return ret; } - z->B[0] = 1; /* set found_a_match, line 396 */ + z->B[0] = 1; /* set found_a_match, line 386 */ lab57: z->c = z->l - m17; } z->c = z->lb; - { int c18 = z->c; /* do, line 399 */ - { int ret = r_fix_endings(z); /* call fix_endings, line 399 */ - if (ret == 0) goto lab58; - if (ret < 0) return ret; - } - lab58: - z->c = c18; + /* do, line 389 */ + { int ret = r_fix_endings(z); /* call fix_endings, line 389 */ + if (ret < 0) return ret; } return 1; } extern int tamil_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - z->B[1] = 0; /* unset found_vetrumai_urupu, line 403 */ - { int c1 = z->c; /* do, line 404 */ - { int ret = r_fix_ending(z); /* call fix_ending, line 404 */ - if (ret == 0) goto lab0; + z->B[1] = 0; /* unset found_vetrumai_urupu, line 393 */ + { int c1 = z->c; /* do, line 394 */ + { int ret = r_fix_ending(z); /* call fix_ending, line 394 */ if (ret < 0) return ret; } - lab0: z->c = c1; } - { int ret = r_has_min_length(z); /* call has_min_length, line 405 */ + { int ret = r_has_min_length(z); /* call has_min_length, line 395 */ if (ret <= 0) return ret; } - { int c2 = z->c; /* do, line 406 */ - { int ret = r_remove_question_prefixes(z); /* call remove_question_prefixes, line 406 */ - if (ret == 0) goto lab1; + { int c2 = z->c; /* do, line 396 */ + { int ret = r_remove_question_prefixes(z); /* call remove_question_prefixes, line 396 */ if (ret < 0) return ret; } - lab1: z->c = c2; } - { int c3 = z->c; /* do, line 407 */ - { int ret = r_remove_pronoun_prefixes(z); /* call remove_pronoun_prefixes, line 407 */ - if (ret == 0) goto lab2; + { int c3 = z->c; /* do, line 397 */ + { int ret = r_remove_pronoun_prefixes(z); /* call remove_pronoun_prefixes, line 397 */ if (ret < 0) return ret; } - lab2: z->c = c3; } - { int c4 = z->c; /* do, line 408 */ - { int ret = r_remove_question_suffixes(z); /* call remove_question_suffixes, line 408 */ - if (ret == 0) goto lab3; + { int c4 = z->c; /* do, line 398 */ + { int ret = r_remove_question_suffixes(z); /* call remove_question_suffixes, line 398 */ if (ret < 0) return ret; } - lab3: z->c = c4; } - { int c5 = z->c; /* do, line 409 */ - { int ret = r_remove_um(z); /* call remove_um, line 409 */ - if (ret == 0) goto lab4; + { int c5 = z->c; /* do, line 399 */ + { int ret = r_remove_um(z); /* call remove_um, line 399 */ if (ret < 0) return ret; } - lab4: z->c = c5; } - { int c6 = z->c; /* do, line 410 */ - { int ret = r_remove_common_word_endings(z); /* call remove_common_word_endings, line 410 */ - if (ret == 0) goto lab5; + { int c6 = z->c; /* do, line 400 */ + { int ret = r_remove_common_word_endings(z); /* call remove_common_word_endings, line 400 */ if (ret < 0) return ret; } - lab5: z->c = c6; } - { int c7 = z->c; /* do, line 411 */ - { int ret = r_remove_vetrumai_urupukal(z); /* call remove_vetrumai_urupukal, line 411 */ - if (ret == 0) goto lab6; + { int c7 = z->c; /* do, line 401 */ + { int ret = r_remove_vetrumai_urupukal(z); /* call remove_vetrumai_urupukal, line 401 */ if (ret < 0) return ret; } - lab6: z->c = c7; } - { int c8 = z->c; /* do, line 412 */ - { int ret = r_remove_plural_suffix(z); /* call remove_plural_suffix, line 412 */ - if (ret == 0) goto lab7; + { int c8 = z->c; /* do, line 402 */ + { int ret = r_remove_plural_suffix(z); /* call remove_plural_suffix, line 402 */ if (ret < 0) return ret; } - lab7: z->c = c8; } - { int c9 = z->c; /* do, line 413 */ - { int ret = r_remove_command_suffixes(z); /* call remove_command_suffixes, line 413 */ - if (ret == 0) goto lab8; + { int c9 = z->c; /* do, line 403 */ + { int ret = r_remove_command_suffixes(z); /* call remove_command_suffixes, line 403 */ if (ret < 0) return ret; } - lab8: z->c = c9; } - { int c10 = z->c; /* do, line 414 */ - { int ret = r_remove_tense_suffixes(z); /* call remove_tense_suffixes, line 414 */ - if (ret == 0) goto lab9; + { int c10 = z->c; /* do, line 404 */ + { int ret = r_remove_tense_suffixes(z); /* call remove_tense_suffixes, line 404 */ if (ret < 0) return ret; } - lab9: z->c = c10; } return 1; } -extern struct SN_env * tamil_UTF_8_create_env(void) { return SN_create_env(0, 1, 3); } +extern struct SN_env * tamil_UTF_8_create_env(void) { return SN_create_env(0, 0, 2); } extern void tamil_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } diff --git a/src/dep/snowball/src_c/stem_UTF_8_tamil.h b/src/dep/snowball/src_c/stem_UTF_8_tamil.h index 65505dc028..77d353e0ea 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_tamil.h +++ b/src/dep/snowball/src_c/stem_UTF_8_tamil.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/dep/snowball/src_c/stem_UTF_8_turkish.c b/src/dep/snowball/src_c/stem_UTF_8_turkish.c index 552ab6a5ec..c945f35eb4 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_turkish.c +++ b/src/dep/snowball/src_c/stem_UTF_8_turkish.c @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #include "../runtime/header.h" @@ -455,54 +454,54 @@ static const symbol s_13[] = { 0xC3, 0xB6 }; static const symbol s_14[] = { 0xC3, 0xBC }; static const symbol s_15[] = { 0xC3, 0xBC }; static const symbol s_16[] = { 'a', 'd' }; -static const symbol s_17[] = { 's', 'o', 'y', 'a', 'd' }; +static const symbol s_17[] = { 's', 'o', 'y' }; static int r_check_vowel_harmony(struct SN_env * z) { /* backwardmode */ - { int m_test1 = z->l - z->c; /* test, line 112 */ - if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) return 0; /* goto */ /* grouping vowel, line 114 */ - { int m2 = z->l - z->c; (void)m2; /* or, line 116 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'a') goto lab1; /* literal, line 116 */ + { int m_test1 = z->l - z->c; /* test, line 110 */ + if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) return 0; /* goto */ /* grouping vowel, line 112 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 114 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'a') goto lab1; /* literal, line 114 */ z->c--; - if (out_grouping_b_U(z, g_vowel1, 97, 305, 1) < 0) goto lab1; /* goto */ /* grouping vowel1, line 116 */ + if (out_grouping_b_U(z, g_vowel1, 97, 305, 1) < 0) goto lab1; /* goto */ /* grouping vowel1, line 114 */ goto lab0; lab1: z->c = z->l - m2; - if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab2; /* literal, line 117 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab2; /* literal, line 115 */ z->c--; - if (out_grouping_b_U(z, g_vowel2, 101, 252, 1) < 0) goto lab2; /* goto */ /* grouping vowel2, line 117 */ + if (out_grouping_b_U(z, g_vowel2, 101, 252, 1) < 0) goto lab2; /* goto */ /* grouping vowel2, line 115 */ goto lab0; lab2: z->c = z->l - m2; - if (!(eq_s_b(z, 2, s_0))) goto lab3; /* literal, line 118 */ - if (out_grouping_b_U(z, g_vowel3, 97, 305, 1) < 0) goto lab3; /* goto */ /* grouping vowel3, line 118 */ + if (!(eq_s_b(z, 2, s_0))) goto lab3; /* literal, line 116 */ + if (out_grouping_b_U(z, g_vowel3, 97, 305, 1) < 0) goto lab3; /* goto */ /* grouping vowel3, line 116 */ goto lab0; lab3: z->c = z->l - m2; - if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab4; /* literal, line 119 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab4; /* literal, line 117 */ z->c--; - if (out_grouping_b_U(z, g_vowel4, 101, 105, 1) < 0) goto lab4; /* goto */ /* grouping vowel4, line 119 */ + if (out_grouping_b_U(z, g_vowel4, 101, 105, 1) < 0) goto lab4; /* goto */ /* grouping vowel4, line 117 */ goto lab0; lab4: z->c = z->l - m2; - if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab5; /* literal, line 120 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab5; /* literal, line 118 */ z->c--; - if (out_grouping_b_U(z, g_vowel5, 111, 117, 1) < 0) goto lab5; /* goto */ /* grouping vowel5, line 120 */ + if (out_grouping_b_U(z, g_vowel5, 111, 117, 1) < 0) goto lab5; /* goto */ /* grouping vowel5, line 118 */ goto lab0; lab5: z->c = z->l - m2; - if (!(eq_s_b(z, 2, s_1))) goto lab6; /* literal, line 121 */ - if (out_grouping_b_U(z, g_vowel6, 246, 252, 1) < 0) goto lab6; /* goto */ /* grouping vowel6, line 121 */ + if (!(eq_s_b(z, 2, s_1))) goto lab6; /* literal, line 119 */ + if (out_grouping_b_U(z, g_vowel6, 246, 252, 1) < 0) goto lab6; /* goto */ /* grouping vowel6, line 119 */ goto lab0; lab6: z->c = z->l - m2; - if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab7; /* literal, line 122 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab7; /* literal, line 120 */ z->c--; - if (out_grouping_b_U(z, g_vowel5, 111, 117, 1) < 0) goto lab7; /* goto */ /* grouping vowel5, line 122 */ + if (out_grouping_b_U(z, g_vowel5, 111, 117, 1) < 0) goto lab7; /* goto */ /* grouping vowel5, line 120 */ goto lab0; lab7: z->c = z->l - m2; - if (!(eq_s_b(z, 2, s_2))) return 0; /* literal, line 123 */ - if (out_grouping_b_U(z, g_vowel6, 246, 252, 1) < 0) return 0; /* goto */ /* grouping vowel6, line 123 */ + if (!(eq_s_b(z, 2, s_2))) return 0; /* literal, line 121 */ + if (out_grouping_b_U(z, g_vowel6, 246, 252, 1) < 0) return 0; /* goto */ /* grouping vowel6, line 121 */ } lab0: z->c = z->l - m_test1; @@ -511,19 +510,19 @@ static int r_check_vowel_harmony(struct SN_env * z) { /* backwardmode */ } static int r_mark_suffix_with_optional_n_consonant(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* or, line 134 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'n') goto lab1; /* literal, line 133 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 132 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'n') goto lab1; /* literal, line 131 */ z->c--; - { int m_test2 = z->l - z->c; /* test, line 133 */ - if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* grouping vowel, line 133 */ + { int m_test2 = z->l - z->c; /* test, line 131 */ + if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* grouping vowel, line 131 */ z->c = z->l - m_test2; } goto lab0; lab1: z->c = z->l - m1; - { int m3 = z->l - z->c; (void)m3; /* not, line 135 */ - { int m_test4 = z->l - z->c; /* test, line 135 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'n') goto lab2; /* literal, line 135 */ + { int m3 = z->l - z->c; (void)m3; /* not, line 133 */ + { int m_test4 = z->l - z->c; /* test, line 133 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'n') goto lab2; /* literal, line 133 */ z->c--; z->c = z->l - m_test4; } @@ -531,12 +530,12 @@ static int r_mark_suffix_with_optional_n_consonant(struct SN_env * z) { /* backw lab2: z->c = z->l - m3; } - { int m_test5 = z->l - z->c; /* test, line 135 */ + { int m_test5 = z->l - z->c; /* test, line 133 */ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) return 0; - z->c = ret; /* next, line 135 */ + z->c = ret; /* next, line 133 */ } - if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* grouping vowel, line 135 */ + if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* grouping vowel, line 133 */ z->c = z->l - m_test5; } } @@ -545,19 +544,19 @@ static int r_mark_suffix_with_optional_n_consonant(struct SN_env * z) { /* backw } static int r_mark_suffix_with_optional_s_consonant(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* or, line 145 */ - if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab1; /* literal, line 144 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 143 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab1; /* literal, line 142 */ z->c--; - { int m_test2 = z->l - z->c; /* test, line 144 */ - if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* grouping vowel, line 144 */ + { int m_test2 = z->l - z->c; /* test, line 142 */ + if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* grouping vowel, line 142 */ z->c = z->l - m_test2; } goto lab0; lab1: z->c = z->l - m1; - { int m3 = z->l - z->c; (void)m3; /* not, line 146 */ - { int m_test4 = z->l - z->c; /* test, line 146 */ - if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab2; /* literal, line 146 */ + { int m3 = z->l - z->c; (void)m3; /* not, line 144 */ + { int m_test4 = z->l - z->c; /* test, line 144 */ + if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab2; /* literal, line 144 */ z->c--; z->c = z->l - m_test4; } @@ -565,12 +564,12 @@ static int r_mark_suffix_with_optional_s_consonant(struct SN_env * z) { /* backw lab2: z->c = z->l - m3; } - { int m_test5 = z->l - z->c; /* test, line 146 */ + { int m_test5 = z->l - z->c; /* test, line 144 */ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) return 0; - z->c = ret; /* next, line 146 */ + z->c = ret; /* next, line 144 */ } - if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* grouping vowel, line 146 */ + if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* grouping vowel, line 144 */ z->c = z->l - m_test5; } } @@ -579,19 +578,19 @@ static int r_mark_suffix_with_optional_s_consonant(struct SN_env * z) { /* backw } static int r_mark_suffix_with_optional_y_consonant(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* or, line 155 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'y') goto lab1; /* literal, line 154 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 153 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'y') goto lab1; /* literal, line 152 */ z->c--; - { int m_test2 = z->l - z->c; /* test, line 154 */ - if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* grouping vowel, line 154 */ + { int m_test2 = z->l - z->c; /* test, line 152 */ + if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* grouping vowel, line 152 */ z->c = z->l - m_test2; } goto lab0; lab1: z->c = z->l - m1; - { int m3 = z->l - z->c; (void)m3; /* not, line 156 */ - { int m_test4 = z->l - z->c; /* test, line 156 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'y') goto lab2; /* literal, line 156 */ + { int m3 = z->l - z->c; (void)m3; /* not, line 154 */ + { int m_test4 = z->l - z->c; /* test, line 154 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'y') goto lab2; /* literal, line 154 */ z->c--; z->c = z->l - m_test4; } @@ -599,12 +598,12 @@ static int r_mark_suffix_with_optional_y_consonant(struct SN_env * z) { /* backw lab2: z->c = z->l - m3; } - { int m_test5 = z->l - z->c; /* test, line 156 */ + { int m_test5 = z->l - z->c; /* test, line 154 */ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) return 0; - z->c = ret; /* next, line 156 */ + z->c = ret; /* next, line 154 */ } - if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* grouping vowel, line 156 */ + if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* grouping vowel, line 154 */ z->c = z->l - m_test5; } } @@ -613,30 +612,30 @@ static int r_mark_suffix_with_optional_y_consonant(struct SN_env * z) { /* backw } static int r_mark_suffix_with_optional_U_vowel(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* or, line 161 */ - if (in_grouping_b_U(z, g_U, 105, 305, 0)) goto lab1; /* grouping U, line 160 */ - { int m_test2 = z->l - z->c; /* test, line 160 */ - if (out_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* non vowel, line 160 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 159 */ + if (in_grouping_b_U(z, g_U, 105, 305, 0)) goto lab1; /* grouping U, line 158 */ + { int m_test2 = z->l - z->c; /* test, line 158 */ + if (out_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1; /* non vowel, line 158 */ z->c = z->l - m_test2; } goto lab0; lab1: z->c = z->l - m1; - { int m3 = z->l - z->c; (void)m3; /* not, line 162 */ - { int m_test4 = z->l - z->c; /* test, line 162 */ - if (in_grouping_b_U(z, g_U, 105, 305, 0)) goto lab2; /* grouping U, line 162 */ + { int m3 = z->l - z->c; (void)m3; /* not, line 160 */ + { int m_test4 = z->l - z->c; /* test, line 160 */ + if (in_grouping_b_U(z, g_U, 105, 305, 0)) goto lab2; /* grouping U, line 160 */ z->c = z->l - m_test4; } return 0; lab2: z->c = z->l - m3; } - { int m_test5 = z->l - z->c; /* test, line 162 */ + { int m_test5 = z->l - z->c; /* test, line 160 */ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1); if (ret < 0) return 0; - z->c = ret; /* next, line 162 */ + z->c = ret; /* next, line 160 */ } - if (out_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* non vowel, line 162 */ + if (out_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0; /* non vowel, line 160 */ z->c = z->l - m_test5; } } @@ -645,287 +644,287 @@ static int r_mark_suffix_with_optional_U_vowel(struct SN_env * z) { /* backwardm } static int r_mark_possessives(struct SN_env * z) { /* backwardmode */ - if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((67133440 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 167 */ + if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((67133440 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 165 */ if (!(find_among_b(z, a_0, 10))) return 0; - { int ret = r_mark_suffix_with_optional_U_vowel(z); /* call mark_suffix_with_optional_U_vowel, line 169 */ + { int ret = r_mark_suffix_with_optional_U_vowel(z); /* call mark_suffix_with_optional_U_vowel, line 167 */ if (ret <= 0) return ret; } return 1; } static int r_mark_sU(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 173 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 171 */ if (ret <= 0) return ret; } - if (in_grouping_b_U(z, g_U, 105, 305, 0)) return 0; /* grouping U, line 174 */ - { int ret = r_mark_suffix_with_optional_s_consonant(z); /* call mark_suffix_with_optional_s_consonant, line 175 */ + if (in_grouping_b_U(z, g_U, 105, 305, 0)) return 0; /* grouping U, line 172 */ + { int ret = r_mark_suffix_with_optional_s_consonant(z); /* call mark_suffix_with_optional_s_consonant, line 173 */ if (ret <= 0) return ret; } return 1; } static int r_mark_lArI(struct SN_env * z) { /* backwardmode */ - if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 177)) return 0; /* among, line 179 */ + if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 177)) return 0; /* among, line 177 */ if (!(find_among_b(z, a_1, 2))) return 0; return 1; } static int r_mark_yU(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 183 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 181 */ if (ret <= 0) return ret; } - if (in_grouping_b_U(z, g_U, 105, 305, 0)) return 0; /* grouping U, line 184 */ - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 185 */ + if (in_grouping_b_U(z, g_U, 105, 305, 0)) return 0; /* grouping U, line 182 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 183 */ if (ret <= 0) return ret; } return 1; } static int r_mark_nU(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 189 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 187 */ if (ret <= 0) return ret; } - if (!(find_among_b(z, a_2, 4))) return 0; /* among, line 190 */ + if (!(find_among_b(z, a_2, 4))) return 0; /* among, line 188 */ return 1; } static int r_mark_nUn(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 194 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 192 */ if (ret <= 0) return ret; } - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 195 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 193 */ if (!(find_among_b(z, a_3, 4))) return 0; - { int ret = r_mark_suffix_with_optional_n_consonant(z); /* call mark_suffix_with_optional_n_consonant, line 196 */ + { int ret = r_mark_suffix_with_optional_n_consonant(z); /* call mark_suffix_with_optional_n_consonant, line 194 */ if (ret <= 0) return ret; } return 1; } static int r_mark_yA(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 200 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 198 */ if (ret <= 0) return ret; } - if (z->c <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 201 */ + if (z->c <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 199 */ if (!(find_among_b(z, a_4, 2))) return 0; - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 202 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 200 */ if (ret <= 0) return ret; } return 1; } static int r_mark_nA(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 206 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 204 */ if (ret <= 0) return ret; } - if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 207 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 205 */ if (!(find_among_b(z, a_5, 2))) return 0; return 1; } static int r_mark_DA(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 211 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 209 */ if (ret <= 0) return ret; } - if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 212 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 210 */ if (!(find_among_b(z, a_6, 4))) return 0; return 1; } static int r_mark_ndA(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 216 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 214 */ if (ret <= 0) return ret; } - if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 217 */ + if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 215 */ if (!(find_among_b(z, a_7, 2))) return 0; return 1; } static int r_mark_DAn(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 221 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 219 */ if (ret <= 0) return ret; } - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 222 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 220 */ if (!(find_among_b(z, a_8, 4))) return 0; return 1; } static int r_mark_ndAn(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 226 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 224 */ if (ret <= 0) return ret; } - if (z->c - 3 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 227 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 225 */ if (!(find_among_b(z, a_9, 2))) return 0; return 1; } static int r_mark_ylA(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 231 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 229 */ if (ret <= 0) return ret; } - if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 232 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 230 */ if (!(find_among_b(z, a_10, 2))) return 0; - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 233 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 231 */ if (ret <= 0) return ret; } return 1; } static int r_mark_ki(struct SN_env * z) { /* backwardmode */ - if (!(eq_s_b(z, 2, s_3))) return 0; /* literal, line 237 */ + if (!(eq_s_b(z, 2, s_3))) return 0; /* literal, line 235 */ return 1; } static int r_mark_ncA(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 241 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 239 */ if (ret <= 0) return ret; } - if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 242 */ + if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 240 */ if (!(find_among_b(z, a_11, 2))) return 0; - { int ret = r_mark_suffix_with_optional_n_consonant(z); /* call mark_suffix_with_optional_n_consonant, line 243 */ + { int ret = r_mark_suffix_with_optional_n_consonant(z); /* call mark_suffix_with_optional_n_consonant, line 241 */ if (ret <= 0) return ret; } return 1; } static int r_mark_yUm(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 247 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 245 */ if (ret <= 0) return ret; } - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 109) return 0; /* among, line 248 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 109) return 0; /* among, line 246 */ if (!(find_among_b(z, a_12, 4))) return 0; - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 249 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 247 */ if (ret <= 0) return ret; } return 1; } static int r_mark_sUn(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 253 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 251 */ if (ret <= 0) return ret; } - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 254 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 110) return 0; /* among, line 252 */ if (!(find_among_b(z, a_13, 4))) return 0; return 1; } static int r_mark_yUz(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 258 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 256 */ if (ret <= 0) return ret; } - if (z->c - 1 <= z->lb || z->p[z->c - 1] != 122) return 0; /* among, line 259 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] != 122) return 0; /* among, line 257 */ if (!(find_among_b(z, a_14, 4))) return 0; - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 260 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 258 */ if (ret <= 0) return ret; } return 1; } static int r_mark_sUnUz(struct SN_env * z) { /* backwardmode */ - if (z->c - 4 <= z->lb || z->p[z->c - 1] != 122) return 0; /* among, line 264 */ + if (z->c - 4 <= z->lb || z->p[z->c - 1] != 122) return 0; /* among, line 262 */ if (!(find_among_b(z, a_15, 4))) return 0; return 1; } static int r_mark_lAr(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 268 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 266 */ if (ret <= 0) return ret; } - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 114) return 0; /* among, line 269 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 114) return 0; /* among, line 267 */ if (!(find_among_b(z, a_16, 2))) return 0; return 1; } static int r_mark_nUz(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 273 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 271 */ if (ret <= 0) return ret; } - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 122) return 0; /* among, line 274 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 122) return 0; /* among, line 272 */ if (!(find_among_b(z, a_17, 4))) return 0; return 1; } static int r_mark_DUr(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 278 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 276 */ if (ret <= 0) return ret; } - if (z->c - 2 <= z->lb || z->p[z->c - 1] != 114) return 0; /* among, line 279 */ + if (z->c - 2 <= z->lb || z->p[z->c - 1] != 114) return 0; /* among, line 277 */ if (!(find_among_b(z, a_18, 8))) return 0; return 1; } static int r_mark_cAsInA(struct SN_env * z) { /* backwardmode */ - if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 283 */ + if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0; /* among, line 281 */ if (!(find_among_b(z, a_19, 2))) return 0; return 1; } static int r_mark_yDU(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 287 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 285 */ if (ret <= 0) return ret; } - if (!(find_among_b(z, a_20, 32))) return 0; /* among, line 288 */ - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 292 */ + if (!(find_among_b(z, a_20, 32))) return 0; /* among, line 286 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 290 */ if (ret <= 0) return ret; } return 1; } static int r_mark_ysA(struct SN_env * z) { /* backwardmode */ - if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((26658 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 297 */ + if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((26658 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 295 */ if (!(find_among_b(z, a_21, 8))) return 0; - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 298 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 296 */ if (ret <= 0) return ret; } return 1; } static int r_mark_ymUs_(struct SN_env * z) { /* backwardmode */ - { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 302 */ + { int ret = r_check_vowel_harmony(z); /* call check_vowel_harmony, line 300 */ if (ret <= 0) return ret; } - if (z->c - 3 <= z->lb || z->p[z->c - 1] != 159) return 0; /* among, line 303 */ + if (z->c - 3 <= z->lb || z->p[z->c - 1] != 159) return 0; /* among, line 301 */ if (!(find_among_b(z, a_22, 4))) return 0; - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 304 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 302 */ if (ret <= 0) return ret; } return 1; } static int r_mark_yken(struct SN_env * z) { /* backwardmode */ - if (!(eq_s_b(z, 3, s_4))) return 0; /* literal, line 308 */ - { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 308 */ + if (!(eq_s_b(z, 3, s_4))) return 0; /* literal, line 306 */ + { int ret = r_mark_suffix_with_optional_y_consonant(z); /* call mark_suffix_with_optional_y_consonant, line 306 */ if (ret <= 0) return ret; } return 1; } static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ - z->ket = z->c; /* [, line 312 */ - z->B[0] = 1; /* set continue_stemming_noun_suffixes, line 313 */ - { int m1 = z->l - z->c; (void)m1; /* or, line 315 */ - { int m2 = z->l - z->c; (void)m2; /* or, line 314 */ - { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 314 */ + z->ket = z->c; /* [, line 310 */ + z->B[0] = 1; /* set continue_stemming_noun_suffixes, line 311 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 313 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 312 */ + { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 312 */ if (ret == 0) goto lab3; if (ret < 0) return ret; } goto lab2; lab3: z->c = z->l - m2; - { int ret = r_mark_yDU(z); /* call mark_yDU, line 314 */ + { int ret = r_mark_yDU(z); /* call mark_yDU, line 312 */ if (ret == 0) goto lab4; if (ret < 0) return ret; } goto lab2; lab4: z->c = z->l - m2; - { int ret = r_mark_ysA(z); /* call mark_ysA, line 314 */ + { int ret = r_mark_ysA(z); /* call mark_ysA, line 312 */ if (ret == 0) goto lab5; if (ret < 0) return ret; } goto lab2; lab5: z->c = z->l - m2; - { int ret = r_mark_yken(z); /* call mark_yken, line 314 */ + { int ret = r_mark_yken(z); /* call mark_yken, line 312 */ if (ret == 0) goto lab1; if (ret < 0) return ret; } @@ -934,40 +933,40 @@ static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab1: z->c = z->l - m1; - { int ret = r_mark_cAsInA(z); /* call mark_cAsInA, line 316 */ + { int ret = r_mark_cAsInA(z); /* call mark_cAsInA, line 314 */ if (ret == 0) goto lab6; if (ret < 0) return ret; } - { int m3 = z->l - z->c; (void)m3; /* or, line 316 */ - { int ret = r_mark_sUnUz(z); /* call mark_sUnUz, line 316 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 314 */ + { int ret = r_mark_sUnUz(z); /* call mark_sUnUz, line 314 */ if (ret == 0) goto lab8; if (ret < 0) return ret; } goto lab7; lab8: z->c = z->l - m3; - { int ret = r_mark_lAr(z); /* call mark_lAr, line 316 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 314 */ if (ret == 0) goto lab9; if (ret < 0) return ret; } goto lab7; lab9: z->c = z->l - m3; - { int ret = r_mark_yUm(z); /* call mark_yUm, line 316 */ + { int ret = r_mark_yUm(z); /* call mark_yUm, line 314 */ if (ret == 0) goto lab10; if (ret < 0) return ret; } goto lab7; lab10: z->c = z->l - m3; - { int ret = r_mark_sUn(z); /* call mark_sUn, line 316 */ + { int ret = r_mark_sUn(z); /* call mark_sUn, line 314 */ if (ret == 0) goto lab11; if (ret < 0) return ret; } goto lab7; lab11: z->c = z->l - m3; - { int ret = r_mark_yUz(z); /* call mark_yUz, line 316 */ + { int ret = r_mark_yUz(z); /* call mark_yUz, line 314 */ if (ret == 0) goto lab12; if (ret < 0) return ret; } @@ -976,46 +975,46 @@ static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ z->c = z->l - m3; } lab7: - { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 316 */ + { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 314 */ if (ret == 0) goto lab6; if (ret < 0) return ret; } goto lab0; lab6: z->c = z->l - m1; - { int ret = r_mark_lAr(z); /* call mark_lAr, line 319 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 317 */ if (ret == 0) goto lab13; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 319 */ - { int ret = slice_del(z); /* delete, line 319 */ + z->bra = z->c; /* ], line 317 */ + { int ret = slice_del(z); /* delete, line 317 */ if (ret < 0) return ret; } - { int m4 = z->l - z->c; (void)m4; /* try, line 319 */ - z->ket = z->c; /* [, line 319 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 319 */ - { int ret = r_mark_DUr(z); /* call mark_DUr, line 319 */ + { int m4 = z->l - z->c; (void)m4; /* try, line 317 */ + z->ket = z->c; /* [, line 317 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 317 */ + { int ret = r_mark_DUr(z); /* call mark_DUr, line 317 */ if (ret == 0) goto lab16; if (ret < 0) return ret; } goto lab15; lab16: z->c = z->l - m5; - { int ret = r_mark_yDU(z); /* call mark_yDU, line 319 */ + { int ret = r_mark_yDU(z); /* call mark_yDU, line 317 */ if (ret == 0) goto lab17; if (ret < 0) return ret; } goto lab15; lab17: z->c = z->l - m5; - { int ret = r_mark_ysA(z); /* call mark_ysA, line 319 */ + { int ret = r_mark_ysA(z); /* call mark_ysA, line 317 */ if (ret == 0) goto lab18; if (ret < 0) return ret; } goto lab15; lab18: z->c = z->l - m5; - { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 319 */ + { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 317 */ if (ret == 0) { z->c = z->l - m4; goto lab14; } if (ret < 0) return ret; } @@ -1024,23 +1023,23 @@ static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ lab14: ; } - z->B[0] = 0; /* unset continue_stemming_noun_suffixes, line 320 */ + z->B[0] = 0; /* unset continue_stemming_noun_suffixes, line 318 */ goto lab0; lab13: z->c = z->l - m1; - { int ret = r_mark_nUz(z); /* call mark_nUz, line 323 */ + { int ret = r_mark_nUz(z); /* call mark_nUz, line 321 */ if (ret == 0) goto lab19; if (ret < 0) return ret; } - { int m6 = z->l - z->c; (void)m6; /* or, line 323 */ - { int ret = r_mark_yDU(z); /* call mark_yDU, line 323 */ + { int m6 = z->l - z->c; (void)m6; /* or, line 321 */ + { int ret = r_mark_yDU(z); /* call mark_yDU, line 321 */ if (ret == 0) goto lab21; if (ret < 0) return ret; } goto lab20; lab21: z->c = z->l - m6; - { int ret = r_mark_ysA(z); /* call mark_ysA, line 323 */ + { int ret = r_mark_ysA(z); /* call mark_ysA, line 321 */ if (ret == 0) goto lab19; if (ret < 0) return ret; } @@ -1049,41 +1048,41 @@ static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab19: z->c = z->l - m1; - { int m7 = z->l - z->c; (void)m7; /* or, line 325 */ - { int ret = r_mark_sUnUz(z); /* call mark_sUnUz, line 325 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 323 */ + { int ret = r_mark_sUnUz(z); /* call mark_sUnUz, line 323 */ if (ret == 0) goto lab24; if (ret < 0) return ret; } goto lab23; lab24: z->c = z->l - m7; - { int ret = r_mark_yUz(z); /* call mark_yUz, line 325 */ + { int ret = r_mark_yUz(z); /* call mark_yUz, line 323 */ if (ret == 0) goto lab25; if (ret < 0) return ret; } goto lab23; lab25: z->c = z->l - m7; - { int ret = r_mark_sUn(z); /* call mark_sUn, line 325 */ + { int ret = r_mark_sUn(z); /* call mark_sUn, line 323 */ if (ret == 0) goto lab26; if (ret < 0) return ret; } goto lab23; lab26: z->c = z->l - m7; - { int ret = r_mark_yUm(z); /* call mark_yUm, line 325 */ + { int ret = r_mark_yUm(z); /* call mark_yUm, line 323 */ if (ret == 0) goto lab22; if (ret < 0) return ret; } } lab23: - z->bra = z->c; /* ], line 325 */ - { int ret = slice_del(z); /* delete, line 325 */ + z->bra = z->c; /* ], line 323 */ + { int ret = slice_del(z); /* delete, line 323 */ if (ret < 0) return ret; } - { int m8 = z->l - z->c; (void)m8; /* try, line 325 */ - z->ket = z->c; /* [, line 325 */ - { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 325 */ + { int m8 = z->l - z->c; (void)m8; /* try, line 323 */ + z->ket = z->c; /* [, line 323 */ + { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 323 */ if (ret == 0) { z->c = z->l - m8; goto lab27; } if (ret < 0) return ret; } @@ -1093,45 +1092,45 @@ static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab22: z->c = z->l - m1; - { int ret = r_mark_DUr(z); /* call mark_DUr, line 327 */ + { int ret = r_mark_DUr(z); /* call mark_DUr, line 325 */ if (ret <= 0) return ret; } - z->bra = z->c; /* ], line 327 */ - { int ret = slice_del(z); /* delete, line 327 */ + z->bra = z->c; /* ], line 325 */ + { int ret = slice_del(z); /* delete, line 325 */ if (ret < 0) return ret; } - { int m9 = z->l - z->c; (void)m9; /* try, line 327 */ - z->ket = z->c; /* [, line 327 */ - { int m10 = z->l - z->c; (void)m10; /* or, line 327 */ - { int ret = r_mark_sUnUz(z); /* call mark_sUnUz, line 327 */ + { int m9 = z->l - z->c; (void)m9; /* try, line 325 */ + z->ket = z->c; /* [, line 325 */ + { int m10 = z->l - z->c; (void)m10; /* or, line 325 */ + { int ret = r_mark_sUnUz(z); /* call mark_sUnUz, line 325 */ if (ret == 0) goto lab30; if (ret < 0) return ret; } goto lab29; lab30: z->c = z->l - m10; - { int ret = r_mark_lAr(z); /* call mark_lAr, line 327 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 325 */ if (ret == 0) goto lab31; if (ret < 0) return ret; } goto lab29; lab31: z->c = z->l - m10; - { int ret = r_mark_yUm(z); /* call mark_yUm, line 327 */ + { int ret = r_mark_yUm(z); /* call mark_yUm, line 325 */ if (ret == 0) goto lab32; if (ret < 0) return ret; } goto lab29; lab32: z->c = z->l - m10; - { int ret = r_mark_sUn(z); /* call mark_sUn, line 327 */ + { int ret = r_mark_sUn(z); /* call mark_sUn, line 325 */ if (ret == 0) goto lab33; if (ret < 0) return ret; } goto lab29; lab33: z->c = z->l - m10; - { int ret = r_mark_yUz(z); /* call mark_yUz, line 327 */ + { int ret = r_mark_yUz(z); /* call mark_yUz, line 325 */ if (ret == 0) goto lab34; if (ret < 0) return ret; } @@ -1140,7 +1139,7 @@ static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ z->c = z->l - m10; } lab29: - { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 327 */ + { int ret = r_mark_ymUs_(z); /* call mark_ymUs_, line 325 */ if (ret == 0) { z->c = z->l - m9; goto lab28; } if (ret < 0) return ret; } @@ -1149,40 +1148,40 @@ static int r_stem_nominal_verb_suffixes(struct SN_env * z) { /* backwardmode */ } } lab0: - z->bra = z->c; /* ], line 328 */ - { int ret = slice_del(z); /* delete, line 328 */ + z->bra = z->c; /* ], line 326 */ + { int ret = slice_del(z); /* delete, line 326 */ if (ret < 0) return ret; } return 1; } static int r_stem_suffix_chain_before_ki(struct SN_env * z) { /* backwardmode */ - z->ket = z->c; /* [, line 333 */ - { int ret = r_mark_ki(z); /* call mark_ki, line 334 */ + z->ket = z->c; /* [, line 331 */ + { int ret = r_mark_ki(z); /* call mark_ki, line 332 */ if (ret <= 0) return ret; } - { int m1 = z->l - z->c; (void)m1; /* or, line 342 */ - { int ret = r_mark_DA(z); /* call mark_DA, line 336 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 340 */ + { int ret = r_mark_DA(z); /* call mark_DA, line 334 */ if (ret == 0) goto lab1; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 336 */ - { int ret = slice_del(z); /* delete, line 336 */ + z->bra = z->c; /* ], line 334 */ + { int ret = slice_del(z); /* delete, line 334 */ if (ret < 0) return ret; } - { int m2 = z->l - z->c; (void)m2; /* try, line 336 */ - z->ket = z->c; /* [, line 336 */ - { int m3 = z->l - z->c; (void)m3; /* or, line 338 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 337 */ + { int m2 = z->l - z->c; (void)m2; /* try, line 334 */ + z->ket = z->c; /* [, line 334 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 336 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 335 */ if (ret == 0) goto lab4; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 337 */ - { int ret = slice_del(z); /* delete, line 337 */ + z->bra = z->c; /* ], line 335 */ + { int ret = slice_del(z); /* delete, line 335 */ if (ret < 0) return ret; } - { int m4 = z->l - z->c; (void)m4; /* try, line 337 */ - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 337 */ + { int m4 = z->l - z->c; (void)m4; /* try, line 335 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 335 */ if (ret == 0) { z->c = z->l - m4; goto lab5; } if (ret < 0) return ret; } @@ -1192,25 +1191,25 @@ static int r_stem_suffix_chain_before_ki(struct SN_env * z) { /* backwardmode */ goto lab3; lab4: z->c = z->l - m3; - { int ret = r_mark_possessives(z); /* call mark_possessives, line 339 */ + { int ret = r_mark_possessives(z); /* call mark_possessives, line 337 */ if (ret == 0) { z->c = z->l - m2; goto lab2; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 339 */ - { int ret = slice_del(z); /* delete, line 339 */ + z->bra = z->c; /* ], line 337 */ + { int ret = slice_del(z); /* delete, line 337 */ if (ret < 0) return ret; } - { int m5 = z->l - z->c; (void)m5; /* try, line 339 */ - z->ket = z->c; /* [, line 339 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 339 */ + { int m5 = z->l - z->c; (void)m5; /* try, line 337 */ + z->ket = z->c; /* [, line 337 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 337 */ if (ret == 0) { z->c = z->l - m5; goto lab6; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 339 */ - { int ret = slice_del(z); /* delete, line 339 */ + z->bra = z->c; /* ], line 337 */ + { int ret = slice_del(z); /* delete, line 337 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 339 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 337 */ if (ret == 0) { z->c = z->l - m5; goto lab6; } if (ret < 0) return ret; } @@ -1225,58 +1224,58 @@ static int r_stem_suffix_chain_before_ki(struct SN_env * z) { /* backwardmode */ goto lab0; lab1: z->c = z->l - m1; - { int ret = r_mark_nUn(z); /* call mark_nUn, line 343 */ + { int ret = r_mark_nUn(z); /* call mark_nUn, line 341 */ if (ret == 0) goto lab7; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 343 */ - { int ret = slice_del(z); /* delete, line 343 */ + z->bra = z->c; /* ], line 341 */ + { int ret = slice_del(z); /* delete, line 341 */ if (ret < 0) return ret; } - { int m6 = z->l - z->c; (void)m6; /* try, line 343 */ - z->ket = z->c; /* [, line 343 */ - { int m7 = z->l - z->c; (void)m7; /* or, line 345 */ - { int ret = r_mark_lArI(z); /* call mark_lArI, line 344 */ + { int m6 = z->l - z->c; (void)m6; /* try, line 341 */ + z->ket = z->c; /* [, line 341 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 343 */ + { int ret = r_mark_lArI(z); /* call mark_lArI, line 342 */ if (ret == 0) goto lab10; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 344 */ - { int ret = slice_del(z); /* delete, line 344 */ + z->bra = z->c; /* ], line 342 */ + { int ret = slice_del(z); /* delete, line 342 */ if (ret < 0) return ret; } goto lab9; lab10: z->c = z->l - m7; - z->ket = z->c; /* [, line 346 */ - { int m8 = z->l - z->c; (void)m8; /* or, line 346 */ - { int ret = r_mark_possessives(z); /* call mark_possessives, line 346 */ + z->ket = z->c; /* [, line 344 */ + { int m8 = z->l - z->c; (void)m8; /* or, line 344 */ + { int ret = r_mark_possessives(z); /* call mark_possessives, line 344 */ if (ret == 0) goto lab13; if (ret < 0) return ret; } goto lab12; lab13: z->c = z->l - m8; - { int ret = r_mark_sU(z); /* call mark_sU, line 346 */ + { int ret = r_mark_sU(z); /* call mark_sU, line 344 */ if (ret == 0) goto lab11; if (ret < 0) return ret; } } lab12: - z->bra = z->c; /* ], line 346 */ - { int ret = slice_del(z); /* delete, line 346 */ + z->bra = z->c; /* ], line 344 */ + { int ret = slice_del(z); /* delete, line 344 */ if (ret < 0) return ret; } - { int m9 = z->l - z->c; (void)m9; /* try, line 346 */ - z->ket = z->c; /* [, line 346 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 346 */ + { int m9 = z->l - z->c; (void)m9; /* try, line 344 */ + z->ket = z->c; /* [, line 344 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 344 */ if (ret == 0) { z->c = z->l - m9; goto lab14; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 346 */ - { int ret = slice_del(z); /* delete, line 346 */ + z->bra = z->c; /* ], line 344 */ + { int ret = slice_del(z); /* delete, line 344 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 346 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 344 */ if (ret == 0) { z->c = z->l - m9; goto lab14; } if (ret < 0) return ret; } @@ -1286,7 +1285,7 @@ static int r_stem_suffix_chain_before_ki(struct SN_env * z) { /* backwardmode */ goto lab9; lab11: z->c = z->l - m7; - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 348 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 346 */ if (ret == 0) { z->c = z->l - m6; goto lab8; } if (ret < 0) return ret; } @@ -1298,40 +1297,40 @@ static int r_stem_suffix_chain_before_ki(struct SN_env * z) { /* backwardmode */ goto lab0; lab7: z->c = z->l - m1; - { int ret = r_mark_ndA(z); /* call mark_ndA, line 351 */ + { int ret = r_mark_ndA(z); /* call mark_ndA, line 349 */ if (ret <= 0) return ret; } - { int m10 = z->l - z->c; (void)m10; /* or, line 353 */ - { int ret = r_mark_lArI(z); /* call mark_lArI, line 352 */ + { int m10 = z->l - z->c; (void)m10; /* or, line 351 */ + { int ret = r_mark_lArI(z); /* call mark_lArI, line 350 */ if (ret == 0) goto lab16; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 352 */ - { int ret = slice_del(z); /* delete, line 352 */ + z->bra = z->c; /* ], line 350 */ + { int ret = slice_del(z); /* delete, line 350 */ if (ret < 0) return ret; } goto lab15; lab16: z->c = z->l - m10; - { int ret = r_mark_sU(z); /* call mark_sU, line 354 */ + { int ret = r_mark_sU(z); /* call mark_sU, line 352 */ if (ret == 0) goto lab17; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 354 */ - { int ret = slice_del(z); /* delete, line 354 */ + z->bra = z->c; /* ], line 352 */ + { int ret = slice_del(z); /* delete, line 352 */ if (ret < 0) return ret; } - { int m11 = z->l - z->c; (void)m11; /* try, line 354 */ - z->ket = z->c; /* [, line 354 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 354 */ + { int m11 = z->l - z->c; (void)m11; /* try, line 352 */ + z->ket = z->c; /* [, line 352 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 352 */ if (ret == 0) { z->c = z->l - m11; goto lab18; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 354 */ - { int ret = slice_del(z); /* delete, line 354 */ + z->bra = z->c; /* ], line 352 */ + { int ret = slice_del(z); /* delete, line 352 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 354 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 352 */ if (ret == 0) { z->c = z->l - m11; goto lab18; } if (ret < 0) return ret; } @@ -1341,7 +1340,7 @@ static int r_stem_suffix_chain_before_ki(struct SN_env * z) { /* backwardmode */ goto lab15; lab17: z->c = z->l - m10; - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 356 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 354 */ if (ret <= 0) return ret; } } @@ -1353,18 +1352,18 @@ static int r_stem_suffix_chain_before_ki(struct SN_env * z) { /* backwardmode */ } static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ - { int m1 = z->l - z->c; (void)m1; /* or, line 363 */ - z->ket = z->c; /* [, line 362 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 362 */ + { int m1 = z->l - z->c; (void)m1; /* or, line 361 */ + z->ket = z->c; /* [, line 360 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 360 */ if (ret == 0) goto lab1; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 362 */ - { int ret = slice_del(z); /* delete, line 362 */ + z->bra = z->c; /* ], line 360 */ + { int ret = slice_del(z); /* delete, line 360 */ if (ret < 0) return ret; } - { int m2 = z->l - z->c; (void)m2; /* try, line 362 */ - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 362 */ + { int m2 = z->l - z->c; (void)m2; /* try, line 360 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 360 */ if (ret == 0) { z->c = z->l - m2; goto lab2; } if (ret < 0) return ret; } @@ -1374,59 +1373,59 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab1: z->c = z->l - m1; - z->ket = z->c; /* [, line 364 */ - { int ret = r_mark_ncA(z); /* call mark_ncA, line 364 */ + z->ket = z->c; /* [, line 362 */ + { int ret = r_mark_ncA(z); /* call mark_ncA, line 362 */ if (ret == 0) goto lab3; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 364 */ - { int ret = slice_del(z); /* delete, line 364 */ + z->bra = z->c; /* ], line 362 */ + { int ret = slice_del(z); /* delete, line 362 */ if (ret < 0) return ret; } - { int m3 = z->l - z->c; (void)m3; /* try, line 365 */ - { int m4 = z->l - z->c; (void)m4; /* or, line 367 */ - z->ket = z->c; /* [, line 366 */ - { int ret = r_mark_lArI(z); /* call mark_lArI, line 366 */ + { int m3 = z->l - z->c; (void)m3; /* try, line 363 */ + { int m4 = z->l - z->c; (void)m4; /* or, line 365 */ + z->ket = z->c; /* [, line 364 */ + { int ret = r_mark_lArI(z); /* call mark_lArI, line 364 */ if (ret == 0) goto lab6; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 366 */ - { int ret = slice_del(z); /* delete, line 366 */ + z->bra = z->c; /* ], line 364 */ + { int ret = slice_del(z); /* delete, line 364 */ if (ret < 0) return ret; } goto lab5; lab6: z->c = z->l - m4; - z->ket = z->c; /* [, line 368 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 368 */ - { int ret = r_mark_possessives(z); /* call mark_possessives, line 368 */ + z->ket = z->c; /* [, line 366 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 366 */ + { int ret = r_mark_possessives(z); /* call mark_possessives, line 366 */ if (ret == 0) goto lab9; if (ret < 0) return ret; } goto lab8; lab9: z->c = z->l - m5; - { int ret = r_mark_sU(z); /* call mark_sU, line 368 */ + { int ret = r_mark_sU(z); /* call mark_sU, line 366 */ if (ret == 0) goto lab7; if (ret < 0) return ret; } } lab8: - z->bra = z->c; /* ], line 368 */ - { int ret = slice_del(z); /* delete, line 368 */ + z->bra = z->c; /* ], line 366 */ + { int ret = slice_del(z); /* delete, line 366 */ if (ret < 0) return ret; } - { int m6 = z->l - z->c; (void)m6; /* try, line 368 */ - z->ket = z->c; /* [, line 368 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 368 */ + { int m6 = z->l - z->c; (void)m6; /* try, line 366 */ + z->ket = z->c; /* [, line 366 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 366 */ if (ret == 0) { z->c = z->l - m6; goto lab10; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 368 */ - { int ret = slice_del(z); /* delete, line 368 */ + z->bra = z->c; /* ], line 366 */ + { int ret = slice_del(z); /* delete, line 366 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 368 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 366 */ if (ret == 0) { z->c = z->l - m6; goto lab10; } if (ret < 0) return ret; } @@ -1436,16 +1435,16 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab5; lab7: z->c = z->l - m4; - z->ket = z->c; /* [, line 370 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 370 */ + z->ket = z->c; /* [, line 368 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 368 */ if (ret == 0) { z->c = z->l - m3; goto lab4; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 370 */ - { int ret = slice_del(z); /* delete, line 370 */ + z->bra = z->c; /* ], line 368 */ + { int ret = slice_del(z); /* delete, line 368 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 370 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 368 */ if (ret == 0) { z->c = z->l - m3; goto lab4; } if (ret < 0) return ret; } @@ -1457,52 +1456,52 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab3: z->c = z->l - m1; - z->ket = z->c; /* [, line 374 */ - { int m7 = z->l - z->c; (void)m7; /* or, line 374 */ - { int ret = r_mark_ndA(z); /* call mark_ndA, line 374 */ + z->ket = z->c; /* [, line 372 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 372 */ + { int ret = r_mark_ndA(z); /* call mark_ndA, line 372 */ if (ret == 0) goto lab13; if (ret < 0) return ret; } goto lab12; lab13: z->c = z->l - m7; - { int ret = r_mark_nA(z); /* call mark_nA, line 374 */ + { int ret = r_mark_nA(z); /* call mark_nA, line 372 */ if (ret == 0) goto lab11; if (ret < 0) return ret; } } lab12: - { int m8 = z->l - z->c; (void)m8; /* or, line 377 */ - { int ret = r_mark_lArI(z); /* call mark_lArI, line 376 */ + { int m8 = z->l - z->c; (void)m8; /* or, line 375 */ + { int ret = r_mark_lArI(z); /* call mark_lArI, line 374 */ if (ret == 0) goto lab15; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 376 */ - { int ret = slice_del(z); /* delete, line 376 */ + z->bra = z->c; /* ], line 374 */ + { int ret = slice_del(z); /* delete, line 374 */ if (ret < 0) return ret; } goto lab14; lab15: z->c = z->l - m8; - { int ret = r_mark_sU(z); /* call mark_sU, line 378 */ + { int ret = r_mark_sU(z); /* call mark_sU, line 376 */ if (ret == 0) goto lab16; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 378 */ - { int ret = slice_del(z); /* delete, line 378 */ + z->bra = z->c; /* ], line 376 */ + { int ret = slice_del(z); /* delete, line 376 */ if (ret < 0) return ret; } - { int m9 = z->l - z->c; (void)m9; /* try, line 378 */ - z->ket = z->c; /* [, line 378 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 378 */ + { int m9 = z->l - z->c; (void)m9; /* try, line 376 */ + z->ket = z->c; /* [, line 376 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 376 */ if (ret == 0) { z->c = z->l - m9; goto lab17; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 378 */ - { int ret = slice_del(z); /* delete, line 378 */ + z->bra = z->c; /* ], line 376 */ + { int ret = slice_del(z); /* delete, line 376 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 378 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 376 */ if (ret == 0) { z->c = z->l - m9; goto lab17; } if (ret < 0) return ret; } @@ -1512,7 +1511,7 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab14; lab16: z->c = z->l - m8; - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 380 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 378 */ if (ret == 0) goto lab11; if (ret < 0) return ret; } @@ -1521,41 +1520,41 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab11: z->c = z->l - m1; - z->ket = z->c; /* [, line 384 */ - { int m10 = z->l - z->c; (void)m10; /* or, line 384 */ - { int ret = r_mark_ndAn(z); /* call mark_ndAn, line 384 */ + z->ket = z->c; /* [, line 382 */ + { int m10 = z->l - z->c; (void)m10; /* or, line 382 */ + { int ret = r_mark_ndAn(z); /* call mark_ndAn, line 382 */ if (ret == 0) goto lab20; if (ret < 0) return ret; } goto lab19; lab20: z->c = z->l - m10; - { int ret = r_mark_nU(z); /* call mark_nU, line 384 */ + { int ret = r_mark_nU(z); /* call mark_nU, line 382 */ if (ret == 0) goto lab18; if (ret < 0) return ret; } } lab19: - { int m11 = z->l - z->c; (void)m11; /* or, line 384 */ - { int ret = r_mark_sU(z); /* call mark_sU, line 384 */ + { int m11 = z->l - z->c; (void)m11; /* or, line 382 */ + { int ret = r_mark_sU(z); /* call mark_sU, line 382 */ if (ret == 0) goto lab22; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 384 */ - { int ret = slice_del(z); /* delete, line 384 */ + z->bra = z->c; /* ], line 382 */ + { int ret = slice_del(z); /* delete, line 382 */ if (ret < 0) return ret; } - { int m12 = z->l - z->c; (void)m12; /* try, line 384 */ - z->ket = z->c; /* [, line 384 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 384 */ + { int m12 = z->l - z->c; (void)m12; /* try, line 382 */ + z->ket = z->c; /* [, line 382 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 382 */ if (ret == 0) { z->c = z->l - m12; goto lab23; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 384 */ - { int ret = slice_del(z); /* delete, line 384 */ + z->bra = z->c; /* ], line 382 */ + { int ret = slice_del(z); /* delete, line 382 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 384 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 382 */ if (ret == 0) { z->c = z->l - m12; goto lab23; } if (ret < 0) return ret; } @@ -1565,7 +1564,7 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab21; lab22: z->c = z->l - m11; - { int ret = r_mark_lArI(z); /* call mark_lArI, line 384 */ + { int ret = r_mark_lArI(z); /* call mark_lArI, line 382 */ if (ret == 0) goto lab18; if (ret < 0) return ret; } @@ -1574,37 +1573,37 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab18: z->c = z->l - m1; - z->ket = z->c; /* [, line 386 */ - { int ret = r_mark_DAn(z); /* call mark_DAn, line 386 */ + z->ket = z->c; /* [, line 384 */ + { int ret = r_mark_DAn(z); /* call mark_DAn, line 384 */ if (ret == 0) goto lab24; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 386 */ - { int ret = slice_del(z); /* delete, line 386 */ + z->bra = z->c; /* ], line 384 */ + { int ret = slice_del(z); /* delete, line 384 */ if (ret < 0) return ret; } - { int m13 = z->l - z->c; (void)m13; /* try, line 386 */ - z->ket = z->c; /* [, line 386 */ - { int m14 = z->l - z->c; (void)m14; /* or, line 389 */ - { int ret = r_mark_possessives(z); /* call mark_possessives, line 388 */ + { int m13 = z->l - z->c; (void)m13; /* try, line 384 */ + z->ket = z->c; /* [, line 384 */ + { int m14 = z->l - z->c; (void)m14; /* or, line 387 */ + { int ret = r_mark_possessives(z); /* call mark_possessives, line 386 */ if (ret == 0) goto lab27; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 388 */ - { int ret = slice_del(z); /* delete, line 388 */ + z->bra = z->c; /* ], line 386 */ + { int ret = slice_del(z); /* delete, line 386 */ if (ret < 0) return ret; } - { int m15 = z->l - z->c; (void)m15; /* try, line 388 */ - z->ket = z->c; /* [, line 388 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 388 */ + { int m15 = z->l - z->c; (void)m15; /* try, line 386 */ + z->ket = z->c; /* [, line 386 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 386 */ if (ret == 0) { z->c = z->l - m15; goto lab28; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 388 */ - { int ret = slice_del(z); /* delete, line 388 */ + z->bra = z->c; /* ], line 386 */ + { int ret = slice_del(z); /* delete, line 386 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 388 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 386 */ if (ret == 0) { z->c = z->l - m15; goto lab28; } if (ret < 0) return ret; } @@ -1614,16 +1613,16 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab26; lab27: z->c = z->l - m14; - { int ret = r_mark_lAr(z); /* call mark_lAr, line 390 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 388 */ if (ret == 0) goto lab29; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 390 */ - { int ret = slice_del(z); /* delete, line 390 */ + z->bra = z->c; /* ], line 388 */ + { int ret = slice_del(z); /* delete, line 388 */ if (ret < 0) return ret; } - { int m16 = z->l - z->c; (void)m16; /* try, line 390 */ - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 390 */ + { int m16 = z->l - z->c; (void)m16; /* try, line 388 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 388 */ if (ret == 0) { z->c = z->l - m16; goto lab30; } if (ret < 0) return ret; } @@ -1633,7 +1632,7 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab26; lab29: z->c = z->l - m14; - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 392 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 390 */ if (ret == 0) { z->c = z->l - m13; goto lab25; } if (ret < 0) return ret; } @@ -1645,73 +1644,73 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab24: z->c = z->l - m1; - z->ket = z->c; /* [, line 396 */ - { int m17 = z->l - z->c; (void)m17; /* or, line 396 */ - { int ret = r_mark_nUn(z); /* call mark_nUn, line 396 */ + z->ket = z->c; /* [, line 394 */ + { int m17 = z->l - z->c; (void)m17; /* or, line 394 */ + { int ret = r_mark_nUn(z); /* call mark_nUn, line 394 */ if (ret == 0) goto lab33; if (ret < 0) return ret; } goto lab32; lab33: z->c = z->l - m17; - { int ret = r_mark_ylA(z); /* call mark_ylA, line 396 */ + { int ret = r_mark_ylA(z); /* call mark_ylA, line 394 */ if (ret == 0) goto lab31; if (ret < 0) return ret; } } lab32: - z->bra = z->c; /* ], line 396 */ - { int ret = slice_del(z); /* delete, line 396 */ + z->bra = z->c; /* ], line 394 */ + { int ret = slice_del(z); /* delete, line 394 */ if (ret < 0) return ret; } - { int m18 = z->l - z->c; (void)m18; /* try, line 397 */ - { int m19 = z->l - z->c; (void)m19; /* or, line 399 */ - z->ket = z->c; /* [, line 398 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 398 */ + { int m18 = z->l - z->c; (void)m18; /* try, line 395 */ + { int m19 = z->l - z->c; (void)m19; /* or, line 397 */ + z->ket = z->c; /* [, line 396 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 396 */ if (ret == 0) goto lab36; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 398 */ - { int ret = slice_del(z); /* delete, line 398 */ + z->bra = z->c; /* ], line 396 */ + { int ret = slice_del(z); /* delete, line 396 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 398 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 396 */ if (ret == 0) goto lab36; if (ret < 0) return ret; } goto lab35; lab36: z->c = z->l - m19; - z->ket = z->c; /* [, line 400 */ - { int m20 = z->l - z->c; (void)m20; /* or, line 400 */ - { int ret = r_mark_possessives(z); /* call mark_possessives, line 400 */ + z->ket = z->c; /* [, line 398 */ + { int m20 = z->l - z->c; (void)m20; /* or, line 398 */ + { int ret = r_mark_possessives(z); /* call mark_possessives, line 398 */ if (ret == 0) goto lab39; if (ret < 0) return ret; } goto lab38; lab39: z->c = z->l - m20; - { int ret = r_mark_sU(z); /* call mark_sU, line 400 */ + { int ret = r_mark_sU(z); /* call mark_sU, line 398 */ if (ret == 0) goto lab37; if (ret < 0) return ret; } } lab38: - z->bra = z->c; /* ], line 400 */ - { int ret = slice_del(z); /* delete, line 400 */ + z->bra = z->c; /* ], line 398 */ + { int ret = slice_del(z); /* delete, line 398 */ if (ret < 0) return ret; } - { int m21 = z->l - z->c; (void)m21; /* try, line 400 */ - z->ket = z->c; /* [, line 400 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 400 */ + { int m21 = z->l - z->c; (void)m21; /* try, line 398 */ + z->ket = z->c; /* [, line 398 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 398 */ if (ret == 0) { z->c = z->l - m21; goto lab40; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 400 */ - { int ret = slice_del(z); /* delete, line 400 */ + z->bra = z->c; /* ], line 398 */ + { int ret = slice_del(z); /* delete, line 398 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 400 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 398 */ if (ret == 0) { z->c = z->l - m21; goto lab40; } if (ret < 0) return ret; } @@ -1721,7 +1720,7 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab35; lab37: z->c = z->l - m19; - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 402 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 400 */ if (ret == 0) { z->c = z->l - m18; goto lab34; } if (ret < 0) return ret; } @@ -1733,65 +1732,65 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab31: z->c = z->l - m1; - z->ket = z->c; /* [, line 406 */ - { int ret = r_mark_lArI(z); /* call mark_lArI, line 406 */ + z->ket = z->c; /* [, line 404 */ + { int ret = r_mark_lArI(z); /* call mark_lArI, line 404 */ if (ret == 0) goto lab41; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 406 */ - { int ret = slice_del(z); /* delete, line 406 */ + z->bra = z->c; /* ], line 404 */ + { int ret = slice_del(z); /* delete, line 404 */ if (ret < 0) return ret; } goto lab0; lab41: z->c = z->l - m1; - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 408 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 406 */ if (ret == 0) goto lab42; if (ret < 0) return ret; } goto lab0; lab42: z->c = z->l - m1; - z->ket = z->c; /* [, line 410 */ - { int m22 = z->l - z->c; (void)m22; /* or, line 410 */ - { int ret = r_mark_DA(z); /* call mark_DA, line 410 */ + z->ket = z->c; /* [, line 408 */ + { int m22 = z->l - z->c; (void)m22; /* or, line 408 */ + { int ret = r_mark_DA(z); /* call mark_DA, line 408 */ if (ret == 0) goto lab45; if (ret < 0) return ret; } goto lab44; lab45: z->c = z->l - m22; - { int ret = r_mark_yU(z); /* call mark_yU, line 410 */ + { int ret = r_mark_yU(z); /* call mark_yU, line 408 */ if (ret == 0) goto lab46; if (ret < 0) return ret; } goto lab44; lab46: z->c = z->l - m22; - { int ret = r_mark_yA(z); /* call mark_yA, line 410 */ + { int ret = r_mark_yA(z); /* call mark_yA, line 408 */ if (ret == 0) goto lab43; if (ret < 0) return ret; } } lab44: - z->bra = z->c; /* ], line 410 */ - { int ret = slice_del(z); /* delete, line 410 */ + z->bra = z->c; /* ], line 408 */ + { int ret = slice_del(z); /* delete, line 408 */ if (ret < 0) return ret; } - { int m23 = z->l - z->c; (void)m23; /* try, line 410 */ - z->ket = z->c; /* [, line 410 */ - { int m24 = z->l - z->c; (void)m24; /* or, line 410 */ - { int ret = r_mark_possessives(z); /* call mark_possessives, line 410 */ + { int m23 = z->l - z->c; (void)m23; /* try, line 408 */ + z->ket = z->c; /* [, line 408 */ + { int m24 = z->l - z->c; (void)m24; /* or, line 408 */ + { int ret = r_mark_possessives(z); /* call mark_possessives, line 408 */ if (ret == 0) goto lab49; if (ret < 0) return ret; } - z->bra = z->c; /* ], line 410 */ - { int ret = slice_del(z); /* delete, line 410 */ + z->bra = z->c; /* ], line 408 */ + { int ret = slice_del(z); /* delete, line 408 */ if (ret < 0) return ret; } - { int m25 = z->l - z->c; (void)m25; /* try, line 410 */ - z->ket = z->c; /* [, line 410 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 410 */ + { int m25 = z->l - z->c; (void)m25; /* try, line 408 */ + z->ket = z->c; /* [, line 408 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 408 */ if (ret == 0) { z->c = z->l - m25; goto lab50; } if (ret < 0) return ret; } @@ -1801,18 +1800,18 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab48; lab49: z->c = z->l - m24; - { int ret = r_mark_lAr(z); /* call mark_lAr, line 410 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 408 */ if (ret == 0) { z->c = z->l - m23; goto lab47; } if (ret < 0) return ret; } } lab48: - z->bra = z->c; /* ], line 410 */ - { int ret = slice_del(z); /* delete, line 410 */ + z->bra = z->c; /* ], line 408 */ + { int ret = slice_del(z); /* delete, line 408 */ if (ret < 0) return ret; } - z->ket = z->c; /* [, line 410 */ - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 410 */ + z->ket = z->c; /* [, line 408 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 408 */ if (ret == 0) { z->c = z->l - m23; goto lab47; } if (ret < 0) return ret; } @@ -1822,35 +1821,35 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ goto lab0; lab43: z->c = z->l - m1; - z->ket = z->c; /* [, line 412 */ - { int m26 = z->l - z->c; (void)m26; /* or, line 412 */ - { int ret = r_mark_possessives(z); /* call mark_possessives, line 412 */ + z->ket = z->c; /* [, line 410 */ + { int m26 = z->l - z->c; (void)m26; /* or, line 410 */ + { int ret = r_mark_possessives(z); /* call mark_possessives, line 410 */ if (ret == 0) goto lab52; if (ret < 0) return ret; } goto lab51; lab52: z->c = z->l - m26; - { int ret = r_mark_sU(z); /* call mark_sU, line 412 */ + { int ret = r_mark_sU(z); /* call mark_sU, line 410 */ if (ret <= 0) return ret; } } lab51: - z->bra = z->c; /* ], line 412 */ - { int ret = slice_del(z); /* delete, line 412 */ + z->bra = z->c; /* ], line 410 */ + { int ret = slice_del(z); /* delete, line 410 */ if (ret < 0) return ret; } - { int m27 = z->l - z->c; (void)m27; /* try, line 412 */ - z->ket = z->c; /* [, line 412 */ - { int ret = r_mark_lAr(z); /* call mark_lAr, line 412 */ + { int m27 = z->l - z->c; (void)m27; /* try, line 410 */ + z->ket = z->c; /* [, line 410 */ + { int ret = r_mark_lAr(z); /* call mark_lAr, line 410 */ if (ret == 0) { z->c = z->l - m27; goto lab53; } if (ret < 0) return ret; } - z->bra = z->c; /* ], line 412 */ - { int ret = slice_del(z); /* delete, line 412 */ + z->bra = z->c; /* ], line 410 */ + { int ret = slice_del(z); /* delete, line 410 */ if (ret < 0) return ret; } - { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 412 */ + { int ret = r_stem_suffix_chain_before_ki(z); /* call stem_suffix_chain_before_ki, line 410 */ if (ret == 0) { z->c = z->l - m27; goto lab53; } if (ret < 0) return ret; } @@ -1864,29 +1863,28 @@ static int r_stem_noun_suffixes(struct SN_env * z) { /* backwardmode */ static int r_post_process_last_consonants(struct SN_env * z) { /* backwardmode */ int among_var; - z->ket = z->c; /* [, line 416 */ - among_var = find_among_b(z, a_23, 4); /* substring, line 416 */ + z->ket = z->c; /* [, line 414 */ + among_var = find_among_b(z, a_23, 4); /* substring, line 414 */ if (!(among_var)) return 0; - z->bra = z->c; /* ], line 416 */ - switch (among_var) { /* among, line 416 */ - case 0: return 0; + z->bra = z->c; /* ], line 414 */ + switch (among_var) { /* among, line 414 */ case 1: - { int ret = slice_from_s(z, 1, s_5); /* <-, line 417 */ + { int ret = slice_from_s(z, 1, s_5); /* <-, line 415 */ if (ret < 0) return ret; } break; case 2: - { int ret = slice_from_s(z, 2, s_6); /* <-, line 418 */ + { int ret = slice_from_s(z, 2, s_6); /* <-, line 416 */ if (ret < 0) return ret; } break; case 3: - { int ret = slice_from_s(z, 1, s_7); /* <-, line 419 */ + { int ret = slice_from_s(z, 1, s_7); /* <-, line 417 */ if (ret < 0) return ret; } break; case 4: - { int ret = slice_from_s(z, 1, s_8); /* <-, line 420 */ + { int ret = slice_from_s(z, 1, s_8); /* <-, line 418 */ if (ret < 0) return ret; } break; @@ -1895,36 +1893,36 @@ static int r_post_process_last_consonants(struct SN_env * z) { /* backwardmode * } static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) { /* backwardmode */ - { int m_test1 = z->l - z->c; /* test, line 431 */ - { int m2 = z->l - z->c; (void)m2; /* or, line 431 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'd') goto lab1; /* literal, line 431 */ + { int m_test1 = z->l - z->c; /* test, line 429 */ + { int m2 = z->l - z->c; (void)m2; /* or, line 429 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'd') goto lab1; /* literal, line 429 */ z->c--; goto lab0; lab1: z->c = z->l - m2; - if (z->c <= z->lb || z->p[z->c - 1] != 'g') return 0; /* literal, line 431 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'g') return 0; /* literal, line 429 */ z->c--; } lab0: z->c = z->l - m_test1; } - { int m3 = z->l - z->c; (void)m3; /* or, line 433 */ - { int m_test4 = z->l - z->c; /* test, line 432 */ - if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab3; /* goto */ /* grouping vowel, line 432 */ - { int m5 = z->l - z->c; (void)m5; /* or, line 432 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'a') goto lab5; /* literal, line 432 */ + { int m3 = z->l - z->c; (void)m3; /* or, line 431 */ + { int m_test4 = z->l - z->c; /* test, line 430 */ + if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab3; /* goto */ /* grouping vowel, line 430 */ + { int m5 = z->l - z->c; (void)m5; /* or, line 430 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'a') goto lab5; /* literal, line 430 */ z->c--; goto lab4; lab5: z->c = z->l - m5; - if (!(eq_s_b(z, 2, s_9))) goto lab3; /* literal, line 432 */ + if (!(eq_s_b(z, 2, s_9))) goto lab3; /* literal, line 430 */ } lab4: z->c = z->l - m_test4; } { int ret; { int saved_c = z->c; - ret = insert_s(z, z->c, z->c, 2, s_10); /* <+, line 432 */ + ret = insert_s(z, z->c, z->c, 2, s_10); /* <+, line 430 */ z->c = saved_c; } if (ret < 0) return ret; @@ -1932,15 +1930,15 @@ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) { /* backwa goto lab2; lab3: z->c = z->l - m3; - { int m_test6 = z->l - z->c; /* test, line 434 */ - if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab6; /* goto */ /* grouping vowel, line 434 */ - { int m7 = z->l - z->c; (void)m7; /* or, line 434 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab8; /* literal, line 434 */ + { int m_test6 = z->l - z->c; /* test, line 432 */ + if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab6; /* goto */ /* grouping vowel, line 432 */ + { int m7 = z->l - z->c; (void)m7; /* or, line 432 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab8; /* literal, line 432 */ z->c--; goto lab7; lab8: z->c = z->l - m7; - if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab6; /* literal, line 434 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab6; /* literal, line 432 */ z->c--; } lab7: @@ -1948,7 +1946,7 @@ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) { /* backwa } { int ret; { int saved_c = z->c; - ret = insert_s(z, z->c, z->c, 1, s_11); /* <+, line 434 */ + ret = insert_s(z, z->c, z->c, 1, s_11); /* <+, line 432 */ z->c = saved_c; } if (ret < 0) return ret; @@ -1956,15 +1954,15 @@ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) { /* backwa goto lab2; lab6: z->c = z->l - m3; - { int m_test8 = z->l - z->c; /* test, line 436 */ - if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab9; /* goto */ /* grouping vowel, line 436 */ - { int m9 = z->l - z->c; (void)m9; /* or, line 436 */ - if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab11; /* literal, line 436 */ + { int m_test8 = z->l - z->c; /* test, line 434 */ + if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab9; /* goto */ /* grouping vowel, line 434 */ + { int m9 = z->l - z->c; (void)m9; /* or, line 434 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab11; /* literal, line 434 */ z->c--; goto lab10; lab11: z->c = z->l - m9; - if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab9; /* literal, line 436 */ + if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab9; /* literal, line 434 */ z->c--; } lab10: @@ -1972,7 +1970,7 @@ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) { /* backwa } { int ret; { int saved_c = z->c; - ret = insert_s(z, z->c, z->c, 1, s_12); /* <+, line 436 */ + ret = insert_s(z, z->c, z->c, 1, s_12); /* <+, line 434 */ z->c = saved_c; } if (ret < 0) return ret; @@ -1980,21 +1978,21 @@ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) { /* backwa goto lab2; lab9: z->c = z->l - m3; - { int m_test10 = z->l - z->c; /* test, line 438 */ - if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) return 0; /* goto */ /* grouping vowel, line 438 */ - { int m11 = z->l - z->c; (void)m11; /* or, line 438 */ - if (!(eq_s_b(z, 2, s_13))) goto lab13; /* literal, line 438 */ + { int m_test10 = z->l - z->c; /* test, line 436 */ + if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) return 0; /* goto */ /* grouping vowel, line 436 */ + { int m11 = z->l - z->c; (void)m11; /* or, line 436 */ + if (!(eq_s_b(z, 2, s_13))) goto lab13; /* literal, line 436 */ goto lab12; lab13: z->c = z->l - m11; - if (!(eq_s_b(z, 2, s_14))) return 0; /* literal, line 438 */ + if (!(eq_s_b(z, 2, s_14))) return 0; /* literal, line 436 */ } lab12: z->c = z->l - m_test10; } { int ret; { int saved_c = z->c; - ret = insert_s(z, z->c, z->c, 2, s_15); /* <+, line 438 */ + ret = insert_s(z, z->c, z->c, 2, s_15); /* <+, line 436 */ z->c = saved_c; } if (ret < 0) return ret; @@ -2004,12 +2002,22 @@ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) { /* backwa return 1; } +static int r_is_reserved_word(struct SN_env * z) { /* backwardmode */ + if (!(eq_s_b(z, 2, s_16))) return 0; /* literal, line 440 */ + { int m1 = z->l - z->c; (void)m1; /* try, line 440 */ + if (!(eq_s_b(z, 3, s_17))) { z->c = z->l - m1; goto lab0; } /* literal, line 440 */ + lab0: + ; + } + if (z->c > z->lb) return 0; /* atlimit, line 440 */ + return 1; +} + static int r_more_than_one_syllable_word(struct SN_env * z) { /* forwardmode */ - { int c_test1 = z->c; /* test, line 446 */ + { int c_test1 = z->c; /* test, line 447 */ { int i = 2; - while(1) { /* atleast, line 446 */ - int c2 = z->c; - { /* gopast */ /* grouping vowel, line 446 */ + while(1) { int c2 = z->c; + { /* gopast */ /* grouping vowel, line 447 */ int ret = out_grouping_U(z, g_vowel, 97, 305, 1); if (ret < 0) goto lab0; z->c += ret; @@ -2027,70 +2035,28 @@ static int r_more_than_one_syllable_word(struct SN_env * z) { /* forwardmode */ return 1; } -static int r_is_reserved_word(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* or, line 451 */ - { int c_test2 = z->c; /* test, line 450 */ - while(1) { /* gopast, line 450 */ - if (!(eq_s(z, 2, s_16))) goto lab2; /* literal, line 450 */ - break; - lab2: - { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); - if (ret < 0) goto lab1; - z->c = ret; /* gopast, line 450 */ - } - } - z->I[0] = 2; /* $strlen = , line 450 */ - if (!(z->I[0] == z->l)) goto lab1; /* $strlen == , line 450 */ - z->c = c_test2; - } - goto lab0; - lab1: - z->c = c1; - { int c_test3 = z->c; /* test, line 452 */ - while(1) { /* gopast, line 452 */ - if (!(eq_s(z, 5, s_17))) goto lab3; /* literal, line 452 */ - break; - lab3: - { int ret = skip_utf8(z->p, z->c, 0, z->l, 1); - if (ret < 0) return 0; - z->c = ret; /* gopast, line 452 */ - } - } - z->I[0] = 5; /* $strlen = , line 452 */ - if (!(z->I[0] == z->l)) return 0; /* $strlen == , line 452 */ - z->c = c_test3; - } - } -lab0: - return 1; -} - static int r_postlude(struct SN_env * z) { /* forwardmode */ - { int c1 = z->c; /* not, line 456 */ - { int ret = r_is_reserved_word(z); /* call is_reserved_word, line 456 */ + z->lb = z->c; z->c = z->l; /* backwards, line 451 */ + + { int m1 = z->l - z->c; (void)m1; /* not, line 452 */ + { int ret = r_is_reserved_word(z); /* call is_reserved_word, line 452 */ if (ret == 0) goto lab0; if (ret < 0) return ret; } return 0; lab0: - z->c = c1; + z->c = z->l - m1; } - z->lb = z->c; z->c = z->l; /* backwards, line 457 */ - - { int m2 = z->l - z->c; (void)m2; /* do, line 458 */ - { int ret = r_append_U_to_stems_ending_with_d_or_g(z); /* call append_U_to_stems_ending_with_d_or_g, line 458 */ - if (ret == 0) goto lab1; + { int m2 = z->l - z->c; (void)m2; /* do, line 453 */ + { int ret = r_append_U_to_stems_ending_with_d_or_g(z); /* call append_U_to_stems_ending_with_d_or_g, line 453 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } - { int m3 = z->l - z->c; (void)m3; /* do, line 459 */ - { int ret = r_post_process_last_consonants(z); /* call post_process_last_consonants, line 459 */ - if (ret == 0) goto lab2; + { int m3 = z->l - z->c; (void)m3; /* do, line 454 */ + { int ret = r_post_process_last_consonants(z); /* call post_process_last_consonants, line 454 */ if (ret < 0) return ret; } - lab2: z->c = z->l - m3; } z->c = z->lb; @@ -2098,36 +2064,32 @@ static int r_postlude(struct SN_env * z) { /* forwardmode */ } extern int turkish_UTF_8_stem(struct SN_env * z) { /* forwardmode */ - { int ret = r_more_than_one_syllable_word(z); /* call more_than_one_syllable_word, line 465 */ + { int ret = r_more_than_one_syllable_word(z); /* call more_than_one_syllable_word, line 460 */ if (ret <= 0) return ret; } - z->lb = z->c; z->c = z->l; /* backwards, line 467 */ + z->lb = z->c; z->c = z->l; /* backwards, line 462 */ - { int m1 = z->l - z->c; (void)m1; /* do, line 468 */ - { int ret = r_stem_nominal_verb_suffixes(z); /* call stem_nominal_verb_suffixes, line 468 */ - if (ret == 0) goto lab0; + { int m1 = z->l - z->c; (void)m1; /* do, line 463 */ + { int ret = r_stem_nominal_verb_suffixes(z); /* call stem_nominal_verb_suffixes, line 463 */ if (ret < 0) return ret; } - lab0: z->c = z->l - m1; } - if (!(z->B[0])) return 0; /* Boolean test continue_stemming_noun_suffixes, line 469 */ - { int m2 = z->l - z->c; (void)m2; /* do, line 470 */ - { int ret = r_stem_noun_suffixes(z); /* call stem_noun_suffixes, line 470 */ - if (ret == 0) goto lab1; + if (!(z->B[0])) return 0; /* Boolean test continue_stemming_noun_suffixes, line 464 */ + { int m2 = z->l - z->c; (void)m2; /* do, line 465 */ + { int ret = r_stem_noun_suffixes(z); /* call stem_noun_suffixes, line 465 */ if (ret < 0) return ret; } - lab1: z->c = z->l - m2; } z->c = z->lb; - { int ret = r_postlude(z); /* call postlude, line 473 */ + { int ret = r_postlude(z); /* call postlude, line 468 */ if (ret <= 0) return ret; } return 1; } -extern struct SN_env * turkish_UTF_8_create_env(void) { return SN_create_env(0, 1, 1); } +extern struct SN_env * turkish_UTF_8_create_env(void) { return SN_create_env(0, 0, 1); } extern void turkish_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); } diff --git a/src/dep/snowball/src_c/stem_UTF_8_turkish.h b/src/dep/snowball/src_c/stem_UTF_8_turkish.h index 7d94a2f9ef..aa400cfc8c 100644 --- a/src/dep/snowball/src_c/stem_UTF_8_turkish.h +++ b/src/dep/snowball/src_c/stem_UTF_8_turkish.h @@ -1,5 +1,4 @@ -/* This file was generated automatically by the Snowball to ISO C compiler */ -/* http://snowballstem.org/ */ +/* Generated by Snowball 2.0.0 - https://snowballstem.org/ */ #ifdef __cplusplus extern "C" { diff --git a/src/stemmer.c b/src/stemmer.c index ec2b8fc4ac..280beaf8f9 100644 --- a/src/stemmer.c +++ b/src/stemmer.c @@ -14,15 +14,22 @@ typedef struct langPair_s langPair_t __langPairs[] = { { "arabic", RS_LANG_ARABIC }, + { "basque", RS_LANG_BASQUE }, + { "catalan", RS_LANG_CATALAN }, { "danish", RS_LANG_DANISH }, { "dutch", RS_LANG_DUTCH }, { "english", RS_LANG_ENGLISH }, { "finnish", RS_LANG_FINNISH }, { "french", RS_LANG_FRENCH }, { "german", RS_LANG_GERMAN }, + { "greek", RS_LANG_GREEK }, { "hindi", RS_LANG_HINDI }, { "hungarian", RS_LANG_HUNGARIAN }, + { "indonesian", RS_LANG_INDONESIAN }, + { "irish", RS_LANG_IRISH }, { "italian", RS_LANG_ITALIAN }, + { "lithuanian", RS_LANG_LITHUANIAN }, + { "nepali", RS_LANG_NEPALI }, { "norwegian", RS_LANG_NORWEGIAN }, { "portuguese", RS_LANG_PORTUGUESE }, { "romanian", RS_LANG_ROMANIAN }, @@ -39,15 +46,22 @@ const char *RSLanguage_ToString(RSLanguage language) { char *ret = NULL; switch (language) { case RS_LANG_ARABIC: ret = "arabic"; break; + case RS_LANG_BASQUE: ret = "basque"; break; + case RS_LANG_CATALAN: ret = "catalan"; break; case RS_LANG_DANISH: ret = "danish"; break; case RS_LANG_DUTCH: ret = "dutch"; break; case RS_LANG_ENGLISH: ret = "english"; break; case RS_LANG_FINNISH: ret = "finnish"; break; case RS_LANG_FRENCH: ret = "french"; break; case RS_LANG_GERMAN: ret = "german"; break; + case RS_LANG_GREEK: ret = "greek"; break; case RS_LANG_HINDI: ret = "hindi"; break; case RS_LANG_HUNGARIAN: ret = "hungarian"; break; + case RS_LANG_INDONESIAN: ret = "indonesian"; break; + case RS_LANG_IRISH: ret = "irish"; break; case RS_LANG_ITALIAN: ret = "italian"; break; + case RS_LANG_LITHUANIAN: ret = "lithuanian"; break; + case RS_LANG_NEPALI: ret = "napali"; break; case RS_LANG_NORWEGIAN: ret = "norwegian"; break; case RS_LANG_PORTUGUESE: ret = "portuguese"; break; case RS_LANG_ROMANIAN: ret = "romanian"; break; diff --git a/src/stemmer.h b/src/stemmer.h index 94396a0dea..d2ac996fae 100644 --- a/src/stemmer.h +++ b/src/stemmer.h @@ -9,15 +9,22 @@ extern "C" { typedef enum { RS_LANG_ENGLISH = 0, RS_LANG_ARABIC, + RS_LANG_BASQUE, + RS_LANG_CATALAN, RS_LANG_CHINESE, RS_LANG_DANISH, RS_LANG_DUTCH, RS_LANG_FINNISH, RS_LANG_FRENCH, RS_LANG_GERMAN, + RS_LANG_GREEK, RS_LANG_HINDI, RS_LANG_HUNGARIAN, RS_LANG_ITALIAN, + RS_LANG_INDONESIAN, + RS_LANG_IRISH, + RS_LANG_LITHUANIAN, + RS_LANG_NEPALI, RS_LANG_NORWEGIAN, RS_LANG_PORTUGUESE, RS_LANG_ROMANIAN,