Devam Ediyor

Java Text Classification using Mallet

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

[url removed, login to view]

The example program ([url removed, login to view]) 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));

[url removed, login to view]("\t");

[url removed, login to view](); //Skip Header

while([url removed, login to view]()){

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

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

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

[url removed, login to view](content[0]);

[url removed, login to view](content[1]);

[url removed, login to view](content[2]);

}

Note: in the [url removed, login to view] 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).

Beceriler: Java, Yazılım Mimarisi

Daha fazlasını görün: mallet classifiers, mallet python, mallet java example, mallet classification example, mallet document classification, mallet command-line tutorial, mallet naive bayes, mallet topic modeling, text clustering using java, write software reviews, looking someone write software, write software brochure, write software requirement specification, write software mobile, msr206 write software demo

İşveren Hakkında:
( 65 değerlendirme ) Calgary, Canada

Proje NO: #14862754

Seçilen:

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.

1 gün içinde 25$ USD
(0 Değerlendirme)
0.0

11 freelancer bu iş için ortalamada 27$ teklif veriyor

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 Daha fazlası

1 gün içinde 25$ USD
(64 Değerlendirme)
6.7
utkarshkatiyar19

A proposal has not yet been provided

in 2 gün içinde60$ USD
(195 Değerlendirme)
6.6
neerajagrawal201

Hi, We are serving in the field of Website & Software Design, HTML, CSS, Java, PHP, C#, javascript, bootstrap, angular.js, .NET, SQL, Biometrics, Android native/hybrid, since 2015. We also started providing service in Daha fazlası

1 gün içinde 20$ USD
(44 Değerlendirme)
5.0
wenjing325

Dear sir I would like to tell you this is very easy project for me I can do this on time Hope for your kind contact Thank you. Relevant Skills and Experience java Proposed Milestones $25 USD - 1

1 gün içinde 25$ USD
(29 Değerlendirme)
4.1
mathDev00

Dear sir. I am very interested to your project. I have a good skill and experience in java programming. I can finish this project in perfect. Please contact me. Thanks. Stay tuned, I'm still working on this proposal.

1 gün içinde 25$ USD
(2 Değerlendirme)
1.3
1 gün içinde 20$ USD
(0 Değerlendirme)
0.0
ivietcom

Are you looking for java developer? If you give me a chance, i will finish it within a day. Thanks. Relevant Skills and Experience Java Proposed Milestones $25 USD - Finish

1 gün içinde 25$ USD
(0 Değerlendirme)
0.0
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 Daha fazlası

in 10 gün içinde25$ USD
(0 Değerlendirme)
0.0
1 gün içinde 28$ USD
(0 Değerlendirme)
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 Daha fazlası

1 gün içinde 17$ USD
(0 Değerlendirme)
0.0