Skip to content

Simple truecaser that processes sentence-first and all-uppercase words

License

Notifications You must be signed in to change notification settings

TartuNLP/truecaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

truecaser

Simple truecaser that processes sentence-first and all-uppercase words using a unigram probabilistic approach

Train a model:

learntc.py textfile modelfile

or

cat textfile | learntc.py > modelfile

Do true-casing

applytc.py modelfile textfile > output

or

cat textfile | applytc.py modelfile > output

About

Simple truecaser that processes sentence-first and all-uppercase words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages