| 1 | //! This file was generated automatically by the Snowball to Rust compiler |
| 2 | //! Snowball 2.0.0 - https://snowballstem.org/ |
| 3 | |
| 4 | #![allow(non_upper_case_globals)] |
| 5 | #![allow(non_snake_case)] |
| 6 | #![allow(unused_variables)] |
| 7 | #![allow(unused_mut)] |
| 8 | use snowball::SnowballEnv; |
| 9 | use snowball::Among; |
| 10 | |
| 11 | static A_0rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/A_0.: &'static [Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#<Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#>; 29] = &[ |
| 12 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("a", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 13 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("e", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 14 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ede", 1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 15 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ande", 1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 16 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ende", 1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 17 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ane", 1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 18 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ene", 1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 19 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("hetene", 6, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 20 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("erte", 1, 3, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 21 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("en", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 22 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("heten", 9, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 23 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ar", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 24 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("er", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 25 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("heter", 12, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 26 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("s", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 2, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 27 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("as", 14, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 28 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("es", 14, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 29 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("edes", 16, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 30 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("endes", 16, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 31 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("enes", 16, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 32 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("hetenes", 19, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 33 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ens", 14, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 34 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("hetens", 21, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 35 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ers", 14, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 36 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ets", 14, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 37 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("et", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 38 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("het", 25, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 39 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ert", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 3, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 40 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ast", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 41 | ]; |
| 42 | |
| 43 | static A_1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/A_1.: &'static [Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#<Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#>; 2] = &[ |
| 44 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("dt", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 45 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("vt", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 46 | ]; |
| 47 | |
| 48 | static A_2rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/A_2.: &'static [Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#<Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#>; 11] = &[ |
| 49 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("leg", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 50 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("eleg", 0, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 51 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("ig", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 52 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("eig", 2, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 53 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("lig", 2, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 54 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("elig", 4, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 55 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("els", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 56 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("lov", -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 57 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("elov", 7, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 58 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("slov", 7, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 59 | Amongrust-analyzer cargo rust-stemmers 1.2.0 snowball/among/Among#("hetslov", 9, 1, Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#), |
| 60 | ]; |
| 61 | |
| 62 | static G_vrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/G_v.: &'static [u8; 19] = &[17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 128]; |
| 63 | |
| 64 | static G_s_endingrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/G_s_ending.: &'static [u8; 4] = &[119, 125, 149, 1]; |
| 65 | |
| 66 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:)] |
| 67 | struct Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context# { |
| 68 | i_xrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_x.: usize, |
| 69 | i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1.: usize, |
| 70 | } |
| 71 | |
| 72 | fn r_mark_regionsrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_mark_regions().(env: &mut SnowballEnvrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#, context: &mut Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#) -> bool { |
| 73 | context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1. = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit.; |
| 74 | let v_1 = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 75 | let c = env.byte_index_for_hoprust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]byte_index_for_hop().(3); |
| 76 | if 0 as i32 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]gt().>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]gt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]gt().c || c rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]gt().>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]gt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialOrd<Self>`]gt().env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. as i32 { |
| 77 | return false; |
| 78 | } |
| 79 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = c as usize; |
| 80 | context.i_xrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_x. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 81 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = v_1; |
| 82 | 'golab0: loop { |
| 83 | let v_2 = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 84 | 'lab1: loop { |
| 85 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.in_groupingrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]in_grouping().(G_vrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/G_v., 97, 248) { |
| 86 | break 'lab1; |
| 87 | } |
| 88 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = v_2; |
| 89 | break 'golab0; |
| 90 | } |
| 91 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = v_2; |
| 92 | if env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge().env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. { |
| 93 | return false; |
| 94 | } |
| 95 | env.next_charrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]next_char().(); |
| 96 | } |
| 97 | 'golab2: loop { |
| 98 | 'lab3: loop { |
| 99 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.out_groupingrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]out_grouping().(G_vrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/G_v., 97, 248) { |
| 100 | break 'lab3; |
| 101 | } |
| 102 | break 'golab2; |
| 103 | } |
| 104 | if env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge().>=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]ge().env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. { |
| 105 | return false; |
| 106 | } |
| 107 | env.next_charrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]next_char().(); |
| 108 | } |
| 109 | context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 110 | 'lab4: loop { |
| 111 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().(context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().context.i_xrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_x.){ |
| 112 | break 'lab4; |
| 113 | } |
| 114 | context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1. = context.i_xrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_x.; |
| 115 | break 'lab4; |
| 116 | } |
| 117 | return true; |
| 118 | } |
| 119 | |
| 120 | fn r_main_suffixrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_main_suffix().(env: &mut SnowballEnvrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#, context: &mut Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#) -> bool { |
| 121 | let mut among_var; |
| 122 | if env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1. { |
| 123 | return false; |
| 124 | } |
| 125 | let v_2 = env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward.; |
| 126 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1.; |
| 127 | env.ketrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#ket. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 128 | among_var = env.find_among_brust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]find_among_b().(A_0rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/A_0., context); |
| 129 | if among_var rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().0 { |
| 130 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = v_2; |
| 131 | return false; |
| 132 | } |
| 133 | env.brarust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#bra. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 134 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = v_2; |
| 135 | if among_var rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().1 { |
| 136 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.slice_delrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]slice_del().() { |
| 137 | return false; |
| 138 | } |
| 139 | } else if among_var rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().2 { |
| 140 | 'lab0: loop { |
| 141 | let v_3 = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 142 | 'lab1: loop { |
| 143 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.in_grouping_brust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]in_grouping_b().(G_s_endingrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/G_s_ending., 98, 122) { |
| 144 | break 'lab1; |
| 145 | } |
| 146 | break 'lab0; |
| 147 | } |
| 148 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().v_3; |
| 149 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.eq_s_brust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]eq_s_b().(&"k") { |
| 150 | return false; |
| 151 | } |
| 152 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.out_grouping_brust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]out_grouping_b().(G_vrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/G_v., 97, 248) { |
| 153 | return false; |
| 154 | } |
| 155 | break 'lab0; |
| 156 | } |
| 157 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.slice_delrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]slice_del().() { |
| 158 | return false; |
| 159 | } |
| 160 | } else if among_var rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().3 { |
| 161 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.slice_fromrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]slice_from().("er") { |
| 162 | return false; |
| 163 | } |
| 164 | } |
| 165 | return true; |
| 166 | } |
| 167 | |
| 168 | fn r_consonant_pairrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_consonant_pair().(env: &mut SnowballEnvrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#, context: &mut Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#) -> bool { |
| 169 | let v_1 = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 170 | if env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1. { |
| 171 | return false; |
| 172 | } |
| 173 | let v_3 = env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward.; |
| 174 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1.; |
| 175 | env.ketrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#ket. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 176 | if env.find_among_brust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]find_among_b().(A_1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/A_1., context) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().0 { |
| 177 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = v_3; |
| 178 | return false; |
| 179 | } |
| 180 | env.brarust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#bra. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 181 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = v_3; |
| 182 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().v_1; |
| 183 | if env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]le().<=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]le(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]le().env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. { |
| 184 | return false; |
| 185 | } |
| 186 | env.previous_charrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]previous_char().(); |
| 187 | env.brarust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#bra. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 188 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.slice_delrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]slice_del().() { |
| 189 | return false; |
| 190 | } |
| 191 | return true; |
| 192 | } |
| 193 | |
| 194 | fn r_other_suffixrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_other_suffix().(env: &mut SnowballEnvrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#, context: &mut Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#) -> bool { |
| 195 | if env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1. { |
| 196 | return false; |
| 197 | } |
| 198 | |
| 199 | let v_2 = env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward.; |
| 200 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = context.i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1.; |
| 201 | env.ketrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#ket. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 202 | |
| 203 | if env.find_among_brust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]find_among_b().(A_2rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/A_2., context) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][`PartialEq<Self>`]eq().0 { |
| 204 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = v_2; |
| 205 | return false; |
| 206 | } |
| 207 | env.brarust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#bra. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 208 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = v_2; |
| 209 | |
| 210 | if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().env.slice_delrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/impl#[`SnowballEnv<'a>`]slice_del().() { |
| 211 | return false; |
| 212 | } |
| 213 | |
| 214 | return true; |
| 215 | } |
| 216 | |
| 217 | pub fn stemrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/stem().(env: &mut SnowballEnvrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#) -> bool { |
| 218 | let mut context = &mut Contextrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context# { |
| 219 | i_xrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_x.: 0, |
| 220 | i_p1rust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/Context#i_p1.: 0, |
| 221 | }; |
| 222 | |
| 223 | let v_1 = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 224 | r_mark_regionsrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_mark_regions().(env, context); |
| 225 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = v_1; |
| 226 | env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward. = env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 227 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit.; |
| 228 | |
| 229 | let v_2 = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 230 | r_main_suffixrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_main_suffix().(env, context); |
| 231 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().v_2; |
| 232 | |
| 233 | let v_3 = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 234 | r_consonant_pairrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_consonant_pair().(env, context); |
| 235 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().v_3; |
| 236 | |
| 237 | let v_4 = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor.; |
| 238 | r_other_suffixrust-analyzer cargo rust-stemmers 1.2.0 snowball/algorithms/norwegian/r_other_suffix().(env, context); |
| 239 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = env.limitrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit. rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().-rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Sub<Self>`]sub().v_4; |
| 240 | env.cursorrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#cursor. = env.limit_backwardrust-analyzer cargo rust-stemmers 1.2.0 snowball/snowball_env/SnowballEnv#limit_backward.; |
| 241 | |
| 242 | return true; |
| 243 | } |