Skip to content

Commit

Permalink
Merge f1fa5e2 into 56f0092
Browse files Browse the repository at this point in the history
  • Loading branch information
kowey committed May 25, 2015
2 parents 56f0092 + f1fa5e2 commit 808f755
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions attelo/decoding/astar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 808f755

Please sign in to comment.