Skip to content

Commit

Permalink
Improve publications shortening
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Heinrich Reimer <heinrich@reimer.family>
  • Loading branch information
heinrichreimer committed Jun 3, 2024
1 parent 67df072 commit 797c2d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions layouts/shortcodes/cv/publications.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
{{- $publisher = replace $publisher "Association for Computational Linguistics" "ACL" -}}
{{- $publisher = replace $publisher "CEUR Workshop Proceedings" "CEUR.ws" -}}
{{- $publisher = replace $publisher "National Institute of Standards and Technology (NIST)" "NIST" -}}
{{- $publisher = replace $publisher "International Joint Conferences on Artificial Intelligence Organization" "IJCAI" -}}
{{- $links := index . "a" -}}
{{- $linksPaper := where $links "-class" "paper" -}}
{{- $linkPaper := "" -}}
Expand Down Expand Up @@ -148,6 +149,9 @@
{{- with strings.FindRESubmatch "Working Notes Papers of the (CLEF [0-9]{4}) Evaluation Labs" $booktitle 1 -}}
{{- $booktitle = index (index . 0) 1 -}}
{{- end -}}
{{- with strings.FindRESubmatch "Lernen. Wissen. Daten. Analysen. – (LWDA [0-9]{4})" $booktitle 1 -}}
{{- $booktitle = index (index . 0) 1 -}}
{{- end -}}
{{- $series := "" -}}
{{- with where $spans "-class" "series" -}}
{{- $series = index (index . 0) "#text" -}}
Expand Down

0 comments on commit 797c2d7

Please sign in to comment.