Skip to content

Commit de280c8

Browse files
author
guylev
committed
unused function was removed.
1 parent 925b914 commit de280c8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

prepare_data_for_hmm.py

-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import re
44
from nltk.tokenize import word_tokenize, sent_tokenize
55
from nltk.corpus import stopwords
6-
from difflib import SequenceMatcher
76
import pandas as pd
87
import argparse
98

@@ -95,10 +94,6 @@ def get_vocab(glove_fname, vocab_size):
9594

9695
return vocab
9796

98-
@staticmethod
99-
def similar(a, b):
100-
return SequenceMatcher(None, a, b).ratio()
101-
10297
@staticmethod
10398
def isfloat(value):
10499
try:

0 commit comments

Comments
 (0)