Skip to content

Instantly share code, notes, and snippets.

@casperOne
Created October 9, 2013 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save casperOne/11b7bc6ff39c58d3aaa0 to your computer and use it in GitHub Desktop.
Save casperOne/11b7bc6ff39c58d3aaa0 to your computer and use it in GitHub Desktop.
Test for tagging date/time info from NEC tournament listing.
using System.Diagnostics;
using System.IO;
using edu.stanford.nlp.ling;
using edu.stanford.nlp.pipeline;
using edu.stanford.nlp.tagger.maxent;
using edu.stanford.nlp.time;
using java.util;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NaturalLanguageProcessingTests
{
[TestClass]
public class NaturalLanguageProcessingTests
{
private string ReadTestDataAsString(string name)
{
// Validate parameters.
Debug.Assert(!string.IsNullOrEmpty(name));
// Open the stream.
using (Stream stream = GetType().Assembly.GetManifestResourceStream(GetType(), "TestData." + name))
// Reader.
// ReSharper disable AssignNullToNotNullAttribute
using (var reader = new StreamReader(stream))
// ReSharper restore AssignNullToNotNullAttribute
{
// Get the string and return.
return reader.ReadToEnd();
}
}
[TestMethod]
public void TestStanfordNlpTime()
{
// Properties
var props = new Properties();
// Create the annotation pipeline.
var pipeline = new AnnotationPipeline();
pipeline.addAnnotator(new PTBTokenizerAnnotator(false));
pipeline.addAnnotator(new WordsToSentencesAnnotator(false));
var models = new MaxentTagger(@"edu\stanford\nlp\models\pos-tagger\english-bidirectional\english-bidirectional-distsim.tagger");
pipeline.addAnnotator(new POSTaggerAnnotator(models));
// Create the time annotator.
props.setProperty("sutime.rules",
@"edu\stanford\nlp\models\sutime\defs.sutime.txt,edu\stanford\nlp\models\sutime\english.holidays.sutime.txt,edu\stanford\nlp\models\sutime\english.sutime.txt");
props.setProperty("sutime.binders", "0");
pipeline.addAnnotator(new TimeAnnotator("sutime", props));
// Get the text.
string text = ReadTestDataAsString("Nec.txt");
// Create the annotation.
var annotation = new Annotation(text);
// Set the document date annotation.
annotation.set(new CoreAnnotations.DocDateAnnotation().getClass(), "2013-08-08");
// Sic the pipeline on the annotation.
pipeline.annotate(annotation);
}
}
}
NORTHEAST CHAMPIONSHIP (NEC XIV) Dec 6th, 7th and 8th -- IN Essington Pa., right outside of Philly
NECXIV will be sponsored by:
Big E Gaming
Philadelphia PA 19143
www.bigegaming.com
Team Sp00ky
201 Battery Avenue
Brooklyn, NY 11209
http://www.facebook.com/l/e7c04TX1DyfvwzC58TPI8e7WPiQ
http://iplaywinner.com/
Madcatz and Markman
http://www.madcatz.com/
Team TFC
DATE:
12/6/2013 – 12/8/2013
LOCATION:
Clarion Hotel and Conference Center
(Has 2500 Sq ft more than the holiday inn, in the main ballroom.)
76 Industrial Highway, Essington Pa 19029
Located 1 mile outside of Philadelphia and 1 mile away from the Philadelphia International Airport.(free shuttle to the airport and harrah's casino)
This hotel is about 10mins away from the Sheraton Suites.
Clarion Hotel and Conference Center
76 Industrial Highway, Essington Pa 19029
Please everyone you HAVE TO USE THIS NUMBER TO GET THE GROUP DISCOUNT FOR NEC 14.
Please book your rooms ASAP.
Hotel Room Discount: Call.
Ok everyone please call this person if your trying to get a room at the Nec 14 hotel.
Audrey Gildea
Director of Sales & Marketing
The Clarion Hotel and Conference Center
76 Industrial Airport
Essington, PA 19029
(610)521-9600 x1172
610-595-3519 - Fax
E-mail: agildea@clarionphl.com
Best if they call between 9am and 5pm, Monday through Friday. If your calling outside of these time frames just leave her a message it will be returned within 24 hours.
Sorry about this everyone. But this will help a lot.
Please call her to book your rooms ASAP.
($99.99 per night plus tax)
They WILL NOT CHARGE YOUR CARD to reserve a room.
STREAM: (Main)
Will be streamed by none other than the infamous Team Sp00ky! The stream can be found here--http://www.twitch.tv/teamsp00ky
2nd stream-- Bifuteki: www.twitch.tv/Bifuteki.com
3rd Stream--?
4th Stream--?
CONTACT:
Big E
(267)-231-8996
Eric2necphilly@yahoo.com
VP--Zack/Kattermari
(201)-650-1318
kattermari@gmail.com
VP--Rob Hubbs
(610) 573-8305
hubbsdoctor@gmail.com
REGISTRATION/FEES:
Online Venue Pre-Registration: $35
http://bigegaming.com/pre-registration/
At The Door Venue Registration: $50--(please pre-reg online)
Spectator Fee: $20
Pre-order your NEC XIVT-shirts
Link coming soon
Special Announcement: 1 coming soon.
Special announcement: 2 & 3 coming soon.
Big Friday Night tournament will be announced In the next few weeks.
GAME RULES:
Unless otherwise stated all console tournaments will be played on Xbox 360(SfXT,umvc3,INJ and 2012) everything else will be ps3
Team tournaments are single match the entire tournament including all finals matches.
SCHEDULE:
Saturday 12/7/2013
Team Tournaments:
SSF4:AE teams 3v3 -tbd- $30 per team
UMvc3 3v3 -- tbd -- $30 per team
3S:OE 3v3 -- tbd
DOAU-- 2v2-- tbd -- $20 per team
SfXt--2v2- 3pm - $20 per team
More to come
Friday 12/6/2013
Special Event: Curly mustache -- Philly edition.
SATURDAY 12/7/2013
Singles Tournaments:
SSF4:AE -- tbd -- $10 -- will continue Sunday--360-
UMvC3 -- tbd -- $10 – will continue Sunday--360- (half the pools will start Saturday and the 2nd half will start sunday at 11am)
Injustice -- tbd -- $10 --360
Killer Instinct -- tbd -- $10
MK9 – tbd -- $10--ps3--
SC5 – tbd -- $10 (top 8 sunday)--ps3--
TTT2 – tbd --start time -- $10 (top 8 Sunday)--ps3--
P4A-- tbd-- start time -- $10--Ps3-
BB – tbd - start time -- $10 each player --ps3--
*******
BlazBlue will be 3v3. Double elimination. You can have multiple of the same character on a team. You can even have same character teams.
Persona and Guilty Gear will be singles. The usual tournament format.
I have not decided on the use of macros yet for the GG tournament, and it will NOT be a topic for discussion in this thread.
Friday night we won't be running any tournaments at the Copabanana, but we will have drink specials and some setups for people to play on. Look for ward to it. It was a lot of fun last year with the JP there, and I'm sure it'll be awesome again this year.
************
GGAR– tbd-- start time --$10-- ps3
DOAU -- tbd-- $10 -- Ps3-
SUNDAY 12/8/2013
SSF4: 2012-- continued from Saturday – tbd
UMvC3 – continued from Saturday –
KOF13-- tbd --Start time--$10--ps3
ST -- tbd-- start time --$10
SfXTekken -- tbd--start time--$10
SG -- tbd -- $10-ps3
MB:AA – TBD-- start time -- $10--
AH3--TBD-- start time-- $10 entry fee--ps3
3S:OE – tbd-start time -- $10--ps3--
CvS2 – TBD-- $2 – PS2
UMK3 – TBD -- $5
A3/A2--TBD--$2
CE -- tbd--$2
I will also be adding more games to this list in the next few weeks.
I want this to be the BEST NEC ever but i can only do it with the players help. There will be food and drinks available to purchase for cheap.
I HOPE TO SEE ALL THE REAL PLAYERS HERE.
SOMETHING NEW
NEC XIV will be helping out the local community by having a CAN DRIVE ... so bring canned food and non-perishable foods for donation ... let's show the rest of the community that we do more than play fighting games all day everyday!
WORD TO THE WISE
Keep the negativity at home. We’re all here to have a good weekend with such an amazing community.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment