Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abisee/cnn-dailymail
/ functions
Functions
10 in github.com/abisee/cnn-dailymail
⨍
Functions
10
◇
Types & classes
0
↓ 4 callers
Function
check_num_stories
(stories_dir, num_expected)
make_datafiles.py:212
↓ 3 callers
Function
write_to_bin
Reads the tokenized .story files corresponding to the urls listed in the url_file and writes them to a out_file.
make_datafiles.py:150
↓ 2 callers
Function
read_text_file
(text_file)
make_datafiles.py:90
↓ 2 callers
Function
tokenize_stories
Maps a whole directory of .story files to a tokenized version using Stanford CoreNLP Tokenizer
make_datafiles.py:67
↓ 1 callers
Function
chunk_all
()
make_datafiles.py:56
↓ 1 callers
Function
chunk_file
(set_name)
make_datafiles.py:36
↓ 1 callers
Function
fix_missing_period
Adds a period to a line that is missing a period
make_datafiles.py:109
↓ 1 callers
Function
get_art_abs
(story_file)
make_datafiles.py:118
↓ 1 callers
Function
get_url_hashes
(url_list)
make_datafiles.py:105
↓ 1 callers
Function
hashhex
Returns a heximal formated SHA1 hash of the input string.
make_datafiles.py:98