On 2023-06-23 13:30, Emanuel Berg wrote: > Is there a CLI and FOSS tool that creates stats from text > indata - e.g., > > $ txt2stats path/to/indata/*.txt > > I mean a general tool, but with options to tweak the report > included, of course. > > To produce neat stats, maybe even figures, and generate fun > facts of the kind> ....
If you have python programming skills, you might consider .... NLTK : Natural Language Toolkit google-ize NLTK for information I don't know if NLTK will lead you directly to the statistical numbers you are seeking but it will parse text, count words, provide word frequencies, enumerate sentences, etc .... NLTK results could be fed to other python programs for graphical analysis. My personal experience with NLTK is limited and I haven't used it for anything other than simple tests just to get a feel for it .... -- Stanley C. Kitching Human Being Phoenix, Arizona