1. 09 Nov, 2018 5 commits
  2. 08 Nov, 2018 1 commit
    • Olly Betts's avatar
      Handle 4-byte UTF-8 sequences · 496d1882
      Olly Betts authored
      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.
      496d1882
  3. 31 Oct, 2018 2 commits
    • Olly Betts's avatar
      Use more sensible initial input buffer size · f5d9bcf7
      Olly Betts authored
      Snowball programs are typically a few KB in size (with the current
      largest we ship being the Arabic stemmer at 17.1KB) so starting with
      a 10 byte input buffer and increasing its size by 50% plus 40 bytes
      each time it fills is inefficient - it needs up to 14 reallocations to
      load the sources for the stemmers we ship.
      
      Instead start at 8192 bytes and double the size each time we fill it.
      f5d9bcf7
    • Olly Betts's avatar
      Consistently omit space before postfix ++ · 06bac0b6
      Olly Betts authored
      06bac0b6
  4. 30 Oct, 2018 2 commits
  5. 29 Oct, 2018 4 commits
  6. 28 Jun, 2018 2 commits
  7. 26 Jun, 2018 1 commit
  8. 15 Jun, 2018 5 commits
  9. 13 Jun, 2018 1 commit
  10. 11 Jun, 2018 1 commit
    • Olly Betts's avatar
      [java] Fix lint check issues in generated Java code · 2df7a377
      Olly Betts authored
      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.
      2df7a377
  11. 07 Jun, 2018 2 commits
  12. 06 Jun, 2018 1 commit
    • Olly Betts's avatar
      Support more versatile integer tests · a2bf6646
      Olly Betts authored
      Currently you can only perform an integer relational comparison where the
      left side is an integer variable.  This means several of the stemmers have
      to use a clumsy construct such as: $tmp = len $tmp > 3 - now they can
      instead perform the comparison directly: $(len > 3)
      a2bf6646
  13. 05 Jun, 2018 1 commit
  14. 04 Jun, 2018 12 commits