<commit_before># Reach Albert
Reach Albert is an aritificial intelligence program by [<NAME>](http://amazecreationz.in) under development.

## Requirements

##### Backend:

 - npm and nodejs
 - Python
 - Redis Cache
 - MySQL
 - Google Firebase
 
##### Frontend:

 * AngularJS
 * jQuery
 
## Startup

 * copy service-account.json to user-handler and message-handler folders.
 * create databases 'reachalbert' and 'readalbert_read_only' in MySQL. (Check for users provided in the code too.)
 * run user-handler.
 * run redis cache and set up keyspace notifications.
 * run message-handler.
 * run main.py script in albert.
 * You are done and Albert is listening. 

## Teach Albert

Following are the syntaxes to teach Albert how to communicate.

### Add Responses
 
 * teach convo \<question\> \<albert's response\>
 
 
### Link Two Questions
 
 * teach convo \<existing_question\> \<new_question\> link


The questions should not have any blank spaces. Spaces should be replaced with underscores and all special characters should be escaped.<commit_msg>JAVA Migration<commit_after># Reach Albert
Reach Albert is an aritificial intelligence program by [<NAME>](http://amazecreationz.in) under development.

## Requirements

##### Backend:

 - JAVA
 - Python
 - Redis Cache
 - MySQL
 - Google Firebase
 
##### Frontend:

 * AngularJS
 * jQuery
 
## Startup

 * add service-account.json to GlobalConstant.java in albert-heart.
 * create databases 'reachalbert' and 'readalbert_read_only' in MySQL. (Check for users provided in the code too.)
 * run albert-heart(Main JAVA File - com.amazecreationz.reachalbert.StartAlbert.java).
 * run redis cache and set up keyspace notifications.
 * You are done and Albert is listening. 

## Teach Albert

Following are the syntaxes to teach Albert how to communicate.

### Add Responses
 
 * teach convo \<question\> \<albert's response\>
 
 
### Link Two Questions
 
 * teach convo \<existing_question\> \<new_question\> link


The questions should not have any blank spaces. Spaces should be replaced with underscores and all special characters should be escaped.
{'fraction_non_alphanumeric': 0.0919047619047619, 'fraction_numerical': 0.0, 'mean_word_length': 3.874709976798144, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6449194', 'n_tokens_mistral': 638, 'n_tokens_neox': 561, 'n_words': 239}