Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

La génération des vocabulaires de tailles importantes (dcfr_labs_*, dcfr_affiliations, dcfr_reviews) est un processus long !
Pour le seul vocabulaire dcfr_affiliations, il peut prendre environ 45 minutes (test effectué sur une machine Intel i7-720QM, 8Go RAM)
Mais cela est essentiellement dû aux nombreux appels web services qui y sont réalisés ; par conséquent, ce même processus reste peu gourmand en ressources mémoire et cpu.

Commandes de génération des vocabulaires HAL
Code Block
titledcfr_affiliations.xml

...


get_ws_vocab.py -l fr -n "Affiliations des laboratoires HAL" -i hal_affis -M getRefLab_byId -K knownLabid -L affiliation -G id:affi -B knownLabid -P getRefLab -Z '' "http://hal.archives-ouvertes.fr/ws/ref.php?wsdl" /repertoire/dcfr_affiliations.xml
Code Block
titledcfr_labs_names.xml

...


get_ws_vocab.py -l "fr" -n "Noms des laboratoires HAL" -i hal_labs_names -M getRefLab_byId -K knownLabid -L name -B knownLabid -P getRefLab -Z '' "http://hal.archives-ouvertes.fr/ws/ref.php?wsdl" /repertoire/dcfr_labs_names.xml
Code Block
titledcfr_labs_short_names.xml

...


get_ws_vocab.py -l "fr" -n "Sigles des laboratoires HAL" -i hal_labs -M getRefLab_byId -K knownLabid -L shortName -B knownLabid -P getRefLab -Z '' "http://hal.archives-ouvertes.fr/ws/ref.php?wsdl" /repertoire/dcfr_labs_short_names.xml
Code Block
titledcfr_labs_countries.xml

...


get_ws_vocab.py -l "fr" -n "Pays des laboratoires HAL" -i hal_labs_countries -M getRefLab_byId -K knownLabid -L pays -B knownLabid -P getRefLab -Z '' "http://hal.archives-ouvertes.fr/ws/ref.php?wsdl" /repertoire/dcfr_labs_countries.xml
Code Block
titledcfr_labs_addresses.xml

...


get_ws_vocab.py -l "fr" -n "Adresses des laboratoires HAL" -i hal_labs_addresses -M getRefLab_byId -K knownLabid -L address -B knownLabid -P getRefLab -Z '' "http://hal.archives-ouvertes.fr/ws/ref.php?wsdl" /repertoire/dcfr_labs_addresses.xml
Code Block
titledcfr_reviews.xml

...


get_ws_vocab.py -l "fr" -n "Hal Reviews" -i dcfr_reviews -M getRefReview_byId -K ISSN -L name -B id -P getRefReview -Z '' "http://hal.archives-ouvertes.fr/ws/ref.php?wsdl" /repertoire/dcfr_reviews.xml