Section | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
GET Returns the list of parameters if any that the string comparator specified in the path requires. The name of the string comparator must be one of the supported string comparators on the instance. Responses
ExampleVersion 1.0 Accept: applicaton/xml
|
Parameter | Value Type | Parameter Type | R/O | Description |
---|---|---|---|---|
comparator | String | Path Parameter | R | The name of the string comparator for which you want to retrieve the list of parameters. |
value1 | String | Path Parameter | R | The first value in the pair of values whose similarity you want to measure using the specified string comparator |
value2 | String | Path Parameter | R | The second value in the pair of values whose similarity you want to measure using the specified string comparator |
Method
GET
Returns the similarity measure between the two provided values using the string comparator specified in the path.
Responses
200 - Returns the measure of similarity between the two values
404 - Returned if there string comparator specified is no not known comparator on the instance (should never be the case)to the system
Example
Version 1.0
http://localhost:8080/openempi-admin/openempi-ws-rest/1.0/string-comparators/JaroWinkler/John/jon
Accept: text/plain
Return:
Column | ||
---|---|---|
| ||