aimped-0.1.39
توضیحات
Aimped is a unique library that provides classes and functions for only exclusively business-tailored AI-based NLP models.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aimped-0.1.39 |
| نام | aimped |
| نسخه کتابخانه | 0.1.39 |
| نگهدارنده | ['aimped'] |
| ایمیل نگهدارنده | ['contact@aimped.com'] |
| نویسنده | Russell C. |
| ایمیل نویسنده | russell@aimped.com |
| آدرس صفحه اصلی | https://dev.ml-hub.nioyatechai.com/ |
| آدرس اینترنتی | https://pypi.org/project/aimped/ |
| مجوز | - |
# **aimped**

**Aimped is a unique python library that provides classes and functions for only exclusively business-tailored AI-based NLP models.**
# Installation
```python
pip install aimped
```
# Usage
```python
import aimped
print(aimped.__version__)
```
## Examples
### Example 1
```python
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
```python
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
```python
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)
```
### Example 4
```python
from aimped.nlp.pipeline import Pipeline
text = """Trotz aller medizinischen Interventionen konnte der bei dem Verkehrsunfall schwer verletzte Fahrer des Fahrzeugs nicht gerettet werden."""
pipe = Pipeline(model=model, tokenizer=tokenizer, device='cpu')
result = pipe.translation_result(
text=[text],
source_language = "german",
output_language = "english")
print(result)
# ['Despite all medical interventions, the driver of the vehicle who was severely injured in the traffic accident could not be saved.']
```
نیازمندی
| مقدار | نام |
|---|---|
| - | nltk |
| - | numpy |
| - | pandas |
| - | scikit-learn |
| - | seqeval |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl aimped-0.1.39:
pip install aimped-0.1.39.whl
نصب پکیج tar.gz aimped-0.1.39:
pip install aimped-0.1.39.tar.gz