Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AltA-Advisory/ReutersParser

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReutersParser

Java parser for the "Reuters-21578, Distribution 1.0" Text Categorization data set.

Download the dataset and extract the files to any directory.
https://archive.ics.uci.edu/ml/datasets/reuters-21578+text+categorization+collection

You can then iterate over the articles in the data set as follows:

File file = new File("/tmp/Reuters");
ReutersParser p = new ReutersParser(file);
for(ReutersArticle a : p){
    String title = a.getTag("TITLE");
    String body = a.getTag("BODY");
}

About

Java parser for the "Reuters-21578, Distribution 1.0" Text Categorization data set.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.