summaryrefslogtreecommitdiff
path: root/examples/searchParserAppDemo.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/searchParserAppDemo.py')
-rw-r--r--examples/searchParserAppDemo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/searchParserAppDemo.py b/examples/searchParserAppDemo.py
index 021428d..d1bf8ba 100644
--- a/examples/searchParserAppDemo.py
+++ b/examples/searchParserAppDemo.py
@@ -3,7 +3,7 @@ from searchparser import SearchQueryParser
products = [ "grape juice", "grape jelly", "orange juice", "orange jujubees",
"strawberry jam", "prune juice", "prune butter", "orange marmalade",
"grapefruit juice" ]
-
+
class FruitSearchParser(SearchQueryParser):
def GetWord(self, word):
return { p for p in products if p.startswith(word + " ") }