-
Notifications
You must be signed in to change notification settings - Fork 40
Misc Scripts
Patrick Hammer edited this page May 29, 2020
·
12 revisions
Python interface
import NAR as nar
print(nar.AddInput("<a --> b>."))
print(nar.AddInput("<?1 --> b>?"))
nar.Exit()
Example of processing toothbrush.nal with UDPNAR (Continuous run of ONA):
Run with --verbose to see the steps of the demo
Run with --iterations to get an average of real-time required for handling toothbrush.nal
python3 toothbrush_demo.py --verbose
python3 toothbrush_demo.py --iterations 20
IRC interface
Run via irc_nar.py, needs Python 2.