KeywordInContextIndexBuilder.st
changeset 4127 0f3c785bb689
parent 4126 4d3ec803fddf
child 4128 4cc1535fa7dc
--- a/KeywordInContextIndexBuilder.st	Thu Oct 13 12:57:35 2016 +0200
+++ b/KeywordInContextIndexBuilder.st	Thu Oct 13 13:04:02 2016 +0200
@@ -44,7 +44,9 @@
     To generate a kwic, add each line together with a reference (or page number, or whatever),
     using addLine:reference:.
     Then, when finished, enumerate the kwic and print as kwic or kwoc.
-
+    To ignore fill words (such as 'and', 'the', 'in', etc.), define those with: #excluded:
+    this is defined 
+    
     [author:]
         Claus Gittinger (cg@alan)
 
@@ -65,7 +67,7 @@
     |kwic|
 
     kwic := KeywordInContextIndexBuilder new.
-    kwic excluded:#('the' 'and' 'a' 'an').
+    kwic excluded:#('the' 'and' 'a' 'an' 'in').
 
     kwic addLine:'bla bla bla' reference:1.
     kwic addLine:'foo, bar. baz' reference:2.