Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
step0.txt
step1a.txt
step1b.txt
step2.txt
step3.txt
step4.txt
suffixfsm.go

README.md

suffixfsm

suffixfsm is a finite state machine generator for the porter2. It takes a list of suffixes, creates a tree, and then generates a FSM based on the tree.

You can run the tool by go run suffixfsm.go <filename>.

The output is a function skeleton for each of the suffix lists. Then you can take the output and customize it.