I was thinking about this, it looks like our internal code already operates with list of rule files because it has to support regional variants (?) so this may be much simpler than supporting xml way to do inclusions.
One drawback - it's not easy to add files without modifying Java code so it'll help my case but won't help much Mike's Andriy 2013/10/17 Daniel Naber <[email protected]>: > On 2013-10-17 17:26, Andriy Rysin wrote: > >> Yes, I would like it to work for all targets: standalone/addons etc so >> inclusion should work in jars as well. I'll keep looking. > > What if we extend the Language class to return a list of filenames that > are used to read the rules, instead of having only "grammar.xml" hard > coded? This way we could also have an optional file "user-grammar.xml" > which is loaded if it exists and which could carry user-specific rules. > > Regards > Daniel > > -- > http://www.danielnaber.de > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > Languagetool-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/languagetool-devel ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Languagetool-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/languagetool-devel
