Coder Social home page Coder Social logo

duometer's People

Contributors

nezda avatar pmandera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

duometer's Issues

Main method needs refactoring

Currently too much logic is included in the main method of the program. This impedes extensibility. For example, it will make it difficult to reuse code if gui is created.

Unrecognized option -input

Hi
Get this error on Win7x64:
Unrecognized option -input (or -i) Error: Could not create Java Virtual machine Error: A fata exception has occured. programm will exit.

Exception in thread "main" java.util.NoSuchElementException: next on empty iterator

Hi,

I installed duometer as informed in readme (https://github.com/pmandera/duometer) and runned the following command:

./duometer -i /home/manu/Joplin/MD -o /home/manu/Joplin/texts-duplicates.txt

I got the following exception:

Exception in thread "main" java.util.NoSuchElementException: next on empty iterator at scala.collection.Iterator$$anon$2.next(Iterator.scala:39) at scala.collection.Iterator$$anon$2.next(Iterator.scala:37) at scala.collection.IterableLike$class.head(IterableLike.scala:107) at scala.collection.AbstractIterable.head(Iterable.scala:54) at com.pawelmandera.duplicates.SharedMemberCandidates$class.candidates(SharedMemberCandidates.scala:17) at com.pawelmandera.main.MinHashMain$$anon$2.candidates(MinHashMain.scala:116) at com.pawelmandera.duplicates.MinHashDetection$class.detect(MinHashDetection.scala:29) at com.pawelmandera.main.MinHashMain$$anon$2.detect(MinHashMain.scala:116) at com.pawelmandera.main.MinHashMain$.main(MinHashMain.scala:121) at com.pawelmandera.main.MinHashMain.main(MinHashMain.scala)

I run duometer on archlinux and java version is:

$ java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

I also installed scala which did not change anything.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.