a node12+ command–line interface for quaesitor
npm install quaesitor-cliQUAESITOR locates Latin scientific names in Chinese, Czech, Danish, Dutch, English, French, German, Italian, Japanese, Latin, Norwegian, Polish, Portuguese, Russian, Spanish, and Swedish text (approximately 96% of biodiversity titles). It uses a combination of pattern matching (regular expressions), a Bloom filter, and a trio of complementary ensembled neural networks. A live version of the web interface is hosted at the New York Botanical Garden.
bash
npm install quaesitor-cli
ln -s node_modules/quaesitor-cli/dist/index.js quaesitor
`
Due to the way @tensorflow/tfjs-node installs, using the ‘-g’ (‘--global’) option, does not work on many systems. The local npm install, shown above, was tested on Ubuntu 20.04 (node v12.20.1) and MacOS 10.14 (node v12.16.1).$3
`bash
$3
quaesitor [ -h ] -i input-file.txt -o output-file
$3
quaesitor [ -h ] -i input-file.txt | program
$3
cat input-file.txt | quaesitor [ -h ] -o output-file
$3
cat input-file.txt | quaesitor [ -h ] | program
`$3
`bash
echo 'Text with one or more Latin Scientific names, such as Cupressus funebris Endl., embedded within it.' | quaesitor
$3
``