program-ab | Program AB , the reference implementation | Chat library

 by   lumenrobot Java Version: Current License: LGPL-3.0

kandi X-RAY | program-ab Summary

kandi X-RAY | program-ab Summary

program-ab is a Java library typically used in Messaging, Chat applications. program-ab has build file available, it has a Weak Copyleft License and it has low support. However program-ab has 21 bugs and it has 3 vulnerabilities. You can download it from GitHub.

Fork of Program AB, the reference implementation of the AIML 2.0 draft specification. AIML is a widely adopted standard for creating chat bots and mobile virtual assistants like ALICE, Mitsuku, English Tutor, The Professor, S.U.P.E.R. and many more.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              program-ab has a low active ecosystem.
              It has 56 star(s) with 55 fork(s). There are 15 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 5 open issues and 3 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of program-ab is current.

            kandi-Quality Quality

              OutlinedDot
              program-ab has 21 bugs (15 blocker, 0 critical, 2 major, 4 minor) and 813 code smells.

            kandi-Security Security

              program-ab has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              OutlinedDot
              program-ab code analysis shows 3 unresolved vulnerabilities (3 blocker, 0 critical, 0 major, 0 minor).
              There are 51 security hotspots that need review.

            kandi-License License

              program-ab is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              program-ab releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              program-ab saves you 1837 person hours of effort in developing the same functionality from scratch.
              It has 4056 lines of code, 288 functions and 38 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed program-ab and discovered the below as its top functions. This is intended to give you an instant insight into program-ab implemented functionality, and help decide if they suit your requirements.
            • Load brain categories from the AIML file
            • Tokenize a sentence
            • Process category nodes
            • Converts an AIML file into categories
            • Evaluates information about a contact
            • Returns null if no contact name exists
            • Parse a new contact
            • Add all the AIML maps
            • Read an AIML map for the specified bot
            • Loads a map from an input stream
            • Adds the AIML Sets from the directory
            • Reads an external set from an input stream
            • Read the AIML set
            • Set all the path variables for this bot
            • Main entry point
            • Evaluates a tag for a loop
            • Fixes the contents of a CSV file
            • Print the path
            • Prints the memory size of the heap
            • Get the copyright from an InputStream
            • Read the substitutions from a file
            • A human friendly contact
            • Test for two dates
            • Normalize a file
            • Load all the categories from the AIMLIF file
            • Start chat session
            Get all kandi verified functions for this library.

            program-ab Key Features

            No Key Features are available at this moment for program-ab.

            program-ab Examples and Code Snippets

            No Code Snippets are available at this moment for program-ab.

            Community Discussions

            QUESTION

            AIML on program-ab : chatbot flow doesn't work with topic tags
            Asked 2019-May-21 at 03:19

            Appreciate anyone who can help me with this. I tried running the AIML below on program-ab, but it doesn't work. Specifically, it skips 'step003'. Anyone who can enlighten me on what is wrong?

            There is no error, but the input keeps skipping into the next step and the resulting output is different from the input keyed in. Would be great if anyone knows what's wrong. Thanks.

            ...

            ANSWER

            Answered 2019-May-21 at 03:19

            The code works. It is a noob mistake when I started previously. I forgot to delete the cached files that contain old flow. Anyone interested in doing some flows may use the approach. Thanks.

            Source https://stackoverflow.com/questions/52606506

            QUESTION

            What is 'MagicBooleans', 'MagicStrings' in alicebot package?
            Asked 2018-Oct-19 at 14:08

            I have found a code for simple chatbot using AIML and Program-ab distribution. There is a use of MagicBooleans and MagicStrings at many places. What exactly are those ? Also, I didn't understood what is a trace_mode ? The code that I found is as follows -

            ...

            ANSWER

            Answered 2018-Oct-19 at 14:08

            MagicBooleans is just a class wrapping static bools:

            Source https://stackoverflow.com/questions/52893931

            QUESTION

            Java use AIML with AB program
            Asked 2018-Oct-16 at 11:35

            I am trying to write a chatbot with java. I've already download AB program from https://code.google.com/archive/p/program-ab/downloads

            However, when I try to write code in IntelliJ, it always shows error like this:

            Here is what I put in my package: Do I miss anything?? Thanks!!

            ...

            ANSWER

            Answered 2018-Oct-16 at 11:35

            You must not have added the Program AB's lib in your project. Ref here for adding it and it should work.

            Also, make sure that the lib show up in External Libraries

            Source https://stackoverflow.com/questions/52833406

            QUESTION

            how to add AIML library from program-ab in netbeans
            Asked 2018-Jan-04 at 07:48

            i have downloaded the program-ab and want to create a GUI java application for chat bot but not sure how to add all resources in Netbeans

            ...

            ANSWER

            Answered 2018-Jan-04 at 07:48

            you just need to add library in project and need to specify the path of bots folder from program-ab directory in object of org.alicebot.ab.Bot object

            Source https://stackoverflow.com/questions/48080001

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install program-ab

            Build using Maven to your local Maven repository:.
            Build using Maven to your local Maven repository: mvn -DskipTests install
            Use in your Maven project: <dependencies> <dependency> <groupId>org.alicebot.ab</groupId> <artifactId>ab</artifactId> <version>4.0.4-SNAPSHOT</version> </dependency> </dependencies> or Gradle project: dependencies { compile 'org.alicebot.ab:ab:4.0.4-SNAPSHOT' }

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/lumenrobot/program-ab.git

          • CLI

            gh repo clone lumenrobot/program-ab

          • sshUrl

            git@github.com:lumenrobot/program-ab.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link