/ Check-in [a7350bf8]
Login

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

Overview
Comment:Typo in previous check-in. (CVS 3454)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a7350bf86c41c428adbfe42dc9cbb3ecf0045c25
User & Date: drh 2006-10-01 18:59:56
Context
2006-10-01
20:41
Another typo in the Porter stemmer check-in. (CVS 3455) check-in: 6696bda1 user: drh tags: trunk
18:59
Typo in previous check-in. (CVS 3454) check-in: a7350bf8 user: drh tags: trunk
18:58
Remove one non-working test case fromthe Porter stemmer tests and add an acknowledgement for the source of the test data (Martin Porter himself.) (CVS 3453) check-in: 1a2df2a6 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/fts1porter.test.

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
..
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.2 2006/10/01 18:58:32 drh Exp $
#

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

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

# 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 (Marin 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
..
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 {
................................................................................
}

# 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