Skip to content

Commit 57ac1ee

Browse files
authored
Merge pull request #3 from yusufSLCN/main
add german letters to preprocessing
2 parents 98fc868 + 4aefe29 commit 57ac1ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ovqa/metrics/preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def preprocess_vqa_answer(answer: str) -> str:
6666
return answer
6767

6868

69-
RE_ALNUM = re.compile(r"[^a-zA-Z0-9 ]+")
69+
RE_ALNUM = re.compile(r"[^a-zA-Z0-9äöüÄÖÜß ]+")
7070

7171

7272
def preprocess_text_simple(in_str: str) -> str:

0 commit comments

Comments
 (0)