|Did you know ...||Search Documentation:|
|Title for pldoc(object(section(2,'4',swi('/doc/packages/nlp.html'))))|
library(isub) implements a similarity measure
between strings, i.e., something similar to the Levenshtein distance.
This method is based on the length of common substrings.
?- isub('E56.Language', 'languange', true, D). D = 0.711348.
If Normalize is
applies string normalization as implemented by the original authors: Text1
and Text2 are mapped to lowercase and the characters "._ "
are removed. Lowercase mapping is done with the C-library function
In general, the required normalization is domain dependent and is better
left to the caller. See e.g., unaccent_atom/2.
|Text1||and Text2 are either an atom, string or a list of characters or character codes.|
|Similarity||is a float in the range [0.0..1.0], where 1.0 means most similar|