- Download the file
ExtractedTweets.csv
programmatically from this website: https://www.kaggle.com/kapastor/democratvsrepublicantweets#ExtractedTweets.csv
- Find the word distribution for each party using
CountVectorizer
ExtractedTweets.csv
programmatically from this website: https://www.kaggle.com/kapastor/democratvsrepublicantweets#ExtractedTweets.csvCountVectorizer
backcall==0.1.0 | |
bleach==3.0.2 | |
cycler==0.10.0 | |
decorator==4.3.0 | |
defusedxml==0.5.0 | |
entrypoints==0.2.3 | |
et-xmlfile==1.0.1 | |
ipykernel==5.1.0 | |
ipython==7.2.0 | |
ipython-genutils==0.2.0 |
I hereby claim:
To claim this, I am signing this object:
pau ay ae m y ao r f aa dh er pau | |
pau-ay ice | |
ay-ae miamil | |
ae-m - | |
m-y - | |
y-ao yoghurt | |
ao-r sorry | |
r-f barfat | |
f-aa - |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/reveal.min.css" type="text/css"/> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/theme/white.min.css" type="text/css"/> | |
</head> | |
<body> | |
<div class="reveal"> |
#!/bin/bash | |
## | |
## This script installs jenkins on debian based machines | |
## Author: Jegp <jensegholm@protonmail.com> | |
## | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi |
package controllers | |
object MyController extends Controller { | |
def add() = Action { implicit request => | |
Form( tuple ( "user" -> number ) ).bindFromRequest.fold( | |
errors => BadRequest, | |
t => { | |
Ok("Add id: " + t) | |
} |
import scala.actors.Actor._ | |
import scala.actors.remote._ | |
import scala.actors.remote.RemoteActor._ | |
object Remote { | |
val listening = actor { | |
alive(6001) | |
register('AwesomeRemoteServer, self) | |
println("I'm alive!") |
// Create an image | |
val image = new BufferedImage(100, 100, BufferedImage.TYPE_3BYTE_BGR) | |
// Retrieve graphics | |
val graphics = image.getGraphics.asInstanceOf[Graphics2D] | |
// Convert to siigna graphics (much nicer API) | |
val siignaGraphics = new com.siigna.app.view.Graphics(graphics.asInstanceOf[Graphics2D]) |
<html> | |
<body> | |
<!-- See this link for explanation: http://docs.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/using_tags.html --> | |
<object classid="clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA"> | |
<param name="code" value="AppletTest.class"> | |
<comment> | |
<embed code="AppletTest.class" | |
type="application/x-java-applet;jpi-version=1.7.0"> | |
<noembed> | |
No Java Support. |