Git Product home page Git Product logo

languagetool-wikicheck's Introduction

languagetool-wikicheck

This project is not maintained anymore

Wikipedia style and grammar checker, powered by LanguageTool. This is the software running at http://community.languagetool.org/wikiCheck/.

It will check pages on requests. For the continuous check of the 'recent changes' feed, it will only display the results it finds in the database. To fill this database, download LanguageTool-wikipedia from https://languagetool.org/download/snapshots/ and run this command:

java -cp mysql-connector.jar:languagetool-wikipedia.jar org.languagetool.dev.wikipedia.atom.AtomFeedCheckerCmd

It will display a more detailed usage message. To write the results to MySQL you will also need to download the JDBC driver from http://dev.mysql.com/downloads/connector/j/ (called mysql-connector.jar in the command line example above).

languagetool-wikicheck's People

Contributors

danielnaber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

languagetool-wikicheck's Issues

Wrong word selection

I checked the link in below it shows LT couldn't select correct word! and it selected the last word at the sentence instead of correct word. for example at phrase
This is a foo.
The rule should select foo but it selected other word (like this)
In our case

را به دست آورد و برای نخستین بار سود نصیب اعضا کند.

and it should select دست آورد not و برای نخستین

https://tools.wmflabs.org/languagetool/pageCheck/index?url=%D9%BE%DB%8C%D9%86%DA%A9_%D9%81%D9%84%D9%88%DB%8C%D8%AF&lang=fa

The rule:

            <rule>
                <pattern>
                    <token>دست</token>
                    <token regexp="yes">(نویس|خوش|پاچه|چین|آورد)</token>
                </pattern>
                <message>Do you mean  «<suggestion><match no="1" regexp_match="([^إأةؤورزژاآدذ])$" regexp_replace="$1‌"/>\2</suggestion>»?</message>
                <short>correcting ZWNJ</short>
                <example type="incorrect">
                    <marker>دست آورد</marker>
                </example>
                <example type="correct">دست‌آورد</example>
            </rule>

I saw this bug for other rules.

RTL CSS

Follow up to this, main.css needs a RTL pair for RTL languages. It can be generated online based on main.css or be done once using CSSJanus

[new feature] Check a random page with errors

I use wiki page check to find grammar errors in my native language part of wikipedia, so if the marked text really has an obvious error I will follow edit link and make a correction at wikipedia web site. This way check a random page is a very nice feature. However, many pages are already correct from LT point of view and I need to do several clicks on "check page" button before it shows page with errors. So it would be nice if the there is a checkbox "Show only pages with errors" or this can be a default behaviour.

Allow checking pages from other Wikimedia sites

The online WikiCheck only allows to check pages on Wikipedia. It would be nice if it could check pages on other Wikimedia sites as well, like Wikibooks or Wikisource. They all use the Mediawiki API, so in theory there shouldn't be many changes required for this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.