Skip to content

Commit

Permalink
fixed: vocab.txt missing from package
Browse files Browse the repository at this point in the history
  • Loading branch information
R1j1t committed May 14, 2020
1 parent 6c196f7 commit c1724b0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graft contextualSpellCheck/data*
2 changes: 1 addition & 1 deletion contextualSpellCheck/contextualSpellCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ContextualSpellCheck(object):

name = "contextual spellchecker"

def __init__(self, vocab_path="../data/vocab.txt", debug=False):
def __init__(self, vocab_path="./data/vocab.txt", debug=False):
# self.nlp = spacy.load(
# "en_core_web_sm", disable=["tagger", "parser"]
# ) # using default tokeniser with NER
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@

setuptools.setup(
name="contextualSpellCheck",
version="0.0.1",
version="0.0.3",
author="R1j1t",
author_email="[email protected]",
description="Contextual spell correction using BERT (bidirectional representations)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/R1j1t/contextualSpellCheck",
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
Expand Down

0 comments on commit c1724b0

Please sign in to comment.