Java Text Classification using Mallet

Cancelado Publicado hace 6 años Pagado a la entrega
Cancelado Pagado a la entrega

I require a slight modification to the following java code example program:

[login to view URL]

The example program ([login to view URL]) reads in text files from a directory and then does some text classification.

I require a modification that reads in the data from a tab delimited file.

The text file will have 3 columns: name (integer), target (Yes/No), and data (text). The target column is used to classify the row of text.

The program must a structure like the following to read in the read in the data. I will be modifying it later to access a JDBC database (so no not use the mallet CsvIterator).

try {

Scanner scanner = new Scanner(new File(tabFile));

[login to view URL]("\t");

[login to view URL](); //Skip Header

while([login to view URL]()){

String[] content = [login to view URL]().split("\t");

if (!content[2].isEmpty()) {

Instance instance = new Instance(null, null, null, null);

[login to view URL](content[0]);

[login to view URL](content[1]);

[login to view URL](content[2]);

}

Note: in the [login to view URL] you may need to change the “Pipe instancePipe” section -- to deal with the new type of data.

I have attached a sample Tab Delimited File (with 3 outcome columns to test on) and can create more if needed.

Final deliverables are:

Source Code with clean code and basic documentation (i.e. comments in the source code).

Java Arquitectura de software

Nº del proyecto: #14862754

Sobre el proyecto

8 propuestas Proyecto remoto Activo hace 6 años

Adjudicado a:

pinglin

This is a piece of cake. I can do it within 2 hours. Please contact me. I am waiting your response. Thanks Stay tuned, I'm still working on this proposal.

$25 USD en 1 día
(1 comentario)
0.0

8 freelancers están ofertando un promedio de $28 por este trabajo

utkarshkatiyar19

A proposal has not yet been provided

$60 USD en 2 días
(338 comentarios)
7.3
TopTower22

hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. i can provide most quality and high speed. Then, I will give you good result. Relevant Skills and Experience Más

$25 USD en 1 día
(71 comentarios)
6.9
Zoulo

I will configure the scanner to read the way it is needed, with another instance of scanner Habilidades y experiencia relevante In college i helped making some text classification for tweets in java, recognizing the t Más

$25 USD en 10 días
(0 comentarios)
0.0
RAVIKUMARTHOLIYA

Hi, I am interested in your project and I would like to know more details. Kindly drop a message so we can discuss. Relevant Skills and Experience J2SE,J2EE,Spring,Hibernate,Struts Javascript,Angularjs,Jquery,HTML,CSS Más

$17 USD en 1 día
(0 comentarios)
0.0