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
{ | |
"dataset_reader": { | |
"type": "conll2003", | |
"token_indexers": { | |
"tokens": { | |
"type": "single_id", | |
"lowercase_tokens": true | |
}, | |
"token_characters": { | |
"type": "characters" |
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
""" | |
Example of how to read a partial NumPy array stored in NPY | |
format off of disk. | |
""" | |
__author__ = "David Warde-Farley" | |
__copyright__ = "Copyright (c) 2012 by " + __author__ | |
__license__ = "3-clause BSD" | |
__email__ = "dwf@dwf.name" | |
import struct |
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 <string.h> | |
#include <uthash.h> | |
// this is an example of how to do a LRU cache in C using uthash | |
// http://uthash.sourceforge.net/ | |
// by Jehiah Czebotar 2011 - jehiah@gmail.com | |
// this code is in the public domain http://unlicense.org/ | |
#define MAX_CACHE_SIZE 100000 |