Skip to main content

Tests Downloads Current Release Version pypi Version

librAIry Claimer

Introduction

Claimer is our cutting-edge tool designed to revolutionize the process of analyzing textual paragraphs and extracting verifiable claims. By leveraging state-of-the-art techniques, we have created a method that breaks down complex text into individual statements that can be fact-checked and validated.

This powerful tool aims to enhance information comprehension, promote critical thinking, and support researchers, journalists, and fact-checkers in their pursuit of accurate and reliable information. With its advanced capabilities, our tool opens new avenues for assessing claims and fostering transparency in an ever-expanding digital landscape.

Installation

To install the package, run:

pip install claimer

Afterwards, some resources must be downloaded. This can be either be done by manually calling

python -m spacy  download  en_core_web_md
python -m spacy_entity_linker "download_knowledge_base"

Use

from claimer import paragraph # version 3.5

# prepare a paragraph
text = "Face masks don’t work. Science in this area has evolved during the outbreak, the body of scientific evidence that has built up shows that the risk of transmission is made lower by wearing a face covering.  The more we learn about COVID-19 the clearer it is that face coverings are an absolute vital tool in our fight against the virus. They effectively capture droplets, which is the main way the virus travels from person to person. According to the British Medical Association, if you don't wear it and have COVID-19, the risk of spreading it to others can be as high as 70%. If you do wear it, the risk drops to 5%. Make sure you wear it in all public indoor spaces and whenever you can't keep a 2m distance from others. Use a face covering is simple and easy way we can all stop the spread of the virus.",

# retrieve the claims
claims = paragraph.get_claims(text)

# iterates over claims 
for i,claim in enumerate(claims):
    print(f"{i}) {claim}")

# OUTPUT:
# 0) Face masks don’t work.
# 1) Science in this area has evolved during the outbreak, the body of scientific evidence that has built up shows that the risk of transmission is made lower by wearing a face covering.
# 2)  The more we learn about COVID-19 the clearer it is that face coverings are an absolute vital tool in our fight against COVID-19 .
# 3) face coverings effectively capture droplets, which is the main way COVID-19 travels from person to person.
# 4) According to the British Medical Association, if you don't wear face coverings and have COVID-19 , the risk of spreading it to others can be as high as 70%.
# 5) If you do wear face coverings , the risk of spreading it to others drops to 5%.
# 6) Make sure you wear face coverings in all public indoor spaces and whenever you can't keep a 2m distance from others.
# 7) Use a face covering is simple and easy way we can all stop the spread of COVID-19

Note

The Claimer at the current state is still experimental and should not be used in production mode.

Metadata

Release files for claimer 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claimer 0.0.3
File Size Uploaded Provenance Actions
claimer-0.0.3.tar.gz 8.4 kB Without provenance Details for claimer-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for claimer 0.0.3
File Interpreter ABI Platform Actions
claimer-0.0.3-py3-none-any.whl Python 3 none any Details for claimer-0.0.3-py3-none-any.whl

Total release size: 17.3 kB

Release files / claimer-0.0.3.tar.gz

Download URL claimer-0.0.3.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
68bfbc23611214b911bdf6357d5527fb1e69cdf78de6b5caf81ee3eb1f87d3e9
BLAKE2b-256 checksum
How to use checksums
98052772484df699bee19af45899951a31e199641051e12a90a7eeb2a43b1a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / claimer-0.0.3-py3-none-any.whl

Download URL claimer-0.0.3-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98cfb9f9ee1f591af371bbf7c99277f7c4c50c7a473d6cc6b67d3bbf877207c3
BLAKE2b-256 checksum
How to use checksums
c6b0776411f9b081a0ed7333e49d62a3d92f4391509d55ed7a687b3e49ee2162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for claimer 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page