Learn R Programming

⚠️There's a newer version (1.1) of this package.Take me there.

word.alignment (version 1.0.9)

Computing Word Alignment Using IBM Model 1 (and Symmetrization) for a Given Parallel Corpus and Its Evaluation

Description

For a given Sentence-Aligned Parallel Corpus, it aligns words for each sentence pair. It considers one-to-many and symmetrization alignments. Moreover, it evaluates the quality of word alignment based on this package and some other software. It also builds an automatic dictionary of two languages based on given parallel corpus.

Copy Link

Version

Install

install.packages('word.alignment')

Monthly Downloads

223

Version

1.0.9

License

GPL (>= 2)

Maintainer

Neda Daneshgar

Last Published

February 21st, 2018

Functions in word.alignment (1.0.9)

prepareData

Initial Preparations of Bitext before the Word Alignment and the Evaluation of Word Alignment Quality
squareN

Finding Neighborhood Locations
cons.agn

Constructing Cross Tables of the Source Language Words vs the Target Language Words of Sentence Pairs
word_alignIBM1

Computing One-to-Many Word Alignment Using IBM Model 1 for a Given Parallel Corpus
culf

Make a String's First n Characters Lowercase
word.alignment-package

Computing Word Alignment Using IBM Model 1 (and Symmetrization) for a Given Parallel Corpus and Its Evaluation
mydictionary

Building an Automatic Bilingual Dictionary
Evaluation1

Evaluation of Word Alignment Quality
Symmetrization

Calculating Symmetric Word Alignment
align_test.set

Computing One-to-Many Word Alignment Using a Parallel Corpus for a Given Test Set
ExcelToR

Converting Excel Files Into Required R Format