Skip to content

Commit

Permalink
add "similar_with" data
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanif Yuli Abdillah P committed Apr 17, 2024
1 parent 64144e1 commit d79672c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
Binary file removed dist/lexifuzz_ner-0.0.6-py3-none-any.whl
Binary file not shown.
Binary file removed dist/lexifuzz_ner-0.0.6.tar.gz
Binary file not shown.
Binary file added dist/lexifuzz_ner-0.0.7-py3-none-any.whl
Binary file not shown.
Binary file added dist/lexifuzz_ner-0.0.7.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "lexifuzz-ner"
version = "0.0.6"
version = "0.0.7"
authors = ["Hanif Yuli Abdillah P <[email protected]>"]
description = "Python package for detecting entities in text based on a dictionary and fuzzy similarity"
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions src/lexifuzz_ner/ner.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def find_entity(text=None, dictionary=None, min_ratio=None):
{
"id": str(uuid4()),
"entity": compared_text,
"similar_with": similarity_score[0],
"category": similarity_score[-1],
"score": similarity_score[1],
"index": {
Expand Down

0 comments on commit d79672c

Please sign in to comment.