Skip to content

R support for various batch and online computations in Maximum Entropy Harmonic Grammar. Used to find MaxEnt solutions for learning problems (with or without hidden structure), generate distributions over forms in different theories, and perform associated learning tasks.

License

Notifications You must be signed in to change notification settings

rstaubs/maxent-hidden-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maximum Entropy with Hidden Structure in R

R support for various batch and online computations in Maximum Entropy Harmonic Grammar. Used to find MaxEnt solutions for learning problems (with or without hidden structure), generate distributions over forms in different theories, and perform associated learning tasks.

Installation

  1. Install R (https://cran.rstudio.com/)
  2. Clone repository (e.g. git clone [email protected]:rstaubs/maxent-hidden-structure.git )
  3. Open repository in R environment of choice (e.g., RStudio https://posit.co/download/rstudio-desktop/)

Examples

Examples are shown in the examples directory:

  1. base - Example driver file and data files for parallel MaxEnt (with and without hidden structure)
  2. serial Example driver file and data files for serial MaxEnt

Notes on Optimization

The gradients used in this optimization are derived here: https://websites.umass.edu/hgr/files/2017/07/klnotes.pdf

Citation

Staubs, Robert. 2011. Harmonic Grammar in R (hgR). Software package. Amherst, MA: University of Massachusetts Amherst. https://github.com/rstaubs/maxent-hidden-structure

About

R support for various batch and online computations in Maximum Entropy Harmonic Grammar. Used to find MaxEnt solutions for learning problems (with or without hidden structure), generate distributions over forms in different theories, and perform associated learning tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages