/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ipipan.spejd.processing;

import ipipan.spejd.rules.LexDictionary;

import morfologik.stemmers.Stempelator;
import ipipan.spejd.rules.RuleSet;
import ipipan.spejd.rules.Sentence;
import ipipan.spejd.util.Config;

public class ProcessingThread extends Thread {
    
    public final Object lock;
    public final Config conf;
    public Stempelator anal;
    public LexDictionary dict;
    public RuleSet rules;
    public Sentence chunk;
    
    public ProcessingThread (Runnable r, Stempelator anal, LexDictionary dict, RuleSet rules, Sentence chunk, Config conf, Object lock) {
                super(r, "ProcessingThread");
                this.anal = anal;
                this.lock = lock;
                this.rules = rules;
                this.dict = dict;
                this.chunk = chunk;
                this.conf = conf;

    }
    
    
    @Override
    public void finalize() {
        try {
            super.finalize();
        } catch (Throwable t) { System.err.println(t); }
    }
    
}