pyannotators-entityfishing 1.6.161__tar.gz → 1.6.166__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/PKG-INFO +1 -1
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/src/pyannotators_entityfishing/__init__.py +1 -1
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/src/pyannotators_entityfishing/candidates.py +1 -1
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/.claude/skills/ef-mapping/SKILL.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/.gitignore +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/.gitmodules +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/.python-version +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/LICENSE +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/README.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/Taskfile.yml +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/pyproject.toml +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/src/pyannotators_entityfishing/ef_client.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/src/pyannotators_entityfishing/entityfishing.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/.claude-plugin/marketplace.json +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/.claude-plugin/plugin.json +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/HOWTO.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/README.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/resources/Stages.yml +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/resources/Taskfile.yml +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/resources/help/help_examples.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/resources/help/plugin-help.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/resources/help/template.en.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/resources/help/template.fr.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/SKILL.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/references/annotator.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/references/converter.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/references/formatter.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/references/importer.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/references/processor.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/references/segmenter.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/new-plugin/references/types.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/skills/plugin-help/SKILL.md +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/tools/check-marketplace.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/submodules/python-archetype/vars/pythonPipeline.groovy +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/bench_plan.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/build_poi.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/build_poi_lexicons.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/build_rerank_data.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/check_rerank_endpoint.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/el_jev.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/eval_linking.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/eval_mappings.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/eval_rerank.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/finetune_rerank.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/merge_rerank.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/poi_common_words.json +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/recalibrate_linking.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/review_linking.html +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/review_linking.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/sherpa_plan_project.py +0 -0
- {pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/wdfilter.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pyannotators-entityfishing
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.166
|
|
4
4
|
Summary: Annotator based on entity-fishing
|
|
5
5
|
Project-URL: Homepage, https://github.com/oterrier/pyannotators_entityfishing/
|
|
6
6
|
Author-email: Olivier Terrier <olivier.terrier@kairntech.com>
|
|
@@ -533,7 +533,7 @@ def candidate_terms(
|
|
|
533
533
|
if fact not in values and (facts_max_values <= 0 or len(values) < facts_max_values):
|
|
534
534
|
values.append(fact)
|
|
535
535
|
for pid, values in props.items():
|
|
536
|
-
values =
|
|
536
|
+
values = [v for i, v in enumerate(values) if v not in values[:i]] # a date or a quantity is a dict, unhashable
|
|
537
537
|
properties[pid] = values[0] if len(values) == 1 else values # as the annotator writes them
|
|
538
538
|
facts = {k: v for k, v in facts.items() if v}
|
|
539
539
|
if facts:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/bench_plan.py
RENAMED
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/build_poi.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/build_rerank_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/eval_linking.py
RENAMED
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/eval_mappings.py
RENAMED
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/eval_rerank.py
RENAMED
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/finetune_rerank.py
RENAMED
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/merge_rerank.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/review_linking.html
RENAMED
|
File without changes
|
{pyannotators_entityfishing-1.6.161 → pyannotators_entityfishing-1.6.166}/tools/review_linking.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|