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
/* | |
* SudokuPlayer.java | |
* Ray Zeng(Tianrui) & Nick Luo(Haiyu) | |
* All group members were present and contributing during all work on this project. | |
* We have neither received nor given any unauthorized aid in this assignment. | |
*/ | |
package hw2; | |
import javax.swing.*; | |
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
/* | |
* multi-server.c | |
*/ | |
#include <stdio.h> /* for printf() and fprintf() */ | |
#include <sys/socket.h> /* for socket(), bind(), and connect() */ | |
#include <arpa/inet.h> /* for sockaddr_in and inet_ntoa() */ | |
#include <stdlib.h> /* for atoi() and exit() */ | |
#include <string.h> /* for memset() */ | |
#include <unistd.h> /* for close() */ |
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
from conll_reader import DependencyStructure, DependencyEdge, conll_reader | |
from collections import defaultdict | |
import copy | |
import sys | |
import numpy as np | |
import keras | |
import tensorflow as tf | |
from extract_training_data import FeatureExtractor, State |
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
from conll_reader import DependencyStructure, conll_reader | |
from collections import defaultdict | |
import copy | |
import sys | |
import keras | |
import numpy as np | |
class State(object): | |
def __init__(self, sentence = []): | |
self.stack = [] |
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
import sys | |
from collections import defaultdict | |
import math | |
import random | |
import os | |
import os.path | |
""" | |
COMS W4705 - Natural Language Processing - Fall 2022 | |
Prorgramming Homework 1 - Trigram Language Models | |
Nick Luo |
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
#include "element.h" | |
#include "linear_algebra.h" | |
#include "mat.hpp" | |
#include "mesh.h" | |
#include "sphere.h" | |
#include "readwrite.h" | |
#include "simplifier.h" | |
#include "vec.hpp" | |
#include "webgl.h" | |
#include <map> |
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
/* | |
* SentAnalysis.java | |
* Ray Zeng(Tianrui) & Nick Luo(Haiyu) | |
* All group members were present and contributing during all work on this project. | |
* We have neither received nor given any unauthorized aid in this assignment. | |
*/ | |
package hw4; | |
/* | |
* Please see submission instructions for what to write here. | |
*/ |
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
""" | |
COMS W4705 - Natural Language Processing | |
Homework 2 - Parsing with Probabilistic Context Free Grammars | |
Nick Luo | |
""" | |
from lib2to3.pgen2 import token | |
import math | |
import sys | |
from collections import defaultdict | |
import itertools |
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
// Because we are using POSIX features that aren't part of the C standard, we | |
// need to #define this macro before #including standard library headers to be | |
// granted access to POSIX-specific definitions such as struct addrinfo. | |
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> |
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
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <mylist.h> | |
#include "mdb.h" | |
//#include "mdb.c" | |
#define KeyMax 5 | |
#include <sys/types.h> |
NewerOlder