Skip to main content

Artificial Intelligence #4 type of sentence

okey so getting closer to another program today. basically there are four types of sentances

  • Declarative sentence
  • Imperative sentence
  • Interrogative sentence
  • Exclamatory sentence
so the thing is you can learn by just typing each on google what types prefer.


the thing is how this is help ful to us or ai programming so .

we understand each sentence and act like that so ai has a neural network which will act exactly like human.

so here are help full for ONLY BASIC AI (dont blame or firing on comment box ok)

Declarative sentence : this sentence can be help full for helping ai to remember about something like.

"my name is rock". so the next time you ask that "what is my name " it will reply "rock"
thats how it will work.

next thing i am keeping things simple so you have to learn in details do some google on types of sentences.

Imperative sentence : using this we can do like command our ai like "Turn on lights"

and thats it. it works like program is our slave.


Interrogative sentence : So we can ask a question to ai like "what is weather" and we get reply

thats sort of things work out when using this types of sentences



Exclamatory sentence :

and we can create exclaimation to the ai that  " seriously!"

lilke asking to ai that are you correct at that answer.

how to make it ? using tensorflow just as sentiment analysis so my model is training right now.

and so thats why this blog . so later i wil tell results. if you want early post comment.

we need four labels and data ( i created my own i dont find any online so. if you find please post comment the like please it will be helpfull)

and then train a model and bamm you have text classifier.

Comments

Popular posts from this blog

Python Reads gmail

This is tutorial on how to read gmail emails with python programme : ----------------- #!/usr/bin/python __author__ = 'Robokishan' import email import imaplib import ctypes import getpass mail = imaplib.IMAP4_SSL('imap.gmail.com',993) unm = raw_input("insert Email : ") #pwd = raw_input("insert password : ") pwd = getpass.getpass("input : ") mail.login(unm,pwd) mail.select("INBOX") def loop():    mail.select("INBOX")    n=0    (retcode, messages) = mail.search(None, '(UNSEEN)')    if retcode == 'OK':             for num in messages[0].split() :          #print 'Processing '          n=n+1          print n          typ, data = mail.fetch(num,'(RFC822)')          for response_part in data:             if isinstance(response_part, tuple): ...

How to start Machine learning Easily

So I have started learning machine learning at least 1 year ago. Many People ask me "how do i start Machine learning ?". So here's the tip start. Question: Which OS to use? Answer: Use Linux, if you are on Windows you will be stuck at some point. If you don't want standalone Linux Operating System then Dual Boot with windows. Ubuntu and Arch Linux are my favorite distros. Linux Mint can be added to the list. But Many Machine learning APIs target Ubuntu. and Arch has all the libraries in the repository. If you do not trust me just go to this link , and check your self. Short answer: Arch (if you are advanced user) Ubuntu (beginner or just get things done ) Question: Which programming language to start with? Short answer: Use python don't get a headache with java or c in machine learning, i am not against both of them. but the installation of libraries become easy in Linux for python. and also python is a sea of Machine learning libraries. so just get st...

From Manjaro to Fedora (then arch linux)

So i am this is a video about my journey from manjaro to fedora (very short journey)