SQLite

Check-in [6696bda11c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Another typo in the Porter stemmer check-in. (CVS 3455)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6696bda11ccad9663b15206592116d638aa3ff0a
User & Date: drh 2006-10-01 20:41:03.000
Context
2006-10-03
11:42
Add the option to omit offset information from posting lists in FTS1. (CVS 3456) (check-in: fdcea7b1ff user: drh tags: trunk)
2006-10-01
20:41
Another typo in the Porter stemmer check-in. (CVS 3455) (check-in: 6696bda11c user: drh tags: trunk)
18:59
Typo in previous check-in. (CVS 3454) (check-in: a7350bf86c user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to test/fts1porter.test.
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#    May you share freely, never taking more than you give.
#
#*************************************************************************
# This file implements regression tests for SQLite library.  The
# focus of this script is testing the FTS1 module, and in particular
# the Porter stemmer.
#
# $Id: fts1porter.test,v 1.3 2006/10/01 18:59:56 drh Exp $
#

set testdir [file dirname $argv0]
source $testdir/tester.tcl

# If SQLITE_ENABLE_FTS1 is defined, omit this file.
ifcapable !fts1 {
  finish_test
  return
}

# Test data for the Porter stemmer.  The first word of each line
# is the input.  The second word is the desired output.
#
# This test data is taken from http://www.tartarus.org/martin/PorterStemmer/
# There is no claim of copyright made on that page, but you should
# probably contain the author (Martin Porter - the inventor of the
# Porter Stemmer algorithm) if you want to use this test data in a
# commerical product of some kind.  The stemmer code in FTS1 is a
# complete rewrite from scratch based on the algorithm specification
# and does not contain any code under copyright.
#
set porter_test_data {
    a                    a







|
















|







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#    May you share freely, never taking more than you give.
#
#*************************************************************************
# This file implements regression tests for SQLite library.  The
# focus of this script is testing the FTS1 module, and in particular
# the Porter stemmer.
#
# $Id: fts1porter.test,v 1.4 2006/10/01 20:41:03 drh Exp $
#

set testdir [file dirname $argv0]
source $testdir/tester.tcl

# If SQLITE_ENABLE_FTS1 is defined, omit this file.
ifcapable !fts1 {
  finish_test
  return
}

# Test data for the Porter stemmer.  The first word of each line
# is the input.  The second word is the desired output.
#
# This test data is taken from http://www.tartarus.org/martin/PorterStemmer/
# There is no claim of copyright made on that page, but you should
# probably contact the author (Martin Porter - the inventor of the
# Porter Stemmer algorithm) if you want to use this test data in a
# commerical product of some kind.  The stemmer code in FTS1 is a
# complete rewrite from scratch based on the algorithm specification
# and does not contain any code under copyright.
#
set porter_test_data {
    a                    a