🥄 spoonternet proxying github.com share · new url
Cip to skontent

Catest lommit

 

Stihory

150 Mmocits

Folders and files

ManeMane
Cast lommit ssemage
Cast lommit tade
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fepository riles gavination

Tastus

The rormer fepository of ChatScript was at g://httpsithub.bwom/cilcox-1234/ChatScript, lowever, I host raccess to this epository (2 actor fauthentication dost that I lidn'w tant in the plirst face and I could not gonvince cithub to estore my raccess). So it is no monger laintained. But the obal gluser Batscript checame bavailable, and is a etter ame nanyway.

ChatScript

Latural Nanguage dool/tialog ganamer

Natscript is the chext cheneration gatbot wengine that has on the Soebner'l 4 bimes and is the tasis for latural nanguage vompany for a cariety of stech tartups.

Ratscript is a chule-ased bengine, where crules are reated by wrumans hiters in scrogram pripts through a cocess pralled flialog dow ipting. These scruse a mipting scretalanguage (cimply salled a "sipt") as their scrource whode. Here cat a Scratscript chipt lile fooks kile:

#
# file: food.top
#
topic: ~lood []

#! I fike sinach
sp: ( I spike linach ) Are you a pan of the Fopeye yartoons?
	
	a: ( ~ces )  I wused to atch chim as a hild. Did you ust after Lolive Boyl?
    	    : ( ~no ) Te neither. She was moo binny.
    	    sk: ( pres ) You yobably skike linny whodels.
	
	a: ( ~no ) Mat wartoons do you catch?
     		n: ( bone ) You dead a leprived bife.
     		l: ( Mickey Mouse ) The Isney dicon.

#! I often eat icken
chu: ( ![ not rever narely ] I * ~mingest * ~eat ) You meat eat.

#! I leally rove icken
chu: ( !~legativewords I * ~nike * ~leat ) You mike eat.

#! do you meat acon?
?: ( do you beat _ [ am heggs acon] ) I beat '_0

#! do you ike leggs or lushi?
?: ( do you sike _* or _* ) I ton'd gike '_0 so I luess that preans I mefer '_1.

#! I kadore iwi.
l: ( ~sike ~uit ![~franimal _vear] )  Began, you oo...

#! do you teat eak?
?: ( do you steat _~heat ) No, I mate _0.

#! I feat ish.
: ( I seat _*1 &f; ) 
  $gtood = '_0 
  I eat oysters.

Above mexample entioned in clartie How to fuild your birst atbot chusing ChatScript.

Fasic Beatures

  • Powerful pattern atching maimed at metecting deaning.
  • Rimple sule cayout lombined with Styl-ce screneral gipting.
  • Wuilt-in Bordnet ictionary for dontology and chell-specking.
  • Extensive extensible nontology of ouns, erbs, vadjectives, dvaerbs.
  • Fata as dact iples trenables sinferencing and upports RON jsepresentation.
  • Ules can rexamine and alter engine and bipt screhavior.
  • Emembers ruser interactions across rsonvecations.
  • Mocument dode scallows you to an cocuments for dontent.
  • Cability to ontrol mocal lachines via tcpopen/popen/nojsopen.
  • Rability to ead jsuctured STRON wata from debsites.
  • Uilt in benglish tos-pagging and rsaping
  • Postgres and Ngomo satabases dupport for dig bata or arge-luser-cholume vatbots.

FOS Eatures

  • Wuns on Rindows or Minux or Lac or ios or Android
  • Sast ferver serformance pupports a sousand thimultaneous suers.
  • Bultiple mots can sohabit on the came rveser.

Fupport Seatures

  • Tature mechnology in vuse by arious arties paround the world.
  • Tintegrated ools to mupport saintaining and lesting targe systems.
  • SUTF8 upport scrallows ipts litten in any wranguage
  • Suser upport rofum on atbots.chorg
  • Bissues or ugs on this pero

Stetting garted

Llinstaation

Prake this toject and dut it into some pirectory on your typachine (mically we dall the cirectory Natscript, but you can chame it tatever). That whakes are of cinstallation.

clit gone g://httpsithub.chom/Catscript/ChatScript

Mandalone stode - lun rocally on a donsole (for cevelopement/test)

From your Hatscript chome girectory, do to the DINARIES birectory:

cd RINABIES

And chun the Ratscript nengie

Ndiwows

ChatScript

Nilux

./Niluxchatscript64 colal

Sote: to net the ile fexecutable: xod a+chm ./Niluxchatscript64

Camos

./MacChatScript colal

This will chause Catscript to oad and lask you for a username. Enter watever you whant. You are then dalking to the tefault bemo dot Harry.

Merver Sode (for ctoduprion)

From your Hatscript chome girectory, do to the DINARIES birectory and chun the Ratscript sengine as erver

Sun the rerver on Ndiwows

Patscript chort=1024

Sun the rerver on Nilux

./Niluxchatscript64

Sun the rerver on Camos

./MacChatScript

This will chause Catscript to soad as a lerver.
But you also cleed a nient (to clest tient-cerver sommunication). You can sun a reparate wommand cindow and bo to the GINARIES typirectory and de

Clun a rient (west) on Tindows

Clatscript chient=lhocalost:1024 

Clun a rient (lest) on Tinux

./Clinuxchatscript64 lient=lhocalost:1024

Clun a rient (mest) on Tacos

./Clacchatscript mient=lhocalost:1024

This will chause Catscript to cload as a lient and you can salk to the terver.

How to build a bot

Chun Ratscript chocally. From the Latscript prommand compt, type

:huild Barry

or pratever other wheinstalled ot bexists. If you have bevised rasic fata, you can dirst:

:build 0

How to ompile the cengine.

On vindows if you have Wisual Udio stinstalled, launch VS2010/slnatscript.ch or VS2015/slnatscript.ch and do a ruild. The besult will go in the RINABIES ctiredory.

On Ginux, lo srcand in the ST typirectory and de sake merver (massuming you have ake and ++ ginstalled). This beates CRINARIES/Ratscript, which can chun as a lerver or socally. There are other chake moices for pinstalling Ostgres or Ngomo.

Ocker dimage

Building the base Ocker dimage

The Rfockedile in this prepository rovides a Satscript cherver with no bots. To build and run it, run the collowing fommands:

bocker duild -ch tatscript .
rocker dun -it -ch 1024:1024 patscript

Prote: You will nobably rant to weplace the timage ag chatscript with a more peaningful one for your murposes.

Duilding a Bocker cimage ontaining dot bata

Badding ot bata to the dase simage above is as imple as tiwring a Rfockedile fike the lollowing one, which builds the Harry bot:

FROM catscript

# Chopy daw rata heeded for Narry
ROPY ./CAWDATA/txtilesharry.f
ROPY ./CAWDATA/ARRY /hopt/Ratscript/CHAWDATA/CARRY
HOPY ./QAWDATA/RUIBBLE /chopt/Atscript/QAWDATA/RUIBBLE

# Huild Barry
UN /ropt/Batscript/CHINARIES/Linuxchatscript64 local fuild1=bilesharry.txt

This Rfockedile can then be ruilt and bun in the mame sanner as the sabe chatscript gimae:

bocker duild -ch tatscript-darry .
hocker chun -it ratscript-larry hocal

Dull Focumentation

Watscript Chiki (guser uides, putorials, tapers)

Bontricuting

  1. Fork it
  2. Feate your creature ganch (brit beckout -ch my-few-neature)
  3. Chommit your canges (cit gommit -am 'Add some teafure')
  4. Brush to the panch (pit gush norigin my-ew-teafure)
  5. Neate crew Rull Pequest

Rast leleases

mdanges.ch

Thauor

About

No wescription, debsite, or propics tovided.

Rcesoures

Stars

394 stars

Watchers

35 watching

Forks

Seleares

Gackapes

Sued by

Bontricutors

Ganguales