textproc/p5-Text-Brew 0.02nb16 NetBSD
Perl module for configurable and analyzable edit distances
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- textproc, perl5
- Package size
- 7.6 KiB, 14.2 KiB installed
Description
This module implements the Brew edit distance that is very close to the dynamic programming technique used for the Wagner-Fischer (and so for the Levenshtein) edit distance. The difference here is that you have separated costs for the DELetion and INSertion operations (but with the default to 1 for both, you obtain the Levenshtein edit distance). But the most interesting feature is that you can obtain the description of the edits needed to transform the first string into the second one (not vice versa: here DELetions are separated from INSertions).
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/p5-Text-Brew | 0.02nb16 |
| FreeBSD | textproc/p5-Text-Brew | 0.02_1 |
| DragonFly | textproc/p5-Text-Brew | 0.02_1 |
| HardenedBSD | textproc/p5-Text-Brew | 0.02_1 |
| GhostBSD | textproc/p5-Text-Brew | 0.02_1 |
Install
Binary package:
pkgin install p5-Text-Brew
From pkgsrc:
cd /usr/pkgsrc/textproc/p5-Text-Brew && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.02nb16 |
| NetBSD 10.1 aarch64 | 0.02nb15 |
| SmartOS / illumos x86_64 | 0.02nb16 |
| macOS 15 arm64 | 0.02nb16 |