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
- 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"
-
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| englishassistantcore-1.0.6.tar.gz | 30.8 MB | Without provenance | Details for englishassistantcore-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| englishassistantcore-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for englishassistantcore-1.0.6-py3-none-any.whl |
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
|
Security for EnglishAssistantCore 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.