Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge
swh:1:cnt:854bb469debc4582cfe2122b430f6c2137f7fd32

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
# LST

## Installation
* `git clone`
* Lancer `make init`
  * définir les ports apache et adminer ainsi que le mot de passe root mysql, un nom de db, un utilisateur et mot de passe mysql
  * reporter ces valeurs dans le `.env` de Symfony. L'application devrait être dispo sur `localhost:XXX` où `XXX` est le port défini pour apache.


## Données / import
* Données dans `application/data`

* Import via les commandes
  * `php bin/console app:import-csv` (option `emptydb` pour vider la base)
  * `php bin/console app:import-article`
  * `php bin/console app:create-language chinois cn chinese`
  * `php bin/console app:import-csv-trad cn`
  * `php bin/console app:import-fonction`
  * `php bin/console app:import-fonction-collocations`

## Cache
Il y a du cache. Relancer les containers dockers suffit à l'invalider. (voir `application/src/Manager/CacheManager.php`)

```
docker-compose stop
docker-compose up -d
```

## Administration
* Commande pour donner les droits à un utilisateurs : `php bin/console app:toggleadmin <mail>`


## Divers
* Dans doctrine/adminer l'objet lexical_entry a une propriété acceptionUniq du type
  Si LEMMA = introduction_2 et N = N
  Alors acceptionUniq = introduction_N_2
  Si LEMMA = avérer_REFL_1 et N = V
  Alors acceptionUniq = avérer_V_REFL_1

* Routine perl (voir `xml-perl-transform/`) pour reconstruire les id (lemma), ajouter attribut 'acceptionUniq' et supprimer les attributs DEF CS SCS -
```
  <text>
         <front>
             <head><LST CAT="N" TYPE="MONO" LEMMA="approche"
                     DEF="Voie souvent hésitante par laquelle on cherche à cerner un problème complexe\."
                     CS="objet_scientifique" SCS="méthode">Approche</LST> linguistique pour
                     <lb/>l'<LST CAT="N" TYPE="MONO" LEMMA="analyse"
                     DEF="Décomposition en éléments\." CS="processus_cognitif" SCS="examen"
                     TERME="OUI">analyse</LST> syntaxique de corpus</head>
             <docAuthor>
```

## Licence
GNU GENERAL PUBLIC LICENSE V3 (voir le [Guide rapide de la GPLv3](https://www.gnu.org/licenses/quick-guide-gplv3.html))

## Auteurs du code
* Arnaud Bey
* Sylvain Hatier

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API