#!/bin/bash
set -ex
export LC_ALL=C.UTF-8
strokes='[[137.7, 17.85, 33.15, 243.525], [91.8, 107.7375, 224.4, 228.8625]]'
best_match="$(python3 -c "
from kanjidraw.lib import matches
print(next(matches($strokes))[1])
")"
test "$best_match" = 人
