Skip to content

Commit

Permalink
Update homepage reference
Browse files Browse the repository at this point in the history
- Set port as 80 for nginx as default
  • Loading branch information
rexruan committed Aug 21, 2024
1 parent c5d4b76 commit 1b91b99
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- swegram-network
profiles:
- client
- frontend

backend:
image: rex0046/swegram-backend:1.0.4 # Image needs to be built with network
Expand All @@ -41,6 +42,7 @@ services:
- swegram-network
profiles:
- client
- backend

vue-nginx-proxy:
build: frontend
Expand All @@ -50,7 +52,7 @@ services:
container_name: vue-nginx
restart: always
ports:
- "8080:8080"
- "80:80"
networks:
- swegram-network
profiles:
Expand Down
14 changes: 10 additions & 4 deletions frontend/src/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
height="125"
width="125"
>
<p class="link-container">
<!-- <p class="link-container">
<a href="..">
<el-button type="plain">{{ $t('homePage.legacyVersion') }}
<i class="el-icon-time" />
</el-button>
</a>
</p>
</p> -->
<p class="link-container">
<a href="..">
<el-button type="plain">{{ $t('homePage.downloadManual') }}
Expand Down Expand Up @@ -77,8 +77,14 @@
<b>{{ $t('homePage.participant') }}</b>: {{ $t('homePage.participantContent') }}<br>
<!-- <b>{{ $t('homePage.developer') }}</b>: {{ $t('homePage.developerContent') }}<br> -->
<el-divider />
<b>{{ $t('homePage.references') }}</b>: <br>
{{ $t('homePage.references') }} <br>
<i18n
path="homePage.reference2024"
:tag="false"
>
<!-- <a href="https://cl.lingfil.uu.se/~bea/publ/swegram-manual-2019.pdf">{{ $t('homePage.getPDF') }}</a> -->
</i18n>
<!-- <i18n
path="homePage.reference2019"
:tag="false"
>
Expand All @@ -90,7 +96,7 @@
:tag="false"
>
<a href="https://cl.lingfil.uu.se/~bea/publ/swegram-2017.pdf">{{ $t('homePage.getPDF') }}</a>
</i18n>
</i18n> -->
</div>
</el-main>
<el-footer>
Expand Down
9 changes: 5 additions & 4 deletions frontend/src/i18n/langs/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,14 @@ const en = {
swegramIntro: 'SWEGRAM aims to provide a tool for text analysis in Swedish and English. You can upload one or several texts and annotate them at different linguistic levels with morphological and syntactic information. The annotated texts can then be used to extract statistics about the text properties with respect to text length, number of words, readability measures, part-of-speech, and much more.',
svEntryText: 'Swedish texts',
enEntryText: 'English texts',
purpose: 'The SWEGRAM tool has been developed in collaboration between the Department of Scandinavian Languages and the Department of Linguistics and Philology at Uppsala University within the framework of the {0} project, which aims to make linguistic data available as primary research data for researchers within the Humanities and Social Sciences (HS) using advanced text and speech processing tools.',
purpose: 'The SWEGRAM tool has been developed in collaboration between the Department of Scandinavian Languages and the Department of Linguistics and Philology at Uppsala University within the framework of the {0} project, which aims to make linguistic data available as primary research data for researchers within the Humanities and Social Sciences (HS) using advanced text and speech processing tools. SWEGRAM is now hosted and maintained by the Department of Linguistics, Stockholm University.',
projectLeader: 'Project leader',
projectLeaderContent: 'Beáta Megyesi, Department of Linguistics and Philology, UU',
projectLeaderContent: 'Beáta Megyesi, Department of Linguistics, SU',
participant: 'Project participants',
participantContent: 'Anne Palmér, Department of Scandinavian Languages, UU and Rex Ruan, Eva Pettersson, Shifei Chen and Jesper Näsman, Department of Linguistics and Philology, UU',
references: 'References',
participantContent: 'Anne Palmér, Department of Scandinavian Languages, UU; Rex Ruan, Shifei Chen and Jesper Näsman, Department of Linguistics and Philology, UU',
references: 'SWEGRAM is licensed under Creative Commons CC BY-SA, which allows you to freely use, share, copy, distribute, modify, and adapt the tool in various forms and formats for any purpose, including commercial use. However, you must provide appropriate credit to SWEGRAM in connection with any use, distribution, or modification. When using the tool, please reference it as follows:',
getPDF: 'get pdf',
reference2024: 'Megyesi, B. and Ruan, R. (2024) SWEGRAM 2.0: Guidelines to Annotation and analysis of English and Swedish Texts. Department of Linguistics, Stockholm University, Sweden.',
reference2019: 'Megyesi, B., Palmér, A. & Näsman J. (2019) SWEGRAM - Annotering och analys av svenska texter. Institutionen för lingvistik och filologi och Institutionen för nordiska språk, Uppsala universitet. [{0}]',
reference2017: 'Näsman, J., Megyesi, B., & Palmér, A. (2017) SWEGRAM - A WebBased Tool for Automatic Annotation and Analysis of Swedish Texts. In Proceedings of 21st Nordic Conference on Computational Linguistics, Nodalida 2017. [{0}]',
iconsCredit: 'Icons made by {0} from {1} is licensed by {2}',
Expand Down
9 changes: 5 additions & 4 deletions frontend/src/i18n/langs/sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,14 @@ const sv = {
swegramIntro: 'SWEGRAM syftar till att ge möjlighet att märka upp och analysera texter på svenska och engelska. Du kan ladda upp en eller flera texter och annotera dessa på olika lingvistiska nivåer med morfologisk och syntaktisk information. Annoterade texter kan sedan användas för att få fram statistik om texterna med avseende på meningslängd, antal ord, läsbarhetsmått, ordklasstatistik med mera.',
svEntryText: 'Svenska texter',
enEntryText: 'Engelska texter',
purpose: 'Annoterings- och analysverktyget har utvecklats i samarbete mellan Institutionen för nordiska språk och Institutionen för lingvistik och filologi vid Uppsala universitet inom ramen av {0}-projektet som syftar till att tillgängliggöra språkbaserade material som primära forskningsdata för humanistisk och samhällsvetenskaplig (HS) forskning med hjälp av avancerade bearbetningsverktyg för text och tal.',
purpose: 'Annoterings- och analysverktyget har utvecklats i samarbete mellan Institutionen för nordiska språk och Institutionen för lingvistik och filologi vid Uppsala universitet inom ramen av {0}-projektet som syftar till att tillgängliggöra språkbaserade material som primära forskningsdata för humanistisk och samhällsvetenskaplig (HS) forskning med hjälp av avancerade bearbetningsverktyg för text och tal. SWEGRAM drivs och underhålls av Institutionen för lingvistik vid Stockholms universitet.',
projectLeader: 'Projektledare',
projectLeaderContent: 'Beáta Megyesi, Institutionen för lingvistik och filologi, UU',
projectLeaderContent: 'Beáta Megyesi, Institutionen för lingvistik, SU',
participant: 'Projektdeltagare',
participantContent: 'Anne Palmér, Institutionen för nordiska språk, UU, och Rex Ruan, Eva Petterson, Shifei Chen och Jesper Näsman, Institutionen för lingvistik och filologi, UU',
references: 'Referenser',
participantContent: 'Anne Palmér, Institutionen för nordiska språk, UU, och Rex Ruan, Shifei Chen och Jesper Näsman, Institutionen för lingvistik och filologi, UU',
references: 'SWEGRAM är licensierat under Creative Commons CC BY-SA, vilket tillåter dig att fritt använda, dela, kopiera, distribuera, modifiera och anpassa verktyget i olika former och format för alla ändamål, inklusive kommersiellt bruk. Du måste dock ge lämplig kredit till SWEGRAM i samband med användning, distribution eller modifiering. När du använder verktyget, vänligen referera till det på följande sätt:',
getPDF: 'skaffa fil i form av pdf',
reference2024: 'Megyesi, B. and Ruan, R. (2024) SWEGRAM 2.0: Guidelines to Annotation and analysis of English and Swedish Texts. Department of Linguistics, Stockholm University, Sweden.',
reference2019: 'Megyesi, B., Palmér, A. & Näsman J. (2019) SWEGRAM - Annotering och analys av svenska texter. Institutionen för lingvistik och filologi och Institutionen för nordiska språk, Uppsala universitet. [{0}]',
reference2017: 'Näsman, J., Megyesi, B., & Palmér, A. (2017) SWEGRAM - A WebBased Tool for Automatic Annotation and Analysis of Swedish Texts. In Proceedings of 21st Nordic Conference on Computational Linguistics, Nodalida 2017. [{0}]',
iconsCredit: 'Icons made by {0} from {1} is licensed by {2}',
Expand Down

0 comments on commit 1b91b99

Please sign in to comment.