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:
18
stemmer.py
Normal file
18
stemmer.py
Normal 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
|
||||
Reference in New Issue
Block a user