Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hocr-wordfreq: word frequency counter #93

Merged
merged 1 commit into from
Jan 21, 2017
Merged

Conversation

kba
Copy link
Contributor

@kba kba commented Jan 20, 2017

Python solution for calculating word frequency

@stweil stweil merged commit f572b8a into ocropus:master Jan 21, 2017
@stweil
Copy link
Collaborator

stweil commented Jan 21, 2017

Thank you. This small helper could be extended to accept any number of hOCR files.

@zuphilip
Copy link
Collaborator

Thank you very much @kba!

@zuphilip
Copy link
Collaborator

@stweil For several hocr files you can also just use two commands, i.e. something like:

hocr-combine *.html | hocr-wordfreq 

@stweil
Copy link
Collaborator

stweil commented Jan 21, 2017

This small helper could be extended to accept any number of hOCR files.

... or to get its input from STDIN. Then pipes like the one suggested above could be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants