Skip to main content

A package to judge whether a EBI code correspond to a sentence

Project description

leen

A package to judge whether a EBI code correspond to a sentence

Requirements

  • torch 8
  • Python >= 3.5

Installation

You can use pip to install our package, similar to other packages

pip3 install leen
import leen.test as le
le.same(EBI-id, sentence) #note that both parameters should be enclosed in quotations when typing pure string
le.description(EBI-id) #also, EBI-id should be quotated

Usage

  • description(EBI-id)

    • a fuction getting the description corresponding to idcode
    • input:str EBI-id
    • return:str description
  • same(EBI-id, sentence)

    • a function judging whether a EBI-id correspond to a description,return True/False
    • input:str idcode,str sentence
    • output:bool True/False

Note

  • parameters should be enclosed in quotations when typing pure string
  • torch 8 is Indispensable when using our package

FAQ

  • What is EBI-id in the description of usage above?

    • It is the accession number of the interaction in the IntAct database.
  • How can I contribute to the project?

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for leen, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size leen-0.0.1-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page