The best way is to use the following command: nutch plugin language-identifier org.apache.nutch.analysis.lang.NGramProfile-create ta sample_ta.txt UTF8
Best regards Jérôme On 8/18/07, k.g.kumare san <[EMAIL PROTECTED]> wrote: > > dear sagar, > > > thank you for your kind information and it really > helped us.I need to > > know how to create a new ngp file for tamil.Please send me the > details as soon > > as possible. > > i try to set the classpath for ngp file for tamil.But i have the > following errors > > as and i run this command in > ...../nutch0.9 the nutch directory for creating new ngp file > > java -classpath build/language-identifier/language- > > identifier.jar:build/language-identifier/classes/org/apache/nutch/analysis/lang/NGramProfile > -create ta > sample.ta.utf8.txt UTF8 and i got the error as follows > > Exception in thread "main" java.lang.NoClassDefFoundError: loaded class > NGramProfile was in fact named org.apache.nutch.analysis.lang.NGramProfile > at java.lang.VMClassLoader.defineClass(libgcj.so.7) > at java.lang.ClassLoader.defineClass(libgcj.so.7) > at java.security.SecureClassLoader.defineClass(libgcj.so.7) > at java.net.URLClassLoader.findClass (libgcj.so.7) > at java.lang.ClassLoader.loadClass(libgcj.so.7) > at java.lang.ClassLoader.loadClass(libgcj.so.7) > at java.lang.Class.forName(libgcj.so.7) > at gnu.java.lang.MainThread.run(libgcj.so.7) > > > and i am not able to figure out that can u please help me ..... > -- Jérôme Charron Directeur Technique @ WebPulse Tel: +33673716743 - [EMAIL PROTECTED] http://blog.shopreflex.com/ Tous les goûts sont dans la nature, les vôtres sont sur http://www.shopreflex.com
