Tool for measuring readability of English textenglish for terminal, spanish for everything...

How do I align tablenotes in a threeparttable

Professor forcing me to attend a conference, I can't afford even with 50% funding

std::string vs const std::string& vs std::string_view

Boss Telling direct supervisor I snitched

Use Mercury as quenching liquid for swords?

PTIJ: Sport in the Torah

How would an energy-based "projectile" blow up a spaceship?

Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?

Too soon for a plot twist?

What would be the most expensive material to an intergalactic society?

Was it really inappropriate to write a pull request for the company I interviewed with?

Insult for someone who "doesn't know anything"

How to recover against Snake as a heavyweight character?

Can I challenge the interviewer to give me a proper technical feedback?

Unidentified signals on FT8 frequencies

Can I negotiate a patent idea for a raise, under French law?

Is this a crown race?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Giving a talk in my old university, how prominently should I tell students my salary?

Vector-transposing function

Did Amazon pay $0 in taxes last year?

How do you make a gun that shoots melee weapons and/or swords?

Why restrict private health insurance?

Are small insurances worth it?



Tool for measuring readability of English text


english for terminal, spanish for everything elseEnglish/Hungarian usersIs there a text based mind mapping tool for Ubuntu?Changing ubuntu server's language to englishSimple GUI to display static text informationsGambas3 in EnglishWhat software exists for learning the English language in Ubuntu?Why some apps appear in english?Command-line snake game?Unicode Text Tool













4















Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?



For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.



I believe such a program exists in the official repositories, but I cannot remember its name. There's also the possibility that I am misremebering.










share|improve this question





























    4















    Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?



    For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.



    I believe such a program exists in the official repositories, but I cannot remember its name. There's also the possibility that I am misremebering.










    share|improve this question



























      4












      4








      4


      1






      Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?



      For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.



      I believe such a program exists in the official repositories, but I cannot remember its name. There's also the possibility that I am misremebering.










      share|improve this question
















      Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?



      For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.



      I believe such a program exists in the official repositories, but I cannot remember its name. There's also the possibility that I am misremebering.







      command-line software-recommendation language






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 3 hours ago









      dessert

      24.3k670104




      24.3k670104










      asked 4 hours ago









      FluxFlux

      1283




      1283






















          1 Answer
          1






          active

          oldest

          votes


















          3














          The diction Install diction package contains a tool called style:




          Style analyses the surface characteristics of the writing style of a
          document. It prints
          various readability grades, length of words, sentences and paragraphs. It can further
          locate sentences with certain characteristics.




          For example, if I evaluate your question body (saved in a file flux_question) to print the sentences with a readability index (ARI) over 10:



          $ style -r 10 flux_question
          flux_question:1: Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?
          flux_question:2: For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.
          readability grades:
          Kincaid: 10.2
          ARI: 10.8
          Coleman-Liau: 12.5
          Flesch Index: 51.1/100
          Fog Index: 12.0
          Lix: 48.6 = school year 9
          SMOG-Grading: 11.2
          sentence info:
          333 characters
          65 words, average length 5.12 characters = 1.65 syllables
          4 sentences, average length 16.2 words
          25% (1) short sentences (at most 11 words)
          0% (0) long sentences (at least 26 words)
          1 paragraphs, average length 4.0 sentences
          25% (1) questions
          25% (1) passive sentences
          longest sent 21 wds at sent 2; shortest sent 8 wds at sent 4
          word usage:
          verb types:
          to be (1) auxiliary (2)
          types as % of total:
          conjunctions 5% (3) pronouns 9% (6) prepositions 2% (1)
          nominalizations 0% (0)
          sentence beginnings:
          pronoun (1) interrogative pronoun (0) article (0)
          subordinating conjunction (0) conjunction (0) preposition (0)


          To filter the output you can use e.g. tail -n8 to get only the grades or grep 'Flesch|SMOG' to just print the Flesch Index and the SMOG-Grading:



          $ style style_test | grep 'Flesch|SMOG'
          Flesch Index: 51.7/100
          SMOG-Grading: 11.2


          Further reading




          • man style

          • linux.com article: Improve your writing with the GNU style checkers






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124127%2ftool-for-measuring-readability-of-english-text%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            The diction Install diction package contains a tool called style:




            Style analyses the surface characteristics of the writing style of a
            document. It prints
            various readability grades, length of words, sentences and paragraphs. It can further
            locate sentences with certain characteristics.




            For example, if I evaluate your question body (saved in a file flux_question) to print the sentences with a readability index (ARI) over 10:



            $ style -r 10 flux_question
            flux_question:1: Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?
            flux_question:2: For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.
            readability grades:
            Kincaid: 10.2
            ARI: 10.8
            Coleman-Liau: 12.5
            Flesch Index: 51.1/100
            Fog Index: 12.0
            Lix: 48.6 = school year 9
            SMOG-Grading: 11.2
            sentence info:
            333 characters
            65 words, average length 5.12 characters = 1.65 syllables
            4 sentences, average length 16.2 words
            25% (1) short sentences (at most 11 words)
            0% (0) long sentences (at least 26 words)
            1 paragraphs, average length 4.0 sentences
            25% (1) questions
            25% (1) passive sentences
            longest sent 21 wds at sent 2; shortest sent 8 wds at sent 4
            word usage:
            verb types:
            to be (1) auxiliary (2)
            types as % of total:
            conjunctions 5% (3) pronouns 9% (6) prepositions 2% (1)
            nominalizations 0% (0)
            sentence beginnings:
            pronoun (1) interrogative pronoun (0) article (0)
            subordinating conjunction (0) conjunction (0) preposition (0)


            To filter the output you can use e.g. tail -n8 to get only the grades or grep 'Flesch|SMOG' to just print the Flesch Index and the SMOG-Grading:



            $ style style_test | grep 'Flesch|SMOG'
            Flesch Index: 51.7/100
            SMOG-Grading: 11.2


            Further reading




            • man style

            • linux.com article: Improve your writing with the GNU style checkers






            share|improve this answer






























              3














              The diction Install diction package contains a tool called style:




              Style analyses the surface characteristics of the writing style of a
              document. It prints
              various readability grades, length of words, sentences and paragraphs. It can further
              locate sentences with certain characteristics.




              For example, if I evaluate your question body (saved in a file flux_question) to print the sentences with a readability index (ARI) over 10:



              $ style -r 10 flux_question
              flux_question:1: Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?
              flux_question:2: For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.
              readability grades:
              Kincaid: 10.2
              ARI: 10.8
              Coleman-Liau: 12.5
              Flesch Index: 51.1/100
              Fog Index: 12.0
              Lix: 48.6 = school year 9
              SMOG-Grading: 11.2
              sentence info:
              333 characters
              65 words, average length 5.12 characters = 1.65 syllables
              4 sentences, average length 16.2 words
              25% (1) short sentences (at most 11 words)
              0% (0) long sentences (at least 26 words)
              1 paragraphs, average length 4.0 sentences
              25% (1) questions
              25% (1) passive sentences
              longest sent 21 wds at sent 2; shortest sent 8 wds at sent 4
              word usage:
              verb types:
              to be (1) auxiliary (2)
              types as % of total:
              conjunctions 5% (3) pronouns 9% (6) prepositions 2% (1)
              nominalizations 0% (0)
              sentence beginnings:
              pronoun (1) interrogative pronoun (0) article (0)
              subordinating conjunction (0) conjunction (0) preposition (0)


              To filter the output you can use e.g. tail -n8 to get only the grades or grep 'Flesch|SMOG' to just print the Flesch Index and the SMOG-Grading:



              $ style style_test | grep 'Flesch|SMOG'
              Flesch Index: 51.7/100
              SMOG-Grading: 11.2


              Further reading




              • man style

              • linux.com article: Improve your writing with the GNU style checkers






              share|improve this answer




























                3












                3








                3







                The diction Install diction package contains a tool called style:




                Style analyses the surface characteristics of the writing style of a
                document. It prints
                various readability grades, length of words, sentences and paragraphs. It can further
                locate sentences with certain characteristics.




                For example, if I evaluate your question body (saved in a file flux_question) to print the sentences with a readability index (ARI) over 10:



                $ style -r 10 flux_question
                flux_question:1: Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?
                flux_question:2: For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.
                readability grades:
                Kincaid: 10.2
                ARI: 10.8
                Coleman-Liau: 12.5
                Flesch Index: 51.1/100
                Fog Index: 12.0
                Lix: 48.6 = school year 9
                SMOG-Grading: 11.2
                sentence info:
                333 characters
                65 words, average length 5.12 characters = 1.65 syllables
                4 sentences, average length 16.2 words
                25% (1) short sentences (at most 11 words)
                0% (0) long sentences (at least 26 words)
                1 paragraphs, average length 4.0 sentences
                25% (1) questions
                25% (1) passive sentences
                longest sent 21 wds at sent 2; shortest sent 8 wds at sent 4
                word usage:
                verb types:
                to be (1) auxiliary (2)
                types as % of total:
                conjunctions 5% (3) pronouns 9% (6) prepositions 2% (1)
                nominalizations 0% (0)
                sentence beginnings:
                pronoun (1) interrogative pronoun (0) article (0)
                subordinating conjunction (0) conjunction (0) preposition (0)


                To filter the output you can use e.g. tail -n8 to get only the grades or grep 'Flesch|SMOG' to just print the Flesch Index and the SMOG-Grading:



                $ style style_test | grep 'Flesch|SMOG'
                Flesch Index: 51.7/100
                SMOG-Grading: 11.2


                Further reading




                • man style

                • linux.com article: Improve your writing with the GNU style checkers






                share|improve this answer















                The diction Install diction package contains a tool called style:




                Style analyses the surface characteristics of the writing style of a
                document. It prints
                various readability grades, length of words, sentences and paragraphs. It can further
                locate sentences with certain characteristics.




                For example, if I evaluate your question body (saved in a file flux_question) to print the sentences with a readability index (ARI) over 10:



                $ style -r 10 flux_question
                flux_question:1: Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?
                flux_question:2: For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.
                readability grades:
                Kincaid: 10.2
                ARI: 10.8
                Coleman-Liau: 12.5
                Flesch Index: 51.1/100
                Fog Index: 12.0
                Lix: 48.6 = school year 9
                SMOG-Grading: 11.2
                sentence info:
                333 characters
                65 words, average length 5.12 characters = 1.65 syllables
                4 sentences, average length 16.2 words
                25% (1) short sentences (at most 11 words)
                0% (0) long sentences (at least 26 words)
                1 paragraphs, average length 4.0 sentences
                25% (1) questions
                25% (1) passive sentences
                longest sent 21 wds at sent 2; shortest sent 8 wds at sent 4
                word usage:
                verb types:
                to be (1) auxiliary (2)
                types as % of total:
                conjunctions 5% (3) pronouns 9% (6) prepositions 2% (1)
                nominalizations 0% (0)
                sentence beginnings:
                pronoun (1) interrogative pronoun (0) article (0)
                subordinating conjunction (0) conjunction (0) preposition (0)


                To filter the output you can use e.g. tail -n8 to get only the grades or grep 'Flesch|SMOG' to just print the Flesch Index and the SMOG-Grading:



                $ style style_test | grep 'Flesch|SMOG'
                Flesch Index: 51.7/100
                SMOG-Grading: 11.2


                Further reading




                • man style

                • linux.com article: Improve your writing with the GNU style checkers







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 3 hours ago

























                answered 4 hours ago









                dessertdessert

                24.3k670104




                24.3k670104






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124127%2ftool-for-measuring-readability-of-english-text%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

                    Hestehale Innhaldsliste Hestehale på kvinner | Hestehale på menn | Galleri | Sjå òg |...

                    What is the “three and three hundred thousand syndrome”?Who wrote the book Arena?What five creatures were...