Skip to main content

English Assistant Core

This project is related to the implementation of the English Assistant Application, which helps us to learn English as an assistant. And, Also this package has the ability to translate from English to Persian.

Instruction

  1. Install Python.

⚠ WARNING:

After install EnglishAssistantCore. pip install EnglishAssistantCore, don't forget install en_core_web_sm data. pip install "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl"

  1. Install English Assistant Core and SpaCy-English Core Web Small (en_core_web_sm)

    Windows:

    pip install EnglishAssistantCore & pip install "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl"
    

    Linux:

    pip3 install EnglishAssistantCore && pip3 install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl
    

Usage

Set a string as a list.

List = ["Hello"]
#List_String = ["Hello, I am WinCento."]
#List = list(filter(None, re.split(r'\s|\.|,', List_String[0])))

Set the text.

_text = List[0]

Prepare the core.

_core = Core()

Configurate core.

_core.set_voice('en') #language
_core.set_rate(140) #rate

Speak:

_core.speak(_text)

Record:

import os
_core.record(_text,os.path.join(os.path.join(os.path.dirname(__file__)),'output.mp3'))

Tag With SpaCy:

_tag = _core.find_tag_spacy(_text)
_expo = _core.tag_translator_spacy(_tag)
print(_text+" is "+_expo)

Tag With NLTK (optional):

_tag = _core.find_tag_pickle(_text)
_expo = _core.tag_translator_pickle(_tag)
print(_text+" is "+_expo)

Translate To Persian - Online:

_core.set_translator_lang()
_trans = _core.translate_action(_text)
print(_trans)

Pronunciation:

_pron = _core.find_pronunc(list(filter(None, re.split(r'\s|\.|,', _text))))
print(_pron)

Metadata

Release files for EnglishAssistantCore 1.0.6

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

Source distribution (sdist)

Source distribution for EnglishAssistantCore 1.0.6
File Size Uploaded
englishassistantcore-1.0.6.tar.gz 30.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for EnglishAssistantCore 1.0.6
File Interpreter ABI Platform
englishassistantcore-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 62.3 MB

Release files / englishassistantcore-1.0.6.tar.gz

Download URL englishassistantcore-1.0.6.tar.gz
Size 30.8 MB
Tags Source
SHA-256 checksum
How to use checksums
09b7ff7ac1ad81eb630716604fa387ed408ebe170a38b0855436d33380ffa442
BLAKE2b-256 checksum
How to use checksums
eca3db2f286031dd5e91c91a3459a24b444e9f989d54c9e9ce9f92904530c742
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / englishassistantcore-1.0.6-py3-none-any.whl

Download URL englishassistantcore-1.0.6-py3-none-any.whl
Size 31.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6fee1c0dd0c49e1ed8fc783236e720261aef3eba046be38ce6c47b3d94837730
BLAKE2b-256 checksum
How to use checksums
ee0e4a6d17cf411a9f501867566d1e447ca2847002975c9d740c9a0e4273c1aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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