Simple perl/dancer2 JSON API to find words matching a pattern
1.5K
Simple perl/dancer2 JSON API to find words matching a pattern.
When supplied a list of letters, return a list of all the words that can be built from just those letters. The input letters can include repeats. Not all input letters need to be used. Each letter in the input list can appear at most once in the output words.
https://github.com/d5ve/wordfinder
$ docker run -d -p 8080:80 d5ve/wordfinder:latest # amd/arm
...
$ curl http://localhost:8080/ping
OK
$ curl http://localhost:8080/wordfinder/dgo
[ "do", "dog", "go", "god" ]
# New, faster algorithm.
$ curl http://localhost:8080/wordfinder4/dgo
[ "do", "dog", "go", "god" ]
Wordfinder is free software; you can redistribute it and/or modify it under the same terms as perl itself.
Content type
Image
Digest
Size
53.1 MB
Last updated
over 4 years ago
docker pull d5ve/wordfinder