Skip to content

Commit 7546b6e

Browse files
Add license
1 parent 5308856 commit 7546b6e

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

split-sent.py

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Script for cleaning the files and splitting the lines
2+
3+
# Copyright (C) 2017 Yanjun Gao
4+
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
10+
# This program is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
18+
119
from nltk import sent_tokenize,word_tokenize
220
import re
321
import os

stanford.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Script for running StanfordCoreNLP
2+
3+
# Copyright (C) 2017 Yanjun Gao
4+
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
10+
# This program is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
118
# Aug 6, 2017
219
# Step 0, move this file to stanford-corenlp folder
320
# mode: 1: peer summries; 2: wise_crowd_summaries, 3:test_summaries

0 commit comments

Comments
 (0)