KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
Chatbot
★ 10
Open GitHub ↗
AIML CHATBOT using JAVA
Download README (.md)
Explore Similar Repositories
ring3_hwid_spoofer
:
应用级的反反作弊引擎锁电脑程序
svelte-dotnet-samples
:
No description available.
flutter_base_structure
:
Opinionated Flutter monorepo template with multi-flavor builds, clean architecture (BLoC + Freezed + Injectable), codegen, localization, distribution scaffolding, and bundled AI coding-agent guidance.
LEGO
:
Low-carbon Expansion Generation Optimization (LEGO) model
php-query-builder
:
Powerfull and lightweight PHP SQL Query Builder with fluid interface SQL syntax unsing bindings and complicated query generation
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Chatbot
?
Download (.md)
#### why chatbot? ``` Chatbot applications streamline interactions between people and services, enhancing customer experience. At the same time, they offer companies new opportunities to improve the customers engagement process and operational efficiency by reducing the typical cost of customer service. ``` ## # AIML: * ARITIFICAL INTELLIGENCE MACHINE LANGUAGE * xml based markup language human interface * aliebot what is chat-bot #### A.L.I.C.E: * simple to program * easy to understand * highly maintable ### Create a Folder LIB: - add AB.jar ### create a folder Src/main/ -> resources -> add Bots Folder #### Alicebot: ab.util ab.*; artifical linguistic internet company entity open source project: ### first step: Ab.jar ## maven pom.xml: <dependencies> <dependency> <groupId>com.google</groupId> <artifactId>Ab</artifactId> <version>0.0.4.3</version> <scope>system</scope> <systemPath> ${basedir}/lib/Ab.jar </systemPath> </dependency> </dependencies> ## AIML FILE: <aiml version ="2.0"> <category> <pattern>what is you name</pattern> <template>ar</template> </category> </aiml> ## Chat.java: package chatbott; import java.io.File; import org.alicebot.ab.*; import org.alicebot.ab.utils.*; public class chat { private static final boolean TRACE_MODE=false; public static void main(String args[]) { try { String resourcepath=getpath(); MagicBooleans.trace_mode=TRACE_MODE; Bot b=new Bot("super",resourcepath); Chat chatsession=new Chat(b); String textline=""; while(true) { System.out.println("YOU : "); textline=IOUtils.readInputTextLine(); if(textline==null || textline.length()<1) { textline=MagicStrings.null_input; } else if(textline.equals("q")) { System.exit(0); } else if(textline.equals("wq")) { b.writeQuit(); System.exit(0); } else { String request=textline; String response=chatsession.multisentenceRespond(request); System.out.println("BOT :"+response); } } } catch (Exception e){ } } private static String getpath() { File currd=new File("."); String path=currd.getAbsolutePath(); String resourcepath=path + File.separator +"src" + File.separator +"main" +File.separator +"resources"; return resourcepath; } } ### Run a Program: run -> chat.java ->check in console Run as jar: Java -jar chat.jar