Skip to content

Commit

Permalink
Move spell code into its own repository
Browse files Browse the repository at this point in the history
  • Loading branch information
rafelafrance committed Apr 3, 2024
1 parent 3345fa6 commit 71d4b1a
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 409 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ PY_VER=python3.11
PYTHON=./$(VENV)/bin/$(PY_VER)
PIP_INSTALL=$(PYTHON) -m pip install
SPACY_MODEL=$(PYTHON) -m spacy download en_core_web_sm
BASE=pip setuptools wheel

test:
$(PYTHON) -m unittest discover

install: venv
source $(VENV)/bin/activate
$(PIP_INSTALL) -U pip setuptools wheel
$(PIP_INSTALL) -U $(BASE)
$(PIP_INSTALL) .
$(PIP_INSTALL) git+https://github.com/rafelafrance/common_utils.git@main#egg=common_utils
$(SPACY_MODEL)

dev: venv
source $(VENV)/bin/activate
$(PIP_INSTALL) -U pip setuptools wheel
$(PIP_INSTALL) -e .[dev]
$(PIP_INSTALL) -U $(BASE)
$(PIP_INSTALL) -e ../../misc/common_utils
$(PIP_INSTALL) -e .[dev]
$(SPACY_MODEL)
pre-commit install

Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ build-backend = "setuptools.build_meta"

[project]
name = "traiter"
version = "2.2.1"
description = "Rule-based parsers for mining text from research papers"
version = "2.2.2"
description = "Rule-based parsers for mining text from research sources"
readme = "README.md"
license = {file = "LICENSE"}
authors = [{name="Raphael LaFrance", email="[email protected]"}]
requires-python = ">=3.11"
dependencies = [
"regex",
"pandas",
"python-dateutil",
"spacy",
"tqdm",
]
optional-dependencies.dev = [
"build",
Expand All @@ -27,7 +25,6 @@ optional-dependencies.dev = [
]

[project.scripts]
create-spell-well-from-idigbio = "traiter.create_spell_well_from_idigbio:main"

[tool.setuptools]
py-modules = []
Expand Down
26 changes: 0 additions & 26 deletions tests/test_spell_well.py

This file was deleted.

264 changes: 0 additions & 264 deletions traiter/create_spell_well_from_idigbio.py

This file was deleted.

Binary file removed traiter/pylib/rules/terms/misspellings.zip
Binary file not shown.
Binary file removed traiter/pylib/rules/terms/vocab.zip
Binary file not shown.
Loading

0 comments on commit 71d4b1a

Please sign in to comment.