Hi All,

The method that uses an external (parsed) general entity works fine for me.

The Stack Overflow example shows this text:
<!ENTITY otherFile SYSTEM "otherFile.xml">

To specify the location of otherFile.xml, use either the path from the LT
installation directory or the full path. Example:
<!ENTITY otherFile SYSTEM "org/languagetool/resource/en/yourfile.xml">

To open disambiguation.xml and grammar.xml in a validating editor, possibly
you must use the full path. For example, the Microsoft XML Notepad 2007
validating editor requires the full path.

Regards,

Mike Unwalla
Contact: www.techscribe.co.uk/techw/contact.htm 

-----Original Message-----
From: Daniel Naber [mailto:[email protected]] 
Sent: 24 June 2013 18:22
<snip>
> I am new to LanguageTool, and I would like to know if it is possible 
> to include
> (or xinclude) other files into the grammar.xml or disambiguation.xml 
> files, so
> that it can be split into smaller parts that is easier to manage and 
> maintain.
> I haven't found any related information on the webpage or the wiki.

welcome to LanguageTool!

XML can do this, as described here:
http://stackoverflow.com/questions/5121052/can-we-import-xml-file-into-anoth
er-xml-file

When we last tried this for German we gave up as it only partially 
worked and broke some of our workflow. Unfortunately, I cannot find the 
details anymore. But your situation might be different, so you should 
give it a try.




------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to