update_languages: Updates language index and retrain models

View source: R/geo-tagging.R

update_languagesR Documentation

Updates language index and retrain models

Description

Indexing downloaded languages models and proceed to retrain based on manual or automatic annotations

Usage

update_languages()

Details

Index locally downloaded fasttext pretrained models and train entity detection models. A fasttext model is a collection of vectors for a language automatically produced scrolling a big corpus of text that can be used to capture the semantic of a word.

The URL to download the vectors from are set on the configuration tab of the Shiny app.

This task will also update SVM models to predict whether a word is a location that will be used in the geolocation process.

The indexing is developed in SPARK and Lucene.

Normally this function is not called directly by the user but from the setup function.

Value

Nothing

See Also

download_dependencies

update_geonames

detect_loop

get_tasks

Examples

## Not run: 
   library(episomer)
   # setting up the data folder
   message('Please choose the episomer data directory')
   setup_config(file.choose())

   # updating language tasks
   tasks <- update_languages()

## End(Not run)

episomer documentation built on Nov. 26, 2026, 5:07 p.m.