JohnKouf commited on
Commit
ebe6af8
·
verified ·
1 Parent(s): 70988c4

Update Similarity.py

Browse files
Files changed (1) hide show
  1. Similarity.py +1 -1
Similarity.py CHANGED
@@ -5,7 +5,7 @@ class Similarity:
5
  def __init__(self):
6
  self.model = SentenceTransformer("lighteternal/stsb-xlm-r-greek-transfer")
7
  # Make sure nltk punkt tokenizer is downloaded
8
- nltk.download('punkt')
9
 
10
  def chunk_text(self, text, chunk_size=1400, overlap_size=200):
11
  sentences = nltk.sent_tokenize(text)
 
5
  def __init__(self):
6
  self.model = SentenceTransformer("lighteternal/stsb-xlm-r-greek-transfer")
7
  # Make sure nltk punkt tokenizer is downloaded
8
+ #nltk.download('punkt')
9
 
10
  def chunk_text(self, text, chunk_size=1400, overlap_size=200):
11
  sentences = nltk.sent_tokenize(text)