-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for release 2.1.2 #400
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
abstract: A web application for collaborative document annotation. GATE teamware provides | ||
a flexible web app platform for managing classification of documents by human annotators. | ||
authors: | ||
authors: | ||
- affiliation: The University of Sheffield | ||
email: [email protected] | ||
family-names: Karmakharm | ||
|
@@ -33,13 +33,7 @@ keywords: | |
- document annotation | ||
license: AGPL-3.0 | ||
message: If you use this software, please cite it using the metadata from this file. | ||
repository-code: https://github.com/GateNLP/gate-teamware | ||
title: GATE Teamware | ||
type: software | ||
url: https://gatenlp.github.io/gate-teamware/ | ||
version: 2.1.1 | ||
preferred-citation: | ||
type: conference-paper | ||
authors: | ||
- affiliation: The University of Sheffield | ||
email: [email protected] | ||
|
@@ -66,14 +60,22 @@ preferred-citation: | |
family-names: Bontcheva | ||
given-names: Kalina | ||
orcid: https://orcid.org/0000-0001-6152-9600 | ||
collection-title: 'Proceedings of the 17th Conference of the European Chapter of | ||
the Association for Computational Linguistics: System Demonstrations' | ||
doi: 10.18653/v1/2023.eacl-demo.17 | ||
title: "GATE Teamware 2: An open-source tool for collaborative document classification annotation" | ||
collection-title: "Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations" | ||
end: 151 | ||
location: | ||
name: Dubrovnik, Croatia | ||
year: 2023 | ||
month: 5 | ||
start: 145 | ||
end: 151 | ||
publisher: | ||
name: Association for Computational Linguistics | ||
start: 145 | ||
title: 'GATE Teamware 2: An open-source tool for collaborative document classification | ||
annotation' | ||
type: conference-paper | ||
year: 2023 | ||
repository-code: https://github.com/GateNLP/gate-teamware | ||
title: GATE Teamware | ||
type: software | ||
url: https://gatenlp.github.io/gate-teamware/ | ||
version: 2.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.1.1 | ||
2.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
docs/versioned/2.1.1/.vuepress/components/AnnotationRendererPreview.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
<template> | ||
<div> | ||
<b-tabs> | ||
<b-tab title="Code"> | ||
|
||
<slot></slot> | ||
|
||
</b-tab> | ||
<b-tab title="Preview"> | ||
<p v-if="documents.length > 1">Document {{documentIndex + 1}} of {{documents.length}}</p> | ||
<b-card class="mb-2 mt-2"> | ||
<AnnotationRenderer ref="annotationRenderer" | ||
:config="config" | ||
:document="currentDocument" :allow_document_reject="true" | ||
v-model="annotationOutput" | ||
:doc_preannotation_field="preAnnotation" | ||
@submit="nextDocument()" | ||
@reject="nextDocument()" | ||
></AnnotationRenderer> | ||
</b-card> | ||
<b-card class="mb-2 mt-2"> | ||
<p><strong>Annotation output:</strong></p> | ||
{{annotationOutput}} | ||
</b-card> | ||
</b-tab> | ||
|
||
</b-tabs> | ||
</div> | ||
|
||
</template> | ||
|
||
<script> | ||
import AnnotationRenderer from '@/components/AnnotationRenderer'; | ||
|
||
export default { | ||
name: "AnnotationRendererPreview", | ||
components: { | ||
AnnotationRenderer | ||
}, | ||
data(){ | ||
return { | ||
annotationOutput: {}, | ||
documentIndex: 0 | ||
} | ||
|
||
}, | ||
computed: { | ||
documents() { | ||
if(Array.isArray(this.document)) { | ||
return this.document | ||
} else { | ||
return [this.document] | ||
} | ||
}, | ||
currentDocument() { | ||
return this.documents[this.documentIndex] | ||
} | ||
}, | ||
props: { | ||
preAnnotation: { | ||
default(){ | ||
return "" | ||
} | ||
}, | ||
document: { | ||
default(){ | ||
return {text: "Sometext with <strong>html</strong>"} | ||
} | ||
}, | ||
config: { | ||
default() { | ||
return [ | ||
{ | ||
"name": "htmldisplay", | ||
"type": "html", | ||
"text": "{{{text}}}" | ||
}, | ||
{ | ||
"name": "sentiment", | ||
"type": "radio", | ||
"title": "Sentiment", | ||
"description": "Please select a sentiment of the text above.", | ||
"options": { | ||
"negative": "Negative", | ||
"neutral": "Neutral", | ||
"positive": "Positive" | ||
|
||
} | ||
} | ||
] | ||
} | ||
}, | ||
}, | ||
methods: { | ||
nextDocument() { | ||
this.documentIndex = (this.documentIndex + 1) % this.documents.length; | ||
this.$refs.annotationRenderer.clearForm() | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
legend { | ||
font-weight: bold; | ||
} | ||
</style> |
21 changes: 21 additions & 0 deletions
21
docs/versioned/2.1.1/.vuepress/components/DisplayVersion.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template> | ||
<span>{{version_name}}</span> | ||
</template> | ||
|
||
<script> | ||
import versionData from "../versions.json" | ||
export default { | ||
name: "DisplayVersion", | ||
computed: { | ||
version_name(){ | ||
return versionData.current | ||
} | ||
} | ||
|
||
|
||
} | ||
</script> | ||
|
||
<style scoped> | ||
|
||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
const versionData = require("./versions.json") | ||
const path = require("path"); | ||
module.exports = context => ({ | ||
title: 'GATE Teamware Documentation', | ||
description: 'Documentation for GATE Teamware', | ||
base: versionData.base, | ||
themeConfig: { | ||
nav: [ | ||
{text: 'Home', link: '/'}, | ||
{text: 'Annotators', link: '/annotatorguide/'}, | ||
{text: 'Managers & Admins', link: '/manageradminguide/'}, | ||
{text: 'Developer', link: '/developerguide/'} | ||
], | ||
sidebar: { | ||
'/manageradminguide/': [ | ||
"", | ||
"project_management", | ||
"project_config", | ||
"documents_annotations_management", | ||
"annotators_management" | ||
], | ||
'/developerguide/': [ | ||
'', | ||
'frontend', | ||
'testing', | ||
'releases', | ||
'documentation', | ||
"api_docs", | ||
|
||
], | ||
}, | ||
}, | ||
configureWebpack: { | ||
resolve: { | ||
alias: { | ||
'@': path.resolve(__dirname, versionData.frontendSource) | ||
} | ||
} | ||
}, | ||
|
||
|
||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import Vue from 'vue' | ||
import {BootstrapVue, BootstrapVueIcons, IconsPlugin} from 'bootstrap-vue' | ||
|
||
import 'bootstrap/dist/css/bootstrap.css' | ||
import 'bootstrap-vue/dist/bootstrap-vue.css' | ||
|
||
Vue.use(BootstrapVue) | ||
Vue.use(BootstrapVueIcons) | ||
|
||
export default ({ | ||
Vue, // the version of Vue being used in the VuePress app | ||
options, // the options for the root Vue instance | ||
router, // the router instance for the app | ||
siteData // site metadata | ||
}) => { | ||
|
||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given this is technically a breaking change should we go for 2.2.0 instead of 2.1.2?