https://github.com/doches/corncob
Idiosyncratic C classes for building probabilistic models based on corpus counts.
https://github.com/doches/corncob
Last synced: over 1 year ago
JSON representation
Idiosyncratic C classes for building probabilistic models based on corpus counts.
- Host: GitHub
- URL: https://github.com/doches/corncob
- Owner: doches
- Created: 2010-04-19T18:29:03.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2011-02-28T15:23:22.000Z (over 15 years ago)
- Last Synced: 2025-02-09T00:17:50.891Z (over 1 year ago)
- Language: C
- Homepage: http://texasexpat.net/
- Size: 316 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mdown
Awesome Lists containing this project
README
Corncob
-------
Corncob is a collection of C classes (yep, you read that right) for building probabilistic models based on
corpus counts, and other compling-y things. It includes homebrew utilities for all kinds of things, including:
+ C-string to integer maps
+ integer to integer maps
+ Sparse count vectors
+ Wordmaps
+ Task-specific linked lists
As well as full-blown implementations built on these tools for a growing number of existing models, including:
+ Blei et al.'s Latent Dirichlet Allocation (lda)
+ Anderson's Rational Model of Categorization (rmc)
I'm not claiming that any of this is good design, by the way. I'd probably be better off using C++ and the STL,
or maybe Boost, or something -- but this way lets me exercise some rusty data-structures-and-algorithms parts of my
brain, and gets my C hackery back up to speed. Good times.
UML-type documentation for these classes can be generated using [crud](http://github.com/doches/crud).