[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFR] python-levenshtein Description [ITP]



Christian Perrier wrote:
> Quoting Nicolas François (nicolas.francois@centraliens.net):
>> Description: Python extension computing string distances and similarities
> 
> "Python extension" is IMHO an obivous information given the package
> name. At least not important enough to go to the synopsis and be the
> first words of it..:-)
> 
> "string similarities and distance computing tool" ?

If the package doesn't contain executables, it seems misleading to
advertise it as a "tool" - Python module names aren't all _that_
obvious (compare non-library packages like "perltidy" or "tksmb").

Extensions are, I gather, the subcategory of Python modules
implemented in C, so it would be informative to keep that word.
Combining this with my own complaint about the relatively uncommon
term "string distances", we'd have: 

 Description: extension for computing edit distances

Or maybe now there's room to put the "string similarities" back.

>>  Levenshtein computes Levenshtein distances, similarity ratios, generalized
>>  medians and set medians of Strings and Unicodes.  Because it's implemented
>>  in C, it's much faster than corresponding Python library functions and
>>  methods.
> 
> We usually suggest dropping double spaces.

Oh, I missed that.

I can't find any Pythonists online using "Unicodes" as a noun like
this; it probably should be something like "ASCII or Unicode
strings".  Unless of course it means "strings (in Unicode or a
legacy encoding)"?

So for a Levenshtein distance of 67:

Description: extension for computing string similarities and edit distances
 The Levenshtein module computes Levenshtein distances, similarity ratios,
 generalized medians and set medians of ASCII or Unicode strings. Because
 it's implemented in C, it's much faster than the corresponding Python
 library functions and methods.

-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package


Reply to: