// Path: JHazm/src/main/java/jhazm/model/Doc.java
// public class Doc {
//     public int ID;
//     public String Title;
//     public String Text;
//     public String Date;
//     public String Time;
//     public String Category;
//     public String Category2;
// 
//     public Doc(int ID, String Title, String Text, String Date, String Time, String Category, String Category2) {
//         this.ID = ID;
//         this.Title = Title;
//         this.Text = Text;
//         this.Date = Date;
//         this.Time = Time;
//         this.Category = Category;
//         this.Category2 = Category2;
//     }
// }


import com.infomancers.collections.yield.Yielder;
import jhazm.model.Doc;
import org.apache.commons.lang3.StringUtils;
import java.io.*;
import java.nio.charset.Charset;
import java.util.*;
package jhazm.reader;



/**
 * interfaces [Persica Corpus](https://sourceforge.net/projects/persica/)
 *
 * Created by Mojtaba on 30/10/2015.
 */
public class PersicaReader {

    //
    // Fields
    //

    private String persicaFile;



    //
    // Constructors
    //

    public PersicaReader() {
        this("resources/corpora/persica.csv");
    }

    public PersicaReader(String persicaFile) {
        this.persicaFile = persicaFile;
    }




    //
    // API
    //

// Path: JHazm/src/main/java/jhazm/model/Doc.java
// public class Doc {
//     public int ID;
//     public String Title;
//     public String Text;
//     public String Date;
//     public String Time;
//     public String Category;
//     public String Category2;
// 
//     public Doc(int ID, String Title, String Text, String Date, String Time, String Category, String Category2) {
//         this.ID = ID;
//         this.Title = Title;
//         this.Text = Text;
//         this.Date = Date;
//         this.Time = Time;
//         this.Category = Category;
//         this.Category2 = Category2;
//     }
// }


// Path: JHazm/src/main/java/jhazm/reader/PersicaReader.java
import com.infomancers.collections.yield.Yielder;
import jhazm.model.Doc;
import org.apache.commons.lang3.StringUtils;
import java.io.*;
import java.nio.charset.Charset;
import java.util.*;

package jhazm.reader;



/**
 * interfaces [Persica Corpus](https://sourceforge.net/projects/persica/)
 *
 * Created by Mojtaba on 30/10/2015.
 */
public class PersicaReader {

    //
    // Fields
    //

    private String persicaFile;



    //
    // Constructors
    //

    public PersicaReader() {
        this("resources/corpora/persica.csv");
    }

    public PersicaReader(String persicaFile) {
        this.persicaFile = persicaFile;
    }




    //
    // API
    //

    public Iterable<Doc> getDocs() { return new YieldDoc(); }