Archived copy.
This page was recovered from the Internet Archive snapshot of
/display/TR/ohcount taken on 2016-08-26.
The original wiki at wiki.opf-labs.org is being decommissioned.
ohcount
Summary
| Purpose | Analyses plain text files, looking for code (scripting languages etc.) |
| Homepage |
https://github.com/blackducksw/ohcount |
| License |
GNU General Public License Version 2 |
| Debian Package | http://packages.debian.org/stable/ohcount |
| On Ohloh | http://www.ohloh.net/p/ohcount |
Description
A summary of the tool, focussing on aspects useful for digital preservation.
User Experiences
e.g. links to AQuA/SCAPE/Hackathon issues that use the tool
Use ohcount to detect source code text files
NOTE that although it has some clever built-in parser stuff, it doesn't get the right answer unless the file extension is correct. If you feed it a file with the wrong extension (I swapped JS for C) then it still reports all the text as being JavaScript.
This indicates that a Bayesian approach is probably required: http://stackoverflow.com/questions/475033/detecting-programming-language-from-a-snippet
;
News Feeds
Release Feed
Link to any RSS feed that is updated when new releases occur, if any, e.g:
Could not retrieve http://sourceforge.net/api/file/index/project-id/XXXX/mtime/desc/limit/20/rss - Page not permitted. Service Unavailable
Activity Feed
Link to any RSS feed that is updated when issue or code updates occur, if any, e.g: