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

https://gricad-gitlab.univ-grenoble-alpes.fr/coavouxm/flaubertagger.git
09 April 2024, 05:01:41 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • c939ca9fac094ac3c379256ef3d3d4d14a5a4bf1
    No releases to show
  • 388777f
  • /
  • src
  • /
  • patch_ftb_train.sh
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

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
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:70fd9dd55c0502ede4db2e72e7962cf41715c9a2
origin badgedirectory badge Iframe embedding
swh:1:dir:c69bc28a718a9d9be4f56505734cbb90b23d2ead
origin badgerevision badge
swh:1:rev:c939ca9fac094ac3c379256ef3d3d4d14a5a4bf1
origin badgesnapshot badge
swh:1:snp:82db0a85833d76805a36c23f8377236abee4ebea
Citations

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
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: c939ca9fac094ac3c379256ef3d3d4d14a5a4bf1 authored by m on 23 February 2024, 16:44:50 UTC
up
Tip revision: c939ca9
patch_ftb_train.sh


corpus=~/data/FRENCH_SPMRL/gold/conll/train/train.French.gold.conll.orig

out=~/data/FRENCH_SPMRL/gold/conll/train/train.French.gold.conll

grep "p=f" $corpus
grep "7	7	7	7" $corpus
grep "UNK	UNK" $corpus
grep "	X	X" $corpus
grep "PC	PC	m" $corpus


sed 's/p=f/p=2/' ${corpus} > ${out}
sed 's/7	7	7	7/7	7	D	DET/g' ${out} > ${out}_tmp
sed 's/demi	demi	X	X/demi	demi	A	ADJ/g' ${out}_tmp > ${out}
sed 's/après	après	PC	PC/après	après	P	P/' ${out} > ${out}_tmp
sed 's/du	du	UNK	UNK/du	du	P+D	P+D/' ${out}_tmp > ${out}
sed 's/New	New	UNK	UNK/New	New	ET	ET/g' ${out} > ${out}_tmp
sed 's/York	York	UNK	UNK/York	York	ET	ET/g' ${out}_tmp > ${out}

#cat ${out}_tmp > $out
rm ${out}_tmp

echo
echo

grep "p=f" $out
grep "7	7	7	7" $out
grep "UNK	UNK" $out
grep "	X	X" $out
grep "PC	PC	m" $out

Software Heritage — Copyright (C) 2015–2025, 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— Contact— JavaScript license information— Web API

back to top