summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmain.py2
-rwxr-xr-xmake_noun_list.sh3
-rw-r--r--noun_lists_raw/Wordlist-Nouns-All.txt (renamed from nounlist_raw/Wordlist-Nouns-All.txt)0
-rw-r--r--noun_lists_raw/english-nouns.txt (renamed from nounlist_raw/english-nouns.txt)0
-rw-r--r--noun_lists_raw/noun_lists.warc.gz (renamed from nounlist_raw/noun_lists.warc.gz)bin290789 -> 290789 bytes
-rw-r--r--noun_lists_raw/nounlist.txt (renamed from nounlist_raw/nounlist.txt)0
6 files changed, 4 insertions, 1 deletions
diff --git a/main.py b/main.py
index 9445fce..f1ab46b 100755
--- a/main.py
+++ b/main.py
@@ -2,7 +2,7 @@
import argparse
import sys
-parser = argparse.ArgumentParser(prog="D&D&D&D", description="Dungeons & Dragons D...")
+parser = argparse.ArgumentParser(prog="D&D&D&D", description="Dungeons & Dragons & D...")
parser.add_argument("word_num", default=None, nargs="?", type=int)
args = parser.parse_args()
word_num = args.word_num
diff --git a/make_noun_list.sh b/make_noun_list.sh
new file mode 100755
index 0000000..de795df
--- /dev/null
+++ b/make_noun_list.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+RAW_NOUNLIST_FILES='english-nouns.txt nounlist.txt Wordlist-Nouns-All.txt'
+cd noun_lists_raw && cat $RAW_NOUNLIST_FILES | grep -v '[^[:lower:]]' | sort -u > ../nouns.txt
diff --git a/nounlist_raw/Wordlist-Nouns-All.txt b/noun_lists_raw/Wordlist-Nouns-All.txt
index 72d18d0..72d18d0 100644
--- a/nounlist_raw/Wordlist-Nouns-All.txt
+++ b/noun_lists_raw/Wordlist-Nouns-All.txt
diff --git a/nounlist_raw/english-nouns.txt b/noun_lists_raw/english-nouns.txt
index 672484c..672484c 100644
--- a/nounlist_raw/english-nouns.txt
+++ b/noun_lists_raw/english-nouns.txt
diff --git a/nounlist_raw/noun_lists.warc.gz b/noun_lists_raw/noun_lists.warc.gz
index 2516051..2516051 100644
--- a/nounlist_raw/noun_lists.warc.gz
+++ b/noun_lists_raw/noun_lists.warc.gz
Binary files differ
diff --git a/nounlist_raw/nounlist.txt b/noun_lists_raw/nounlist.txt
index 3f0d1dc..3f0d1dc 100644
--- a/nounlist_raw/nounlist.txt
+++ b/noun_lists_raw/nounlist.txt