This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -d "$DL_DIR" ]; then | |
echo "Please run this script using the runner, like this:" | |
echo "./docs/cron/runner.sh $0" | |
exit 1 | |
fi | |
DL_DIR=${DL_DIR%/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sentences> <lang>: <average> | |
1177510 eng: 8.046 | |
715491 ita: 5.982 | |
679848 rus: 5.725 | |
666451 tur: 5.113 | |
593492 epo: 7.110 | |
463397 deu: 7.985 | |
392189 fra: 8.285 | |
322568 por: 6.977 | |
301102 spa: 6.956 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Forvo scraper | |
language=${FORVO_LANG:-fr} | |
BASEURL="http://forvo.com/search/" | |
AUDIOURL="http://audio.forvo.com/audios/mp3/" | |
word=$1 | |
if [[ -z $word ]]; then | |
echo "usage: " | |
echo "FORVO_LANG=languagecode ./forvo_scraper.sh myword" |