Coder Social home page Coder Social logo

Comments (14)

angelabp avatar angelabp commented on May 20, 2024

maybe an idea to implement http://languagetool.org/ ?

from open-latex-studio.

sebbrudzinski avatar sebbrudzinski commented on May 20, 2024

Thanks for the link @angelabp It's worth investigating that tool.

from open-latex-studio.

WhiteHsu avatar WhiteHsu commented on May 20, 2024

@sebbrudzinski
I'm interested in this, but does anyone has experience with https://languagetool.org/ previously? Or is there any other recommended way to implement this feature?

from open-latex-studio.

sebbrudzinski avatar sebbrudzinski commented on May 20, 2024

Hello @WhiteHsu
We have no previous experience with LanguageTool. The first step in this ticket would be to familiarize with it and investigae whether we can use and if it helps us. Of course we can use any other tool/library as well.

from open-latex-studio.

WhiteHsu avatar WhiteHsu commented on May 20, 2024

I have some fast investigation and find there're some tools mentioned in internet discussions. I list them with information I know so far:

In summary, my idea is to try Language Tool firstly. How about your suggestions? :-)

from open-latex-studio.

sebbrudzinski avatar sebbrudzinski commented on May 20, 2024

Thanks for this investigation @WhiteHsu It seems like all we need at this point is Java API. I think giving Language Tool a shoot first is a good idea.

from open-latex-studio.

WhiteHsu avatar WhiteHsu commented on May 20, 2024

Sorry for late update because being too busy previously. I'll continue my development on this workitem in these days.

from open-latex-studio.

WhiteHsu avatar WhiteHsu commented on May 20, 2024

@sebbrudzinski
Because I'm not very familiar with NetBeans IDE, I encounter several questions and would like to ask your suggestions:

  1. In order to adopt Language Tool, we need to include its JAR library files. However, under the project file structure, I don't find a folder named "libs" or similar ones, so where do you suggest to put these JAR files under the project "OpenLaTeXStudio"?
    default

  2. After copying the JAR files, the next I think we should add them into project. I've followed instructions based on some webpages as this one:
    http://stackoverflow.com/questions/1975973/how-to-use-jar-files-in-netbeans

The steps are: Tool -> Libraries -> New Libraries -> Add JAR/Folder:
default

However, after these steps, I cannot import the packages of Language Tool still. I guess there must be something missed among my steps. So may you help instruct the correct process to add library into project in NetBeans?

  1. In addition to add library files, I guess we should also update pom.xml, correct? But why I find many pom.xml in my built project as below? Which is the one we should update?
    default

Sorry for these questions. Please kindly suggest and feedback. Thank you very much.

from open-latex-studio.

sebbrudzinski avatar sebbrudzinski commented on May 20, 2024

@WhiteHsu We use Maven, that handles the dependencies and external libraries. LanguageTool explains how to add their library to an existing Maven project here: http://wiki.languagetool.org/java-api (it should be as simple as adding a few lines in pom.xml)

from open-latex-studio.

WhiteHsu avatar WhiteHsu commented on May 20, 2024

@sebbrudzinski
I've checked in updates for this new feature. Here're some points about this feature:

  • For now there's a new green icon as screen below:
    default

  • After clicking this icon, it'll execute spell check and highlight incorrect words:
    default

  • Then you can click the green icon again to clear highlights:
    default

  • This "spell check" can be also triggered by clicking the option in the menu:
    default

Please help review and provide your valuable feedback. Any advice will be very appreciated. Thank you very much. :-)

from open-latex-studio.

WhiteHsu avatar WhiteHsu commented on May 20, 2024

@sebbrudzinski
Is there anything able to improve or enhance? Please kindly help review and provide your valuable feedback on my check-in. Thank you very much. :-)

from open-latex-studio.

sebbrudzinski avatar sebbrudzinski commented on May 20, 2024

@WhiteHsu sorry for delay. Thanks for the pull request, I've reviewed it now. Overall this works, but we need to improve several things in the code.

from open-latex-studio.

WhiteHsu avatar WhiteHsu commented on May 20, 2024

@sebbrudzinski
Thanks for your review comments. I've updated codes based on your review comments. Please kindly help check again and provide your feedback. Thank you very much. :-)

from open-latex-studio.

sebbrudzinski avatar sebbrudzinski commented on May 20, 2024

Fixed by @WhiteHsu New tickets will be created to expand and improve the current spell check

from open-latex-studio.

Related Issues (20)

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.