Revision: 17719
http://sourceforge.net/p/gate/code/17719
Author: adamfunk
Date: 2014-03-20 20:41:29 +0000 (Thu, 20 Mar 2014)
Log Message:
-----------
Did C-S-o everywhere to keep Mr Testing happy. :-)
Modified Paths:
--------------
gate/trunk/plugins/Twitter/src/gate/corpora/JSONTweetFormat.java
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Population.java
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationConfig.java
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationDialogWrapper.java
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PreAnnotation.java
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Tweet.java
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/TweetUtils.java
Modified: gate/trunk/plugins/Twitter/src/gate/corpora/JSONTweetFormat.java
===================================================================
--- gate/trunk/plugins/Twitter/src/gate/corpora/JSONTweetFormat.java
2014-03-20 20:40:06 UTC (rev 17718)
+++ gate/trunk/plugins/Twitter/src/gate/corpora/JSONTweetFormat.java
2014-03-20 20:41:29 UTC (rev 17719)
@@ -1,7 +1,5 @@
/*
- * JSONTweetFormat.java
- *
- * Copyright (c) 1995-2013, The University of Sheffield. See the file
+ * Copyright (c) 1995-2014, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -13,17 +11,22 @@
*/
package gate.corpora;
-import gate.*;
+import gate.AnnotationSet;
+import gate.DocumentContent;
+import gate.GateConstants;
+import gate.Resource;
+import gate.corpora.twitter.PreAnnotation;
+import gate.corpora.twitter.Tweet;
+import gate.corpora.twitter.TweetUtils;
import gate.creole.ResourceInstantiationException;
import gate.creole.metadata.AutoInstance;
import gate.creole.metadata.CreoleResource;
import gate.util.DocumentFormatException;
import gate.util.InvalidOffsetException;
-import gate.corpora.twitter.*;
-
import java.io.IOException;
-import java.util.*;
-
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
import org.apache.commons.lang.StringUtils;
Modified: gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Population.java
===================================================================
--- gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Population.java
2014-03-20 20:40:06 UTC (rev 17718)
+++ gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Population.java
2014-03-20 20:41:29 UTC (rev 17719)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995-2013, The University of Sheffield. See the file
+ * Copyright (c) 1995-2014, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -11,21 +11,31 @@
*/
package gate.corpora.twitter;
-import gate.*;
+import gate.AnnotationSet;
+import gate.Corpus;
+import gate.Document;
+import gate.DocumentContent;
+import gate.Factory;
+import gate.Gate;
import gate.corpora.DocumentContentImpl;
import gate.creole.ResourceInstantiationException;
import gate.creole.metadata.AutoInstance;
import gate.creole.metadata.CreoleResource;
-import gate.gui.*;
-import gate.util.*;
+import gate.gui.NameBearerHandle;
+import gate.gui.ResourceHelper;
+import gate.util.InvalidOffsetException;
import java.awt.event.ActionEvent;
-import java.io.*;
-import java.net.*;
-import java.util.*;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
import javax.swing.AbstractAction;
import javax.swing.Action;
import org.apache.commons.io.IOUtils;
-import org.apache.commons.lang.*;
+import org.apache.commons.lang.StringUtils;
@CreoleResource(name = "Twitter Corpus Populator", tool = true, autoinstances
= @AutoInstance)
Modified:
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationConfig.java
===================================================================
--- gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationConfig.java
2014-03-20 20:40:06 UTC (rev 17718)
+++ gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationConfig.java
2014-03-20 20:41:29 UTC (rev 17719)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995-2013, The University of Sheffield. See the file
+ * Copyright (c) 1995-2014, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -13,10 +13,15 @@
import gate.Gate;
-import java.util.*;
-import java.io.*;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
import java.net.URL;
-import java.awt.event.*;
+import java.util.Arrays;
+import java.util.List;
import javax.swing.JFileChooser;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.PrettyPrintWriter;
Modified:
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationDialogWrapper.java
===================================================================
---
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationDialogWrapper.java
2014-03-20 20:40:06 UTC (rev 17718)
+++
gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PopulationDialogWrapper.java
2014-03-20 20:41:29 UTC (rev 17719)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995-2013, The University of Sheffield. See the file
+ * Copyright (c) 1995-2014, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -11,15 +11,18 @@
*/
package gate.corpora.twitter;
-import gate.gui.*;
-import gate.util.*;
+import gate.gui.ListEditorDialog;
+import gate.gui.MainFrame;
+import gate.util.ExtensionFileFilter;
+import gate.util.Strings;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
-import java.io.*;
-import java.net.*;
-import java.util.*;
-
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JButton;
Modified: gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PreAnnotation.java
===================================================================
--- gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PreAnnotation.java
2014-03-20 20:40:06 UTC (rev 17718)
+++ gate/trunk/plugins/Twitter/src/gate/corpora/twitter/PreAnnotation.java
2014-03-20 20:41:29 UTC (rev 17719)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011--2013, The University of Sheffield.
+ * Copyright (c) 2011--2014, The University of Sheffield.
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
* software, licenced under the GNU Library General Public License,
@@ -13,7 +13,10 @@
package gate.corpora.twitter;
-import gate.*;
+import gate.Annotation;
+import gate.AnnotationSet;
+import gate.Factory;
+import gate.FeatureMap;
import gate.util.InvalidOffsetException;
Modified: gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Tweet.java
===================================================================
--- gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Tweet.java
2014-03-20 20:40:06 UTC (rev 17718)
+++ gate/trunk/plugins/Twitter/src/gate/corpora/twitter/Tweet.java
2014-03-20 20:41:29 UTC (rev 17719)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995-2013, The University of Sheffield. See the file
+ * Copyright (c) 1995-2014, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -11,9 +11,14 @@
*/
package gate.corpora.twitter;
-import gate.*;
-import gate.util.*;
-import java.util.*;
+import gate.Factory;
+import gate.FeatureMap;
+import gate.util.Strings;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
import org.apache.commons.lang.StringEscapeUtils;
import com.fasterxml.jackson.databind.JsonNode;
Modified: gate/trunk/plugins/Twitter/src/gate/corpora/twitter/TweetUtils.java
===================================================================
--- gate/trunk/plugins/Twitter/src/gate/corpora/twitter/TweetUtils.java
2014-03-20 20:40:06 UTC (rev 17718)
+++ gate/trunk/plugins/Twitter/src/gate/corpora/twitter/TweetUtils.java
2014-03-20 20:41:29 UTC (rev 17719)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995-2013, The University of Sheffield. See the file
+ * Copyright (c) 1995-2014, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -11,13 +11,13 @@
*/
package gate.corpora.twitter;
-import gate.*;
-
+import gate.Factory;
+import gate.FeatureMap;
import java.io.IOException;
-import java.util.*;
-
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
import org.apache.commons.lang.StringUtils;
-
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs