#908: Greek stemmer optimization
--------------------------+----------------------
  Reporter:  skaplun      |      Owner:  nkasioum
      Type:  enhancement  |     Status:  closed
  Priority:  trivial      |  Milestone:
 Component:  BibIndex     |    Version:
Resolution:  fixed        |   Keywords:
--------------------------+----------------------
Changes (by Nikolaos Kasioumis <nikolaos.kasioumis@…>):

 * status:  in_merge => closed
 * resolution:   => fixed


Comment:

 In [7c269a177e755aa1b43c4bcedcd281358a1222e9]:
 {{{
 #!CommitTicketReference repository=""
 revision="7c269a177e755aa1b43c4bcedcd281358a1222e9"
 BibIndex: Greek stemmer improvements

 * Optimizes the greek stemmer class by pre-compiling all the regular
 expression
   patterns and other helper variables declaring them as private constants.
   (closes #908)

 * Changes the Greek stemmer class definition to the new-style class,
 inheriting
   object, and changes its name to GreekStemmer to match Invenio's classes
   naming convention.

 * Changes the name of the main stem function from stem_word to stemWord to
   match SnowBall PyStemmer's respective stem function.

 * Adds the function stemWords which accepts a list of words and returns
   a list of their stems, matching SnowBall PyStemmer's respective
 stemWords
   function.

 * Adds a function which replaces accented vowels with their non-accented
   versions and another function which converts all the cased characters
 into
   uppercase. These two functions together prepare any given word for the
 main
   stem function.
 }}}

-- 
Ticket URL: </ticket/908#comment:4>
Invenio <http://invenio-software.org>

Reply via email to