This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright 2008-2011 Gephi | |
Authors : Patick J. McSweeney <pjmcswee@syr.edu>, Sebastien Heymann <seb@gephi.org> | |
Website : http://www.gephi.org | |
This file is part of Gephi. | |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | |
Copyright 2011 Gephi Consortium. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ukc.deeplearning; | |
/** | |
* Created by Jon Baker on 20/08/2017. <Part of Socialsense> Copyright University of Kent | |
*/ | |
import org.datavec.api.records.reader.RecordReader; | |
import org.datavec.api.records.reader.impl.csv.CSVRecordReader; | |
import org.datavec.api.split.FileSplit; | |
import org.deeplearning4j.datasets.datavec.RecordReaderDataSetIterator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private String[] ignoredWords = new String[] { | |
"eda" | |
}; | |
/** | |
* Compares two strings. | |
* Each string is stripped of all invalid chars (Allowing letters and numbers only) | |
* | |
* @param newsResult The news result string | |
* @param currentArticle The article string | |
* @return A "Worth" value, based on the matches found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
#bottombox, | |
#topbox { | |
background-color: #CCCCCC; | |
width: 500px; | |
height: 100px; | |
margin: auto; | |
margin-bottom: 10px; | |
box-shadow: 10px 10px 5px #888888; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<?xml-stylesheet type="text/xsl" href="member.xsl" ?> | |
<Pupils> | |
<Pupil SpecialNeed="True"> | |
<Name> Anybody </Name> | |
<Address> | |
AnyStreet, Anywhere | |
</Address> | |
</Pupil> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<invoice xmlns="file:///exam/first-class-honours.xsd"> | |
<header> | |
<name>blah</name> | |
<address>blah</address> | |
</header> | |
<body> | |
<description>blah</description> | |
<total>5</total> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (this.currentScreen == null) { | |
for (int j = 0; j < this.hotKeys.size(); j++) { | |
// check through all stored hotkeys | |
HotKeyData hkData = this.hotKeys.get(j); | |
String label = hkData.label; | |
String action = hkData.action; | |
int keyCode = hkData.keyCode; | |
byte keyMods = hkData.keyMods; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** NutritionCentral | |
* Copyright (C) <2013, 2014> Jonathan Baker, Max Tayler - University of Kent | |
* All rights reserved | |
*/ | |
package com.ukc.nutritioncentral.adapter; | |
import java.util.List; | |
import android.content.Context; | |
import android.widget.ArrayAdapter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Emotes | |
public struct EmoteData //Contains all data needed for the emotes. Emote is the trigger word, | |
//example (bullet). ID is the byte value of the char | |
{ | |
public string Emote; | |
public byte ID; | |
} | |
//this list will be loaded with the list of emotes and their replacement values | |
static List<EmoteData> EmoteTriggers = null; |