Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.90 KB | None | 0 0
  1. package de.uniba.wiai.lspi.ss11.ajp.assignment1;
  2.  
  3. import java.io.File;
  4.  
  5. public class Main {
  6.  
  7.     public static void main(String[] args){
  8.        
  9.         //File inputfile = new File ("/Users/jorgpapsthard/Documents/workspace/Assignment1/src/de/uniba/wiai/lspi/ss11/ajp/assignment1/input.txt");
  10.         //File textcorpusfile = new File ("/Users/jorgpapsthard/Documents/workspace/Assignment1/src/de/uniba/wiai/lspi/ss11/ajp/assignment1/text_corpus.txt");
  11.         //File outputfile = new File ("/Users/jorgpapsthard/Documents/workspace/Assignment1/src/de/uniba/wiai/lspi/ss11/ajp/assignment1/output.txt");
  12.         File inputfile = new File(args[0]);
  13.         File textcorpusfile = new File(args[2]);
  14.         File outputfile = new File(args[1]);
  15.        
  16.        
  17.         Plagiatprogramm plagiat = new Plagiatprogramm();
  18.         try{
  19.         plagiat.findPlagiat(inputfile, outputfile, textcorpusfile);
  20.         }
  21.         catch (PlagiatFinderException e){
  22.             e.printStackTrace();
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement