Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

-------------------------------------------------------------------------------

This product includes software that follows the design of the following
third-party project.

anls_star
https://pypi.org/project/anls_star/
Licensed under the Apache License, Version 2.0.

The ANLS* metric, and the approach of scoring structured output whose shape is
not declared by walking it as a tree, are taken from this project. The
implementation lives in src/stickler/structured_object_evaluator/trees/ and is
exposed as stickler.anls_score and stickler.ANLSStarComparator.

Stickler diverges in one respect: anls_star applies a fixed per-leaf threshold,
where Stickler makes it a parameter, because whether a near match at a leaf
should earn partial credit depends on the data being evaluated.
