public static class WikipediaEditsDataset.WikipediaEdit extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
anon
Was the edit anonymous?
|
int |
change
The change ID
|
String |
comment
The edit comment
|
String |
flag
The raw flags
|
boolean |
isNewPage
Was a new page created?
|
boolean |
isRobot
Was it a robot that made the change?
|
boolean |
isUnpatrolled
Is the edit unpatrolled?
|
String |
page
The page that was edited
|
URL |
pageUrl
The URL of the page
|
String |
user
The user who made the change
|
URL |
userUrl
The URL of the user
|
URL |
wikipedia
The URL
|
String |
wikipediaUrl
The URL as a string
|
Modifier | Constructor and Description |
---|---|
protected |
WikipediaEdit(String message)
Default constructor
|
public int change
public boolean anon
public boolean isRobot
public boolean isNewPage
public boolean isUnpatrolled
public String wikipediaUrl
protected WikipediaEdit(String message) throws IOException
message
- the raw message stringIOException
- if an error occurs during parsing