Requests an array of neighboring strings and their distances to the given string.
- macOS 10.14+
- Xcode 11.0+
- Create ML
A string in the vector space.
The largest number of neighboring strings to return.
The largest distance a string can be from the given string for the method to consider it a neighbor.
The type of distance which determines which formula the method uses to calculate distance.
An array of tuples, each of which contain a string and a double.