Skip to main content

Aimped is a unique library that provides classes and functions for only exclusively business-tailored AI-based NLP models.

Project description

aimped

aimped

Aimped is a unique python library that provides classes and functions for only exclusively business-tailored AI-based NLP models.

Installation

pip install aimped

Usage

import aimped
print(aimped.__version__)

Examples

Example 1

from aimped import nlp

result = nlp.sentence_tokenizer("Hi, welcome to aimped. Explore ai models.",language="english")
print(result)
# ['Hi, welcome to aimped.', 'Explore ai models.']

Example 2

from aimped.nlp.tokenizer import sentence_tokenizer

result = sentence_tokenizer("Hi, welcome to aimped. Explore ai models.",language="english")
print(result)
# ['Hi, welcome to aimped.', 'Explore ai models.']

Example 3

from aimped.nlp.pipeline import Pipeline

pipe = Pipeline(model=model, tokenizer=tokenizer, device='cpu')
result = pipe.ner_result(
                        text=text,
                        sents_tokens_list=sents_tokens_list,
                        sentences=sentences)
print(result)

Project details


Download files

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

Source Distribution

aimped-0.1.44.tar.gz (24.1 kB view hashes)

Uploaded Source

Built Distribution

aimped-0.1.44-py3-none-any.whl (32.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page