neosyon / SimpTextAlign

Repo for the simplified text alignment tools.
MIT License
21 stars 7 forks source link

Hi, #3

Closed sabdul111 closed 3 years ago

sabdul111 commented 5 years ago

Hi,

Thanks for your useful tool, however I get the same error as in the previous issue but is closed now.

Calculating IDF... Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.IllegalStateException: basedir ../../data/Newsela/articles is not a directory at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:797) at simplifiedTextAlignment.Representations.NgramModel.buildNewselaNgramModel(NgramModel.java:42) at simplifiedTextAlignment.DatasetAlignment.AlignNewselaDataset.main(AlignNewselaDataset.java:107) ... 5 more

My java version is openjdk version "1.8.0_191" OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12) OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

Can you please guide how to resolve this,

Thank you in adavance.

Originally posted by @umauh in https://github.com/neosyon/SimpTextAlign/issues/2#issuecomment-487641642