Giter VIP home page Giter VIP logo

sbfst_2019's Introduction

SBFST - Classify the Language of Your DFA

The SBFST library lets you further classify your regular language as star free (SF), locally testable (LT), or piecewise testable (PT) (keep an eye out for more classes coming soon! ๐Ÿ‘€).

Usage

This library is currently not very user friendly. One way to use it is to add your DFA (in the form of four files โ€” test.fst.txt, test.states.syms, test.input.syms, and test.output.syms files โ€” all in AT&T FSM format) to the src/test/resources directory; you can then create and run a test in the src/test/java/sbfst/UtilsTest.java file that reads in your DFA and calls one of the library methods on it to determine if it falls into a certain classification.

Alternatively, you can add your DFA to the src/main/resources directory and then use Maven to compile and package the library into a runnable JAR file:

$ mvn compile package
$ java -jar target/sbfst-1.0-SNAPSHOT-shaded.jar [file containing DFA in AT&T FSM format]

where the filename you specify should be the base name of the file without the .fst.txt extension (e.g. if you wanted to test a file named test_fst.fst.txt then you should use test_fst as the filename)

sbfst_2019's People

Contributors

elliottuck avatar samantha-belliveau avatar heinz-jeffrey avatar tiantiangao7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.