ginnigarg commited on
Commit
63ebd95
·
verified ·
1 Parent(s): 3be609c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ dictionary_path = pkg_resources.resource_filename(
16
  "symspellpy", "frequency_dictionary_en_82_765.txt"
17
  )
18
  sym_spell.load_dictionary(dictionary_path, term_index=0, count_index=1)
19
- sym_spell.create_dictionary_entry("cgpa", 100000)
 
20
 
21
 
22
  def preprocess_text(text):
 
16
  "symspellpy", "frequency_dictionary_en_82_765.txt"
17
  )
18
  sym_spell.load_dictionary(dictionary_path, term_index=0, count_index=1)
19
+ sym_spell.load_dictionary("./custom_dictionary.txt", term_index=0, count_index=1)
20
+
21
 
22
 
23
  def preprocess_text(text):