edit_distance#

pylibcudf.nvtext.edit_distance.edit_distance(Column input, Column targets) Column#

Returns the edit distance between individual strings in two strings columns

For details, see edit_distance()

Parameters:
inputColumn

Input strings

targetsColumn

Strings to compute edit distance against

Returns:
Column

New column of edit distance values

pylibcudf.nvtext.edit_distance.edit_distance_matrix(Column input) Column#

Returns the edit distance between all strings in the input strings column

For details, see edit_distance_matrix()

Parameters:
inputColumn

Input strings

Returns:
Column

New column of edit distance values