Skip to contents

f: (a, b) -> y with the label space ENFORCED. y is "bin", "3way" or "reg".

Usage

morie_kamath_ch6_alignment_function(a, b, y, f = NULL)

Arguments

a, b

Context and claim.

y

Output space.

f

Head.

Value

List with estimate, label, space, labels.

Examples

morie_kamath_ch6_alignment_function("a", "b", "3way", function(a,
    b) "CONTRADICT")
#> $estimate
#> [1] 0
#> 
#> $label
#> [1] "CONTRADICT"
#> 
#> $space
#> [1] "3way"
#> 
#> $labels
#> [1] "ALIGNED"    "CONTRADICT" "NEUTRAL"   
#> 
#> $a
#> [1] "a"
#> 
#> $b
#> [1] "b"
#> 
#> $n
#> [1] 2
#> 
#> $method
#> [1] "AlignScore alignment function (Kamath Eq 6.2)"
#>