Skip to content

Importing into R interlinearized corpora and associated dictionaries.

License

Notifications You must be signed in to change notification settings

sylvainloiseau/interlineaR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interlineaR : utility functions for importing into R interlinearized corpora and dictionaries

Author: Sylvain Loiseau
License: BSD_3_clause

CRAN_Status_Badge

Installation

# stable version:
install.packages("interlineaR")

# development version:
devtools::install_github("sylvainloiseau/interlineaR",  build_vignettes=TRUE)

Usage

Import an interlinearised corpus in the EMELD XML format (as exported from SIL FieldWorks for instance):

path <- system.file("exampleData", "tuwariInterlinear.xml", package="interlineaR")
corpus <- read.emeld(path, vernacular.languages="tww")

Import an interlinearised corpus in Toolbox (SIL) format:

path <- system.file("exampleData", "tuwariToolbox.txt", package="interlineaR")
corpus <- read.toolbox(path)

Import a dictionary in the LIFT XML format (as exported from SIL FieldWorks for instance):

dicpath <- system.file("exampleData", "tuwariDictionary.lift", package="interlineaR")
dictionary <- read.lift(dicpath, language.code="tww")

Documentation

See the vignette interlineaR for an overview of the data model and the functions of this package.

About

Importing into R interlinearized corpora and associated dictionaries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages