A Go package to parse spintax, a text format used for automated article generation.
$ go get github.com/tamnd/spintax
func Count(spin string) intCount returns the number of variant of the spin.
func Spin(strs []string) stringSpin creates a spin from list of strings.
func Unspin(spin string) stringUnspin creates a string from given spin.
- Fork repository
- Create a feature branch
- Open a new pull request
- Create an issue for bug report or feature request
- Nguyen Duc Tam
- tamnd87@gmail.com
- http://twitter.com/tamnd87
The MIT License (MIT). Please see LICENSE for more information.
Copyright (c) 2015 Nguyen Duc Tam, tamnd87@gmail.com