Skip to content

Commit

Permalink
fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold-lkk committed Feb 27, 2023
1 parent 6f8ed67 commit b7e8395
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmeval/metrics/one_minus_norm_edit_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@


class OneMinusNormEditDistance(BaseMetric):
"""One minus NED metric for text recognition task.
r"""One minus NED metric for text recognition task.
Args:
letter_case (str): There are three options to alter the letter cases
- unchanged: Do not change prediction texts and labels.
- upper: Convert prediction texts and labels into uppercase
characters.
- lower: Convert prediction texts and labels into lowercase
characters.
Usually, it only works for English characters. Defaults to
'unchanged'.
valid_symbol (str): A regular expression to filter out invalid or
Expand Down

0 comments on commit b7e8395

Please sign in to comment.