|
| 1 | +--- |
| 2 | +layout: posts |
| 3 | +classes: wide |
| 4 | +title: "CLAMS wrapper for spaCy NLP (v2.0)" |
| 5 | +date: 2024-07-16T16:49:38+00:00 |
| 6 | +--- |
| 7 | +## About this version |
| 8 | + |
| 9 | +- Submitter: [keighrim](https://github.com/keighrim) |
| 10 | +- Submission Time: 2024-07-16T16:49:38+00:00 |
| 11 | +- 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) |
| 12 | +- Release Notes |
| 13 | + |
| 14 | + (no notes provided by the developer) |
| 15 | + |
| 16 | +## About this app (See raw [metadata.json](metadata.json)) |
| 17 | + |
| 18 | +**Apply spaCy NLP to all text documents in a MMIF file.** |
| 19 | + |
| 20 | +- App ID: [http://apps.clams.ai/spacy-wrapper/v2.0](http://apps.clams.ai/spacy-wrapper/v2.0) |
| 21 | +- App License: Apache 2.0 |
| 22 | +- 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)) |
| 23 | +- Analyzer Version: 3.6 |
| 24 | +- Analyzer License: MIT |
| 25 | + |
| 26 | + |
| 27 | +#### Inputs |
| 28 | +(**Note**: "*" as a property value means that the property is required but can be any value.) |
| 29 | + |
| 30 | +- [http://mmif.clams.ai/vocabulary/TextDocument/v1](http://mmif.clams.ai/vocabulary/TextDocument/v1) (required) |
| 31 | +(of any properties) |
| 32 | + |
| 33 | +- [http://vocab.lappsgrid.org/Token](http://vocab.lappsgrid.org/Token) |
| 34 | +(of any properties) |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | +#### Configurable Parameters |
| 39 | +(**Note**: _Multivalued_ means the parameter can have one or more values.) |
| 40 | + |
| 41 | +- `pretokenized`: optional, defaults to `false` |
| 42 | + |
| 43 | + - Type: boolean |
| 44 | + - Multivalued: False |
| 45 | + - Choices: **_`false`_**, `true` |
| 46 | + |
| 47 | + |
| 48 | + > 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. |
| 49 | +- `pretty`: optional, defaults to `false` |
| 50 | + |
| 51 | + - Type: boolean |
| 52 | + - Multivalued: False |
| 53 | + - Choices: **_`false`_**, `true` |
| 54 | + |
| 55 | + |
| 56 | + > The JSON body of the HTTP response will be re-formatted with 2-space indentation |
| 57 | +
|
| 58 | + |
| 59 | +#### Outputs |
| 60 | +(**Note**: "*" as a property value means that the property is required but can be any value.) |
| 61 | + |
| 62 | +(**Note**: Not all output annotations are always generated.) |
| 63 | + |
| 64 | +- [http://vocab.lappsgrid.org/Token](http://vocab.lappsgrid.org/Token) |
| 65 | +(of any properties) |
| 66 | + |
| 67 | +- [http://vocab.lappsgrid.org/Token#pos](http://vocab.lappsgrid.org/Token#pos) |
| 68 | +(of any properties) |
| 69 | + |
| 70 | +- [http://vocab.lappsgrid.org/Token#lemma](http://vocab.lappsgrid.org/Token#lemma) |
| 71 | +(of any properties) |
| 72 | + |
| 73 | +- [http://vocab.lappsgrid.org/NounChunk](http://vocab.lappsgrid.org/NounChunk) |
| 74 | +(of any properties) |
| 75 | + |
| 76 | +- [http://vocab.lappsgrid.org/Sentence](http://vocab.lappsgrid.org/Sentence) |
| 77 | +(of any properties) |
| 78 | + |
| 79 | +- [http://vocab.lappsgrid.org/NamedEntity](http://vocab.lappsgrid.org/NamedEntity) |
| 80 | +(of any properties) |
| 81 | + |
0 commit comments