https://github.com/crim-ca/pacteclient
Java client to access PACTE plaform
https://github.com/crim-ca/pacteclient
java-client natural-language-processing text-annotation
Last synced: 2 months ago
JSON representation
Java client to access PACTE plaform
- Host: GitHub
- URL: https://github.com/crim-ca/pacteclient
- Owner: crim-ca
- License: mit
- Created: 2017-12-23T22:36:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T19:56:41.000Z (about 7 years ago)
- Last Synced: 2025-09-10T06:14:12.053Z (7 months ago)
- Topics: java-client, natural-language-processing, text-annotation
- Language: Java
- Size: 126 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PacteClient
(For English, see below.)
Client Java pour un accès simplifié aux données et fonctionnalités de la [plateforme PACTE](http://pacte.crim.ca).
## Utilisation
Définir l'adresse du serveur et vos accès à l'instance de PACTE utilisé :
```
QuickConfig config = new QuickConfig( "https://patx-pacte.crim.ca", "", "", false, 1);
```
Vous pouvez alors instancier la classe nécessaire pour avoir accès aux fonctions (ici avec la classe `Corpus`) :
```
Corpus corpus = new Corpus(config);
corpus.createCorpus("Nouveau corpus", "fr_fr,en_en");
```
## Contributeurs et remerciements
Ce client été produit par l’équipe [Parole et Texte](https://www.crim.ca/fr/equipes/parole-et-texte) du CRIM dans le cadre du projet [PACTE](http://pacte.crim.ca). Le projet a bénéficié du soutien financier de CANARIE et du ministère de l’Économie, de la Science et de l’Innovation (MESI) du gouvernement du Québec.
## Références
Si vous utilisez la plateforme PACTE pour vos recherches, prière d'utiliser la référence suivante :
[1] Ménard, P. A. et Barrière, C. "PACTE: a collaborative platform for textual annotation" dans Proceedings of the 12th International Conference on Computational Semantics (IWCS 2017). Montpellier, France, du 19 au 22 septembre 2017.
---
# PacteClient
Java client for an easy access to data and functionalities of [PACTE platform](http://pacte.crim.ca).
## Usage
Define the server address and your credentials for the PACTE's instance used:
```
QuickConfig config = new QuickConfig( "https://patx-pacte.crim.ca", "", "", false, 1);
```
You can then use the required class to access related functions (here with the `Corpus` class) :
```
Corpus corpus = new Corpus(config);
corpus.createCorpus("New corpus", "fr_fr,en_en");
```
## Credits and acknowledgements
This client has been produced by the [Speech and Text](https://www.crim.ca/en/teams/speech-and-text) team at CRIM as part of the [Pacte](http://pacte.crim.ca) project. The project was supported by CANARIE and the *ministère de l’Économie, de la Science et de l’Innovation* (MESI) of the Government of Québec.
## References
If you use the PACTE platform for your research, kindly use the following reference:
[1] Ménard, P. A. et Barrière, C. "PACTE: a collaborative platform for textual annotation" in Proceedings of the 12th International Conference on Computational Semantics (IWCS 2017). Montpellier, France, 19 to 22 September 2017