adjust the connector word percentage
This commit is contained in:
parent
c09b66ea65
commit
e5a9fa5109
@ -7,7 +7,7 @@ HTML page containing random text and links. The generator is tuned to be very
|
||||
nonsensical, but ends up creating some weirdly strange and poetic prose...
|
||||
keep following links to find more!
|
||||
|
||||
I use this as an AI scraper labyrinth, with the following NGINX config:
|
||||
I use this as an AI scraper labyrinth (or poison pill), with the following NGINX config:
|
||||
|
||||
```
|
||||
# No AI Bots
|
||||
|
2
main.go
2
main.go
@ -433,7 +433,7 @@ func isShePervertedLikeMe() PocketGraph {
|
||||
tree := make(PocketGraph)
|
||||
|
||||
for _, word := range ConnectionWords {
|
||||
var percentageOfWords float64 = 0.02
|
||||
var percentageOfWords float64 = 0.005
|
||||
var numberOfConnections = float64(len(words)) * percentageOfWords
|
||||
for j := 0; j < int(numberOfConnections); j++ {
|
||||
randomWord := words[rand.Intn(len(words))]
|
||||
|
Loading…
x
Reference in New Issue
Block a user