Commit ed5da6a7 authored by Gabriel Gutu-Robu's avatar Gabriel Gutu-Robu
parents 202a29b8 e7f91e10
......@@ -26,10 +26,6 @@ mvn clean install -DskipTests
* Maven and JAVA_HOME environment variable
* The resources for each language need to be extracted for the corresponding archive available at the following link: http://readerbench.com/deployment
* Download resources from http://owncloud.readerbench.com/
## Project structure (technical aspects)
ReaderBench is a Maven project with 7 modules:
......@@ -68,6 +64,9 @@ mvn versions:set -DnewVersion=x.y.z
## Deploy
### **Allowed only for admins. If you need a new version on artifactory, please send an email to _readerbench@lists.cs.pub.ro_**
Deploy on ReaderBench Artifactory: http://artifactory.readerbench.com:8081/artifactory/webapp/
```sh
......
......@@ -119,7 +119,7 @@ public class WordComplexityFactory extends ComplexityIndicesFactory {
return result;
}
private Map<String, Map<String, Double>> readCSV(Lang lang, String fileName) {
public Map<String, Map<String, Double>> readCSV(Lang lang, String fileName) {
Map<String, Map<String, Double>> map = new HashMap<>();
String path = PROPERTIES.getProperty(String.format(PROPERTY_GENERIC_NAME, lang.name().toUpperCase())) + "/" + fileName;
try (InputStream input = this.getClass().getClassLoader().getResourceAsStream(path); BufferedReader in = new BufferedReader(new InputStreamReader(input, "UTF-8"))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment