-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
56 lines (40 loc) · 1.67 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Luchiana is an Artificial Intelligence written in Python
Her goal is to provide
-speech synthesis
-speech recognition
-answer questions in natural language
-do some action using arduino
The ultime goal is to use it as a brain for a home, automate all tasks and pilot your home by voice
------------------------NOTES------------------------
Please note that the server only run with Python <3.x
I provide client in Python3 and Python2
------------------------INSTALL------------------------
To Install prerequisites, launch the installClient.sh if you are one the client
or installServer.py if you are on the server
------------------------LAUNCH------------------------
To launch the server:
cd server
python3.x LuchianaServer.py
To launch client in Python2.x:
cd client
python2.x LuchianaClient.py
To launch client in Python3.x:
cd client3
python3.x LuchianaClient.py
------------------------USING------------------------
to use speech recognition, type "p" and press Enter, then speak
to use speech synthesis, type "Parle!" and press Enter
------------------------DEVELOP------------------------
To add a new module:
add the import MODULE line in server/Cerveau.py
write the sentences for using it as describe in server/database/* files
Regex;action type;action;answers
Regex=regex to match
action type=can be "rep" for quick answer, "bash" or python if an action is needed
action=if needed, an action to realise
answers=all possible answers separates by /
Those variables are usable in action:
%IN%=the "important" value in a sentence according to the brain
%PHRASE%=the sentence as send by the user
The two above and the one below are available in answers:
%OUT%=the answer from your module