Skip to content
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

App Submitted - spacy-wrapper.v2.0 #167

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions docs/_apps/spacy-wrapper/v2.0/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
layout: posts
classes: wide
title: "CLAMS wrapper for spaCy NLP (v2.0)"
date: 2024-07-16T16:49:38+00:00
---
## About this version

- Submitter: [keighrim](https://github.com/keighrim)
- Submission Time: 2024-07-16T16:49:38+00:00
- Prebuilt Container Image: [ghcr.io/clamsproject/app-spacy-wrapper:v2.0](https://github.com/clamsproject/app-spacy-wrapper/pkgs/container/app-spacy-wrapper/v2.0)
- Release Notes

(no notes provided by the developer)

## About this app (See raw [metadata.json](metadata.json))

**Apply spaCy NLP to all text documents in a MMIF file.**

- App ID: [http://apps.clams.ai/spacy-wrapper/v2.0](http://apps.clams.ai/spacy-wrapper/v2.0)
- App License: Apache 2.0
- Source Repository: [https://github.com/clamsproject/app-spacy-wrapper](https://github.com/clamsproject/app-spacy-wrapper) ([source tree of the submitted version](https://github.com/clamsproject/app-spacy-wrapper/tree/v2.0))
- Analyzer Version: 3.6
- Analyzer License: MIT


#### Inputs
(**Note**: "*" as a property value means that the property is required but can be any value.)

- [http://mmif.clams.ai/vocabulary/TextDocument/v1](http://mmif.clams.ai/vocabulary/TextDocument/v1) (required)
(of any properties)

- [http://vocab.lappsgrid.org/Token](http://vocab.lappsgrid.org/Token)
(of any properties)



#### Configurable Parameters
(**Note**: _Multivalued_ means the parameter can have one or more values.)

- `pretokenized`: optional, defaults to `false`

- Type: boolean
- Multivalued: False
- Choices: **_`false`_**, `true`


> Boolean parameter to set the app to use existing tokenization, if available, for text documents for NLP processing. Useful to process ASR documents, for example.
- `pretty`: optional, defaults to `false`

- Type: boolean
- Multivalued: False
- Choices: **_`false`_**, `true`


> The JSON body of the HTTP response will be re-formatted with 2-space indentation


#### Outputs
(**Note**: "*" as a property value means that the property is required but can be any value.)

(**Note**: Not all output annotations are always generated.)

- [http://vocab.lappsgrid.org/Token](http://vocab.lappsgrid.org/Token)
(of any properties)

- [http://vocab.lappsgrid.org/Token#pos](http://vocab.lappsgrid.org/Token#pos)
(of any properties)

- [http://vocab.lappsgrid.org/Token#lemma](http://vocab.lappsgrid.org/Token#lemma)
(of any properties)

- [http://vocab.lappsgrid.org/NounChunk](http://vocab.lappsgrid.org/NounChunk)
(of any properties)

- [http://vocab.lappsgrid.org/Sentence](http://vocab.lappsgrid.org/Sentence)
(of any properties)

- [http://vocab.lappsgrid.org/NamedEntity](http://vocab.lappsgrid.org/NamedEntity)
(of any properties)

57 changes: 57 additions & 0 deletions docs/_apps/spacy-wrapper/v2.0/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"name": "CLAMS wrapper for spaCy NLP",
"description": "Apply spaCy NLP to all text documents in a MMIF file.",
"app_version": "v2.0",
"mmif_version": "1.0.5",
"analyzer_version": "3.6",
"app_license": "Apache 2.0",
"analyzer_license": "MIT",
"identifier": "http://apps.clams.ai/spacy-wrapper/v2.0",
"url": "https://github.com/clamsproject/app-spacy-wrapper",
"input": [
{
"@type": "http://mmif.clams.ai/vocabulary/TextDocument/v1",
"required": true
},
{
"@type": "http://vocab.lappsgrid.org/Token",
"required": false
}
],
"output": [
{
"@type": "http://vocab.lappsgrid.org/Token"
},
{
"@type": "http://vocab.lappsgrid.org/Token#pos"
},
{
"@type": "http://vocab.lappsgrid.org/Token#lemma"
},
{
"@type": "http://vocab.lappsgrid.org/NounChunk"
},
{
"@type": "http://vocab.lappsgrid.org/Sentence"
},
{
"@type": "http://vocab.lappsgrid.org/NamedEntity"
}
],
"parameters": [
{
"name": "pretokenized",
"description": "Boolean parameter to set the app to use existing tokenization, if available, for text documents for NLP processing. Useful to process ASR documents, for example.",
"type": "boolean",
"default": false,
"multivalued": false
},
{
"name": "pretty",
"description": "The JSON body of the HTTP response will be re-formatted with 2-space indentation",
"type": "boolean",
"default": false,
"multivalued": false
}
]
}
5 changes: 5 additions & 0 deletions docs/_apps/spacy-wrapper/v2.0/submission.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"time": "2024-07-16T16:49:38+00:00",
"submitter": "keighrim",
"image": "ghcr.io/clamsproject/app-spacy-wrapper:v2.0"
}
40 changes: 22 additions & 18 deletions docs/_data/app-index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
{
"http://apps.clams.ai/spacy-wrapper": {
"description": "Apply spaCy NLP to all text documents in a MMIF file.",
"latest_update": "2024-07-16T16:49:38+00:00",
"versions": [
[
"v2.0",
"keighrim"
],
[
"v1.2",
"marcverhagen"
],
[
"v1.1",
"keighrim"
],
[
"v1",
"keighrim"
]
]
},
"http://apps.clams.ai/text-slicer": {
"description": "Slice text snippets from a provided text document given time frames",
"latest_update": "2024-07-02T01:30:06+00:00",
Expand Down Expand Up @@ -141,24 +163,6 @@
]
]
},
"http://apps.clams.ai/spacy-wrapper": {
"description": "Apply spaCy NLP to all text documents in a MMIF file.",
"latest_update": "2024-06-11T12:30:19+00:00",
"versions": [
[
"v1.2",
"marcverhagen"
],
[
"v1.1",
"keighrim"
],
[
"v1",
"keighrim"
]
]
},
"http://apps.clams.ai/llava-captioner": {
"description": "Applies llava to video frames.",
"latest_update": "2024-05-23T19:38:32+00:00",
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/apps.json

Large diffs are not rendered by default.

Loading