Skip to main content

Raving AI

Project description

Ai-Of-S

I even deleted the swear words.

Install

pip install S_Ai_emo123

start

from Ai_Of_S import ai

Word list, Default wordlist, func word list

It contains all the data

and I put a modified python bug report in as the default content

from Ai_Of_S import ai,wl,dwl,fwl
print(wl)

AOS(Ai_Of_S___) raise

It can give your error a reason.

from Ai_Of_S import AOSraise
AOSraise(TypeError)#Default 10 words
AOSraise(ValueError,30)#Change to 30 words

AOS docstring

When you can't think of a document, use it.

from Ai_Of_S import AOSdoc
def func():
    pass #No doc
AOSdoc(func)#Default 15 words
AOSdoc(func,20)#Change to 20 words

S___ say text

You can directly output 10 words or specify the number of outputs.

When you decide to "start", ai will speak with this word as the beginning.

When you decide space = True, there will be spaces between each word

When you specify "se", it restricts the AOS generated.

print(
    ai.sst(),
    ai.sst(300),
    ai.sst(start="."),
    ai.sst(300,space=True),
    ai.sst(15,se=1)
)

read

Read the file

ai.read("text.txt")

save words

Save words to file

ai.sw()#to word.json
ai.sw("word2.json")#Other file

load words

ai.lw()#from word.json
ai.lw("word2.json")#Other file

f___ up

clean up wl

ai.fu()

AOS say

After installation, you can use this command directly

aos-say 100 -n 1 3
Parameter location Example meaning
The first 100 words
Secondly -n start (-n indicates None)
The third 1 Whether to use spaces (1/0)
The last one 3 Number of sentences (no limit if less than 1)

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

s_ai_emo123-0.0.3.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s_ai_emo123-0.0.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file s_ai_emo123-0.0.3.tar.gz.

File metadata

  • Download URL: s_ai_emo123-0.0.3.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for s_ai_emo123-0.0.3.tar.gz
Algorithm Hash digest
SHA256 08bc0221ed2eb2948977000fa14d6c8c137c75274f7632883ce952abb895cd87
MD5 65016f594b31e8f8e2e1332aaa32d2d5
BLAKE2b-256 9ad3cb7f5bd0b8f1e3865897a947f57560842ad41faf2adf58aa8df3436c4384

See more details on using hashes here.

File details

Details for the file s_ai_emo123-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: s_ai_emo123-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for s_ai_emo123-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8537addbdea57dece18ddb6f5c5d16e2a41537f09a512217012687e1b181d0f8
MD5 4f030b8a9b08a857a7b2c3d0edf9097f
BLAKE2b-256 7b539150941a5de5711ff65cd5c1c645255c089d79811fcca501b22404738a67

See more details on using hashes here.

Supported by

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