First pushed, setup all the stuff we need, no launcher yet. So test your code in another place for now, because they are all codepended on each others ...

This commit is contained in:
Hieuhuy Pham
2022-05-04 12:22:20 -07:00
parent 5875ac0e79
commit 1fb8fef7a3
7 changed files with 143 additions and 0 deletions

18
stemmer.py Normal file
View File

@@ -0,0 +1,18 @@
#Multiple implementation of stemming here please
class Stemmer():
def __init__(self,mode, data):
#Different type of stemmer = different modes
self.mode = mode
self.data = data
def stem(self):
#Do stuff here
if(self.mode == 0):
#Do stemmer 1
return #stemmed data
#....
def #name of stemmer 1
def #name of stemmer 2