Sha256: dc7c86927c0784c6417e471b3326e7c66e854eb8e5b2e8a8e59b7d6d8645c4fa

Contents?: true

Size: 609 Bytes

Versions: 2

Compression:

Stored size: 609 Bytes

Contents

Feature: Stem tokens
  In order to increase recall
  A document's tokens may be stemmed
  
  Background:
    Given hash includes indexer
    And stemming uses the "ruby-stemmer" gem

  Scenario: Stemming tokens
    Given a hash with
      | foo   | jump jumps jumping jumper  |
      | bar   | ran run running runner     |
    Then it should have the following "foo" term frequencies:
      | T      | F  |
      | jump   | 3  |
      | jumper | 1  |
    Then it should have the following "bar" term frequencies:
      | T      | F  |
      | run    | 2  |
      | ran    | 1  |
      | runner | 1  |
    
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
strabo-0.0.2 features/stemming.feature
strabo-0.0.0 features/stemming.feature