| Modifier and Type | Field and Description |
|---|---|
LlmStringComparator |
llm |
| Constructor and Description |
|---|
LLMStringSim(String config) |
| Modifier and Type | Method and Description |
|---|---|
MetricResponse |
compare(String arg1,
String arg2)
Intended to calculate similarity between two things -- generally,
elements from text.
|
public LlmStringComparator llm
public LLMStringSim(String config)
public MetricResponse compare(String arg1, String arg2) throws IllegalArgumentException
Metriccompare in interface Metric<String>arg1 - 1st componentarg2 - 2nd componentIllegalArgumentExceptionCopyright © 2017. All rights reserved.