Ftfy for Elixir
Copyright 2026 FashionUnited
This product is an Elixir port of ftfy ("fixes text for you").
ftfy was created by Robyn Speer and is Copyright 2023 Robyn Speer,
licensed under the Apache License, Version 2.0.
Original project: https://github.com/rspeer/python-ftfy
This is a derivative work: the library has been translated from Python to
Elixir. The lookup tables and regexes in lib/ftfy/data.ex are generated from
the reference Python implementation (version 6.3.1) by scripts/gen_data.py, and
the behavioral test corpus in test/test-cases/ is ported directly from
python-ftfy. These files therefore derive from, and are changed copies of,
material from the original project.
If you use ftfy in research, please cite the original author's work as
described at https://github.com/rspeer/python-ftfy.