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 905daf4 commit fb98732
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmeval/metrics/char_recall_precision.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@


class CharRecallPrecision(BaseMetric):
"""Calculate the char level recall & precision.
r"""Calculate the char level recall & precision.
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 fb98732

Please sign in to comment.