https://github.com/ku1ik/clj-bwt
Clojure implementation of Burrows-Wheeler transform (block-sorting compression)
https://github.com/ku1ik/clj-bwt
Last synced: 3 months ago
JSON representation
Clojure implementation of Burrows-Wheeler transform (block-sorting compression)
- Host: GitHub
- URL: https://github.com/ku1ik/clj-bwt
- Owner: ku1ik
- License: epl-1.0
- Created: 2014-09-22T21:37:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-08T18:36:43.000Z (over 8 years ago)
- Last Synced: 2025-01-20T02:39:24.669Z (5 months ago)
- Language: Clojure
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clj-bwt
A Clojure library for doing Burrows–Wheeler transform (and reverse B-W transform).
## Usage
```clojure
(ns com.example
(:require [clj-bwt.core :refer [bwt reverse-bwt]]))
(bwt "The rain in Spain stays mainly in the plain" \$)
; => "nnyseennn $rplmthhtT aa aapn iiiiiiS y s la"(reverse-bwt "nnyseennn $rplmthhtT aa aapn iiiiiiS y s la" \$)
; => "The rain in Spain stays mainly in the plain"```
## License
Copyright © 2014-2016 Marcin Kulik
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.