text stringlengths 3 1.18M |
|---|
/** Automatically generated file. DO NOT MODIFY */
package dev.zeno.textgame;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package ntancnit.app.map;
import java.io.InputStream;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache... |
package ntancnit.app.receiver;
import ntancnit.app.servie.AppService;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class MyReboot extends BroadcastReceiver{
@Override
public void onReceive(Context context, Intent intent) {
Intent myIntent = new ... |
package ntancnit.app.whereareyou;
import ntancnit.app.database.GetUserName;
import ntancnit.app.network.Config;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Me... |
package ntancnit.app.whereareyou;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
public class DialogAlert extends Activity {
private Context context;
private String friendN... |
package ntancnit.app.whereareyou;
import ntancnit.app.network.Config;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
public class SplashScreen extends Activity {
@Override
pro... |
package ntancnit.app.whereareyou;
import java.util.ArrayList;
import java.util.List;
import ntancnit.app.map.GMapV2GetRouteDirection;
import ntancnit.app.network.Config;
import org.w3c.dom.Document;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.graphics.Color;
import andr... |
package ntancnit.app.whereareyou;
import ntancnit.app.database.GetUserName;
import ntancnit.app.firebase.FireBase;
import ntancnit.app.network.Config;
import ntancnit.app.provider.GPSTraker;
import ntancnit.app.servie.AppService;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.A... |
package ntancnit.app.database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.provider.BaseColumns;
public class User {
private NTANCNITsqlliteHelper... |
package ntancnit.app.database;
import android.content.Context;
import android.database.Cursor;
import android.util.Log;
public class GetUserName {
private Context context;
public GetUserName(Context context){
this.context = context;
}
public Boolean isValidData(){
Boolean isValid = false;
User user = ne... |
package ntancnit.app.servie;
import ntancnit.app.firebase.FireBase;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
public class AppService extends Service{
@Override
public IBinder onBind(Intent intent) {
return null;
}
@Override
public void onCreate() {
super.onCreat... |
package ntancnit.app.network;
import android.content.Context;
import android.net.ConnectivityManager;
public class Config {
public static String SHAREDPREFERENCES_DATA = "ntancnit.app";
public static final String AD_UNIT_ID = "ca-app-pub-5426665153896839/6867340701";
public static boolean isNetworkAvailable(Co... |
package ntancnit.app.provider;
import ntancnit.app.whereareyou.R;
import android.app.AlertDialog;
import android.app.Service;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
impo... |
package ntancnit.app.firebase;
import ntancnit.app.database.GetUserName;
import ntancnit.app.whereareyou.DialogAlert;
import ntancnit.app.whereareyou.FriendActivity;
import ntancnit.app.whereareyou.MainActivity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
imp... |
package com.example.androidp2;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;
import android.support.v4.app.NavUtils;
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate... |
/** Automatically generated file. DO NOT MODIFY */
package com.example.androidp2;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.example.testsvn;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;
import android.support.v4.app.NavUtils;
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(s... |
/** Automatically generated file. DO NOT MODIFY */
package com.example.testsvn;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.scaleit.weighingsystem;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
... |
package com.scaleit.weighingsystem;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
... |
package com.scaleit.weighingsystem;
import com.scaleit.weighingsystem.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.content.Intent;
public class WeighingSystemActivity extends Activity implem... |
package com.scaleit.weighingsystem;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
... |
package com.cleverdevices.kevin;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class Menu extends ListActivity{
String classes[] = {"StartingPoint", "example1"... |
package com.cleverdevices.kevin;
import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
public class Splash extends Activity{
MediaPlayer ourSong;
@Override
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedIns... |
package com.cleverdevices.kevin;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class StartingPoint extends Activity {
/** Called when the activity is first created. */
// CREATING VIEW... |
/** Automatically generated file. DO NOT MODIFY */
package com.cleverdevices.kevin;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.realgt.androidwifinonroot;
import android.app.Activity;
import android.content.Context;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.util.Log;
/*
* Edit values of the SSID_NAME and SHARED_KEY (if you need it)
* and make sure t... |
import java.util.List;
public class SearchResult {
float score;
List<Position> boardAfterTestMoves;
public SearchResult(float score) { this.score = score; }
public SearchResult(float score, List<Position> positions) {
this.score = score;
boardAfterTestMoves = positions;
}
}
|
final public class ChessMove {
public int from;
public int to;
}
|
final public class Position {
final static public int BLANK = 0;
final static public int HUMAN = 1;
final static public int PROGRAM = -1;
final static public int PAWN = 1;
final static public int KNIGHT = 2;
final static public int BISHOP = 3;
final static public int ROOK = 4;
final stat... |
import java.util.*;
import java.io.*;
public class Chess {
public static final boolean DEBUG = false;
public static boolean PROGRAM = false;
public static boolean HUMAN = true;
/*
* Search methods:
*/
protected SearchResult alphaBeta(int depth, Position p, boolean player) ... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
/*
Java API for WordNet Searching 1.0
Copyright (c) 2007 by Brett Spell.
This software is being provided to you, the LICENSEE, by under the following
license. By obtaining, using and/or copying this software, you agree that
you have read, understood, and will comply with these terms and conditions:
P... |
import java.util.Arrays;
import java.util.List;
import edu.smu.tspell.wordnet.*;
import edu.smu.tspell.wordnet.impl.file.PropertyNames;
public class WordNetTest {
public WordNetTest() {
database = WordNetDatabase.getFileInstance();
}
public List<Synset> getSynsets(String word) {
return Arrays.asList(database... |
package public_domain;
/*
Porter stemmer in Java. The original paper is in
Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14,
no. 3, pp 130-137,
See also http://www.tartarus.org/~martin/PorterStemmer
History:
Release 1
Bug 1 (reported by Gonzalo Parra 16/10/99) fixed ... |
package com.knowledgebooks.nlp;
import public_domain.Stemmer;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import com.knowledgebooks.nlp.util.NoiseWords;
/**
* This class stores ... |
package com.knowledgebooks.nlp;
import com.knowledgebooks.nlp.util.ScoredList;
import com.knowledgebooks.nlp.util.Tokenizer;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.... |
// Copyright 2003-2008. Mark Watson (markw@markwatson.com). All rights reserved.
// This software is released under the LGPL (www.fsf.org)
// For an alternative non-GPL license: contact the author
// THIS SOFTWARE COMES WITH NO WARRANTY
package com.knowledgebooks.nlp;
import java.io.*;
import java.util.*;
/**
*... |
package com.knowledgebooks.nlp.util;
public class NameValue <K, V> {
private K name = null;
private V value = null;
public NameValue(K k, V v) {
this.name = k;
this.value = v;
}
public K getName() {
return this.name;
}
public V getValue() {
return this.value;... |
package com.knowledgebooks.nlp.util;
import java.util.HashSet;
import java.util.Set;
import public_domain.Stemmer;
public class NoiseWords {
private static String[] words = {
"the", "a", "an", "it", "or", "and", "he", "she",
"with", "often", "to", "do", "that", "this", "is",
"are", "one", "two", "since", "just... |
package com.knowledgebooks.nlp.util;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class RunExternal {
public static void main(String argv[]) {
try {
String line;
Process p = Runtime.getRuntime().exec
("echo \"thhe dogg brked\" | /usr/local/bin/aspell -a list");
... |
package com.knowledgebooks.nlp.util;
import java.util.ArrayList;
import java.util.List;
/**
*
* <p/>
* Copyright 2002-2008 by Mark Watson. All rights reserved.
* <p/>
* This software is not public domain. It can be legally
* used under either of the following licenses:
* <p/>
* 1. KnowledgeBooks.com Non Comme... |
// Copyright 2003-2008. Mark Watson (markw@markwatson.com). All rights reserved.
// This software is released under the LGPL (www.fsf.org)
// For an alternative non-GPL license: contact the author
// THIS SOFTWARE COMES WITH NO WARRANTY
package com.knowledgebooks.nlp.util;
import java.util.*;
import java.io.*;
/**... |
package com.knowledgebooks.nlp;
import public_domain.Stemmer;
import java.io.FileInputStream;
import java.util.*;
import javax.xml.parsers.*;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import com.knowledgebooks.nlp.util.NameValue;
/**
* Associate pre-t... |
import weka.classifiers.meta.FilteredClassifier;
import weka.classifiers.trees.J48;
import weka.core.Instances;
import weka.filters.unsupervised.attribute.Remove;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
public class WekaStocks {
/**... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLDecoder;
import java.net.URLEncoder;
impor... |
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List... |
import javax.swing.*;
import java.awt.*;
/**
* Title: Graph<p>
* Description: Simple program to produce a graph for the book<p>
* Copyright: Copyright (c) Mark Watson<p>
* Company: <p>
* @author Mark Watson
* @version 1.0
*/
public class Graph extends JFrame {
GraphPanel jPanel1;
float... |
/**
* Title: <p>
* Description: <p>
* Copyright: Copyright (c) <p>
* Company: <p>
* @author
* @version 1.0
*/
import javax.swing.*;
import java.awt.*;
public class GraphPanel extends java.awt.Canvas { // JPanel {
public GraphPanel(float[] data1, float[] data2) {
super();
th... |
/**
* Title: <p>
* Description: <p>
* Copyright: Copyright (c) <p>
* Company: <p>
* @author
* @version 1.0
*/
import java.util.*;
public class Hopfield {
public Hopfield(int numInputs) {
this.numInputs = numInputs;
weights = new float[numInputs][numInputs];
inputCel... |
/**
* Title: <p>
* Description: <p>
* Copyright: Copyright (c) <p>
* Company: <p>
* @author
* @version 1.0
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class GUITest_2H extends JFrame {
static float[] in1 = {0.1f, 0.1f, 0.9f};
static float[] in2 = {0.1f, 0... |
/**
* Title: <p>
* Description: <p>
* Copyright: Copyright (c) <p>
* Company: <p>
* @author
* @version 1.0
*/
public class Test_1H {
static float[] in1 = {0.1f, 0.1f, 0.9f};
static float[] in2 = {0.1f, 0.9f, 0.1f};
static float[] in3 = {0.9f, 0.1f, 0.1f};
static float[] ou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.