Package: ulex Title: Unique Location Extractor Version: 0.1.0 Authors@R: person("Robert", "Marty", , "rmarty@worldbank.org", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-3164-3813")) Description: Extracts coordinates of an event location from text based on dictionaries of landmarks, roads, and areas. Only returns the location of an event of interest and ignores other location references; for example, if determining the location of a road traffic crash from the text "crash near [location 1] heading towards [location 2]", only the coordinates of "location 1" would be returned. Moreover, accounts for differences in spelling between how a user references a location and how a location is captured in location dictionaries. For more information on the algorithm, see Milusheva et al. (2021) . License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.1 Imports: dplyr, tidyr, readr, purrr, tidytext, stringr, stringi, ngram, hunspell, stringdist, tm, raster, parallel, sf, quanteda, geodist, spacyr, utils URL: https://dime-worldbank.github.io/ulex/ Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev libicu-dev libpng-dev libxml2-dev libssl-dev libproj-dev python3 libsqlite3-dev libudunits2-dev libx11-dev Repository: https://dime-worldbank.r-universe.dev Date/Publication: 2026-02-13 18:26:39 UTC RemoteUrl: https://github.com/dime-worldbank/ulex RemoteRef: HEAD RemoteSha: 50d49f61cf8ee1ed38d2f005af6227b63a092328 NeedsCompilation: no Packaged: 2026-09-22 07:34:10 UTC; root Author: Robert Marty [aut, cre] (ORCID: ) Maintainer: Robert Marty