add readme; make links more frequent
This commit is contained in:
parent
c4087af9ed
commit
d436810e68
BIN
jaggedpill.jpg
Normal file
BIN
jaggedpill.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
4
main.go
4
main.go
@ -342,7 +342,7 @@ func iDontWannaBeTheFiller() string {
|
|||||||
paragraph := strings.Join(sentences, " ")
|
paragraph := strings.Join(sentences, " ")
|
||||||
|
|
||||||
// Should paragraph contain link?
|
// Should paragraph contain link?
|
||||||
if rand.Float64() < 0.5 {
|
if rand.Float64() < 0.7 {
|
||||||
// Pick two or three words out of the paragraph
|
// Pick two or three words out of the paragraph
|
||||||
words := strings.Fields(paragraph)
|
words := strings.Fields(paragraph)
|
||||||
if len(words) < 2 {
|
if len(words) < 2 {
|
||||||
@ -424,7 +424,7 @@ func isShePervertedLikeMe() PocketGraph {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// read words.txt into a list
|
// read words.txt into a list
|
||||||
wordsBytes, err := os.ReadFile("word_lists/longman9000.txt")
|
wordsBytes, err := os.ReadFile("word_lists/hawthorne.txt")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Error reading words.txt:", err)
|
fmt.Println("Error reading words.txt:", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user