Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Chuan De Sheng
    @laskjk
    May i know what are the possible causes of this error?
    Thank you for your time
    Vincent Massol
    @vmassol
    @laskjk This means you're missing a dependency on pegdown for the markdown parsing done by redpen-cc. Since we're not going to use that maybe you're having a dependency that's not required?
    @takahi-i FYI, the xwiki project was also using pegdown in the past but it was quite buggy and we've moved since then to https://github.com/vsch/flexmark-java which is awesome.
    Chuan De Sheng
    @laskjk
    Hi @vmassol :). That is most likely the case since i am running my code as a local jar, which does not take external dependencies into account. I guess we will see how it really works in the future when my project officially runs as an extension on XWiki. Sorry for any inconvenience caused to you and @takahi-i
    Also, from what I see on the javadoc of redpen-core (correct me if I am wrong), RedPen's document parser is required to return a RedPen Document object, which can then be validated by a RedPen instance's validate method. In this case, we will be indirectly using pegdown for markdown parsing.
    Takahiko Ito
    @takahi-i
    Hi @laskjk, it looks like the exception occurs the any jar files in your class pass do contains org/pegdown/ParsingTimeoutException.
    I think pegdown-1.6.0.jar (this jar contains ParsingTimeoutException class) are not in your class pass.
    @vmassol thanks a lot for the information! flexmark-java looks better than pegdown. I will try it or rewrite the markdown parser without any dependencies.
    Takahiko Ito
    @takahi-i
    RedPen's document parser is required to return a RedPen Document object, which can then be validated by a RedPen instance's validate method.
    This is correct. RedPen first creates Documents with parse method and then validates with validate method.
    Chuan De Sheng
    @laskjk
    @takahi-i Good day. I have a question regarding changing the configuration of the RedPen document checker. Right now, I have to edit the configuration file object within Java to update configuration settings. Is there a way where I can set up the configuration with an in-memory data structure?
    Takahiko Ito
    @takahi-i
    Hi @laskjk , ConfigurationBuilder can be applied for the purpose.
    You can setup the configuration with the builder without files.
    You can see the usage of the builder from the test cases.
    Chuan De Sheng
    @laskjk
    @takahi-i alright thank you for you help :smile:
    Chuan De Sheng
    @laskjk
    Hi, good day to you @takahi-i . Presently I am in the process of trying to build a ValidatorConfiguration for SuggestExpression validator, is there a way to create the ValidatorConfiguration with the dictionary being a Map<String, String> object instead of a File?
    Takahiko Ito
    @takahi-i
    Hi @laskjk. Currently there is no way to create ValidatorConfiguration with the dictionary for the SuggestExpression without dictionary file.
    I found I already implemented the feature ...
    redpen-cc/redpen#698
    We can build the Vallidatorconfiguration with the dictionary being map as follows.
    Takahiko Ito
    @takahi-i
    Deeply sorry for forgetting to add the feature in the document..
    Chuan De Sheng
    @laskjk
    @takahi-i No problem! Thank you very much for responding promptly :smile:
    Takahiko Ito
    @takahi-i
    I added the descritption to the manual redpen-cc/redpen-doc#92
    Raniere Silva
    @rgaiacs
    Sorry to ask, but does redpen have a Google Doc plugin?
    Takahiko Ito
    @takahi-i
    Hi @rgaiacs, currently redpen does not provide Google Doc plugin.
    NARASIMHA RAO
    @_sunkara_twitter
    Hi
    NARASIMHA RAO
    @_sunkara_twitter
    Looking for markdown sheet evaluation end end process, appreciate if any example code base to refer
    Takahiko Ito
    @takahi-i
    Hello @rgaiacs
    Currently RedPen does not provide Google Doc plugin though we think Google Doc has a lot of users.
    Hello @_sunkara_twitter.
    I am sorry that I do not understand markdown sheet evaluation end ...
    NARASIMHA RAO
    @_sunkara_twitter
    i have a requirement like the answers will be at Optical mark recognition, need to evaluate the answers for almost 50k users each time. Appreciate if any model project on this context
    edwardwoodward
    @edwardwoodward
    Hello,
    I have been using RedPen without problem for about 2 years. I have to switch to a new work computer. But when I set up RedPen as before I get "Could not find or load main class cc.redpen.Main"
    2 other people have the same problem as me. Has something changed?
    edwardwoodward
    @edwardwoodward
    Ah, excuse me. I got it to work. But now I get several "illegal reflective access" warnings. Are they important?
    Takahiko Ito
    @takahi-i
    @edwardwoodward Deeply sorry it looks like the latest package does not have enough resources.. see redpen-cc/redpen#858
    I will fix this issue soon.
    edwardwoodward
    @edwardwoodward
    Thank you for the reply. The first problem I had was because the computer had JRE, not JDK. When we installed JDK, we could use RedPen. Is it correct to say that RedPen will not work unless you have JDK installed?
    edwardwoodward
    @edwardwoodward
    In other news, I have finished checking the remaining asciidoc files for the English manual. I have just spent an hour trying to make a pull request for them, but I need an idiot's guide to git or whatever. I don't know how I managed to send the files last time. Anyway, is there somewhere I can mail the files to? I'm not willing to waste any more time in sourcetree.