Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 740 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 740 Bytes

README still Work In Progress

Calculating Textual Entailment between two texts

Textual entailment (TE), also known as Natural Language Inference (NLI), in natural language processing is a directional relation between text fragments. The relation holds whenever the truth of one text fragment follows from another text. Given a premise and a hypothesis, this module allows you to calculate textual entailment between the two.

Textual Entailment

It is a natural language inference task ....

How to Use

# First install using
pip install .
# For huggingface
from textual_entailment import hf
# For allennlp
from textual_entailment import allennlp
# For Google's PaLM
from textual_entailment import palm