diff options
-rw-r--r-- | source/search.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source/search.py b/source/search.py deleted file mode 100644 index 582108ae..00000000 --- a/source/search.py +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env/python -# -*- coding: utf-8 -*- - -import utils - -class Search(object): - """ - """ - def __init__(self): - self.terms = {} - - def index(self): - pass - - def search(self, word): - result = [] - for term, texts in self.terms.items(): - if word in term: - result.extend(text) - return result
\ No newline at end of file |