From f1fa5e245f4474cffa43cdabbb8446c120b6bc61 Mon Sep 17 00:00:00 2001 From: Eric Kow Date: Tue, 19 May 2015 08:37:17 +0200 Subject: [PATCH] DOC fix A* heuristic docs --- attelo/decoding/astar.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/attelo/decoding/astar.py b/attelo/decoding/astar.py index 793dda7..b7e6da5 100644 --- a/attelo/decoding/astar.py +++ b/attelo/decoding/astar.py @@ -453,11 +453,12 @@ class DiscourseBeamSearch(DiscourseSearch, BeamSearch): class Heuristic(Enum): - """ - What sort of right frontier constraint to apply during decoding: + """Heuristic cost to guide A* search with - * simple: every relation is treated as subordinating - * full: (falls back to simple in case of unlabelled prediction) + * zero: see DiscourseState.h_zero + * max: see DiscourseState.h_best_overall + * best: see DiscourseState.h_best + * average: see DiscourseState.h_average """ zero = 0 max = 1