Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add calculate edit distance feature #1656

Merged
merged 20 commits into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Features

* **Adds `edit_distance` calculation metrics** In order to benchmark the cleaned, extracted text with unstructured, `edit_distance` (`Levenshtein distance`) is included.
* **Adds detection_origin field to metadata** Problem: Currently isn't an easy way to find out how an element was created. With this change that information is added. Importance: With this information the developers and users are now able to know how an element was created to make decisions on how to use it. In order tu use this feature
setting UNSTRUCTURED_INCLUDE_DEBUG_METADATA=true is needed.

Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
alabaster==0.7.13
# via sphinx
babel==2.12.1
babel==2.13.0
# via sphinx
beautifulsoup4==4.12.2
# via
Expand Down Expand Up @@ -116,7 +116,7 @@ sphinxcontrib-serializinghtml==1.1.5
# via
# -r requirements/build.in
# sphinx
urllib3==1.26.16
urllib3==1.26.17
# via
# -c requirements/base.txt
# -c requirements/constraints.in
Expand Down
3 changes: 2 additions & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ emoji
dataclasses-json
python-iso639
langdetect
numpy
numpy
rapidfuzz
6 changes: 4 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ python-iso639==2023.6.15
# via -r requirements/base.in
python-magic==0.4.27
# via -r requirements/base.in
regex==2023.8.8
rapidfuzz==3.3.1
# via -r requirements/base.in
regex==2023.10.3
# via nltk
requests==2.31.0
# via -r requirements/base.in
Expand All @@ -62,7 +64,7 @@ typing-extensions==4.8.0
# via typing-inspect
typing-inspect==0.9.0
# via dataclasses-json
urllib3==1.26.16
urllib3==1.26.17
# via
# -c requirements/constraints.in
# requests
4 changes: 2 additions & 2 deletions requirements/build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
alabaster==0.7.13
# via sphinx
babel==2.12.1
babel==2.13.0
# via sphinx
beautifulsoup4==4.12.2
# via
Expand Down Expand Up @@ -116,7 +116,7 @@ sphinxcontrib-serializinghtml==1.1.5
# via
# -r requirements/build.in
# sphinx
urllib3==1.26.16
urllib3==1.26.17
# via
# -c requirements/base.txt
# -c requirements/constraints.in
Expand Down
Loading