1#[allow(warnings)]
2pub fn new(length: usize) -> String {
8 use rand::Rng;
9 use std::collections::VecDeque;
10 let mut vec = VecDeque::new();
11 for _i in 0..length {
12 let mut rng = rand::thread_rng();
13 let words = crate::macros::data();
14 let j: usize = rng.gen_range(0..words.len());
15 vec.push_back(format!("{}", words[j]));
16 }
17 vec.as_slices().0.to_vec().join::<_>(" ").to_string()
18}
19mod macros {
20 pub fn data() -> [&'static str; 999] {
21 [
22 "the",
23 "of",
24 "and",
25 "to",
26 "in",
27 "a",
28 "is",
29 "that",
30 "for",
31 "as",
32 "by",
33 "be",
34 "it",
35 "with",
36 "on",
37 "was",
38 "or",
39 "not",
40 "this",
41 "are",
42 "i",
43 "from",
44 "at",
45 "he",
46 "which",
47 "an",
48 "have",
49 "his",
50 "but",
51 "you",
52 "we",
53 "all",
54 "were",
55 "they",
56 "one",
57 "had",
58 "has",
59 "will",
60 "their",
61 "been",
62 "other",
63 "if",
64 "can",
65 "may",
66 "there",
67 "would",
68 "no",
69 "more",
70 "new",
71 "such",
72 "its",
73 "when",
74 "any",
75 "these",
76 "who",
77 "so",
78 "her",
79 "time",
80 "than",
81 "do",
82 "she",
83 "some",
84 "what",
85 "about",
86 "state",
87 "only",
88 "two",
89 "into",
90 "also",
91 "out",
92 "them",
93 "our",
94 "said",
95 "under",
96 "first",
97 "my",
98 "him",
99 "up",
100 "see",
101 "made",
102 "should",
103 "after",
104 "shall",
105 "your",
106 "most",
107 "could",
108 "then",
109 "over",
110 "each",
111 "year",
112 "work",
113 "states",
114 "where",
115 "use",
116 "years",
117 "me",
118 "between",
119 "those",
120 "same",
121 "now",
122 "many",
123 "through",
124 "upon",
125 "s",
126 "must",
127 "well",
128 "very",
129 "general",
130 "did",
131 "before",
132 "used",
133 "because",
134 "being",
135 "part",
136 "like",
137 "united",
138 "people",
139 "during",
140 "public",
141 "section",
142 "how",
143 "number",
144 "act",
145 "even",
146 "make",
147 "court",
148 "case",
149 "system",
150 "much",
151 "three",
152 "both",
153 "per",
154 "water",
155 "law",
156 "life",
157 "day",
158 "company",
159 "service",
160 "good",
161 "way",
162 "without",
163 "order",
164 "great",
165 "american",
166 "p",
167 "while",
168 "man",
169 "however",
170 "york",
171 "long",
172 "high",
173 "b",
174 "c",
175 "us",
176 "national",
177 "right",
178 "does",
179 "city",
180 "government",
181 "information",
182 "just",
183 "within",
184 "school",
185 "against",
186 "found",
187 "power",
188 "here",
189 "world",
190 "own",
191 "another",
192 "data",
193 "committee",
194 "business",
195 "given",
196 "know",
197 "program",
198 "little",
199 "since",
200 "present",
201 "every",
202 "house",
203 "men",
204 "report",
205 "university",
206 "following",
207 "less",
208 "back",
209 "place",
210 "total",
211 "large",
212 "take",
213 "department",
214 "down",
215 "small",
216 "county",
217 "second",
218 "development",
219 "control",
220 "might",
221 "research",
222 "office",
223 "last",
224 "point",
225 "form",
226 "board",
227 "old",
228 "still",
229 "d",
230 "children",
231 "president",
232 "interest",
233 "get",
234 "federal",
235 "different",
236 "set",
237 "end",
238 "study",
239 "area",
240 "action",
241 "too",
242 "value",
243 "fact",
244 "line",
245 "think",
246 "education",
247 "health",
248 "until",
249 "percent",
250 "group",
251 "amount",
252 "war",
253 "services",
254 "go",
255 "period",
256 "important",
257 "never",
258 "few",
259 "means",
260 "come",
261 "several",
262 "four",
263 "cases",
264 "having",
265 "say",
266 "thus",
267 "among",
268 "social",
269 "above",
270 "table",
271 "country",
272 "whether",
273 "need",
274 "john",
275 "property",
276 "home",
277 "off",
278 "certain",
279 "cost",
280 "question",
281 "effect",
282 "rate",
283 "called",
284 "days",
285 "land",
286 "required",
287 "members",
288 "give",
289 "person",
290 "subject",
291 "special",
292 "am",
293 "necessary",
294 "course",
295 "process",
296 "air",
297 "available",
298 "possible",
299 "e",
300 "local",
301 "again",
302 "bill",
303 "commission",
304 "hand",
305 "change",
306 "provided",
307 "family",
308 "taken",
309 "held",
310 "name",
311 "based",
312 "left",
313 "further",
314 "best",
315 "five",
316 "including",
317 "far",
318 "history",
319 "others",
320 "example",
321 "find",
322 "often",
323 "support",
324 "conditions",
325 "women",
326 "type",
327 "evidence",
328 "although",
329 "god",
330 "figure",
331 "district",
332 "results",
333 "tax",
334 "provide",
335 "either",
336 "full",
337 "yet",
338 "though",
339 "free",
340 "times",
341 "field",
342 "side",
343 "level",
344 "white",
345 "common",
346 "human",
347 "due",
348 "therefore",
349 "production",
350 "making",
351 "known",
352 "south",
353 "light",
354 "using",
355 "early",
356 "association",
357 "care",
358 "de",
359 "increase",
360 "book",
361 "washington",
362 "june",
363 "result",
364 "matter",
365 "least",
366 "came",
367 "north",
368 "better",
369 "chapter",
370 "always",
371 "secretary",
372 "whole",
373 "next",
374 "rather",
375 "class",
376 "later",
377 "policy",
378 "labor",
379 "low",
380 "m",
381 "international",
382 "management",
383 "money",
384 "foreign",
385 "thought",
386 "body",
387 "put",
388 "individual",
389 "various",
390 "age",
391 "going",
392 "done",
393 "let",
394 "head",
395 "become",
396 "society",
397 "l",
398 "feet",
399 "plan",
400 "ii",
401 "once",
402 "economic",
403 "t",
404 "analysis",
405 "want",
406 "systems",
407 "received",
408 "problem",
409 "things",
410 "himself",
411 "show",
412 "material",
413 "why",
414 "date",
415 "around",
416 "shown",
417 "position",
418 "income",
419 "half",
420 "purpose",
421 "third",
422 "party",
423 "problems",
424 "young",
425 "child",
426 "nature",
427 "current",
428 "building",
429 "political",
430 "energy",
431 "term",
432 "price",
433 "west",
434 "union",
435 "bank",
436 "method",
437 "application",
438 "real",
439 "away",
440 "force",
441 "street",
442 "n",
443 "trade",
444 "areas",
445 "college",
446 "river",
447 "july",
448 "test",
449 "pay",
450 "center",
451 "construction",
452 "industry",
453 "et",
454 "major",
455 "along",
456 "contract",
457 "death",
458 "help",
459 "congress",
460 "average",
461 "paper",
462 "open",
463 "community",
464 "products",
465 "words",
466 "market",
467 "cent",
468 "almost",
469 "treatment",
470 "paid",
471 "read",
472 "cause",
473 "studies",
474 "terms",
475 "al",
476 "church",
477 "together",
478 "rights",
479 "students",
480 "something",
481 "account",
482 "room",
483 "programs",
484 "view",
485 "note",
486 "title",
487 "basis",
488 "member",
489 "changes",
490 "surface",
491 "record",
492 "f",
493 "considered",
494 "rule",
495 "march",
496 "true",
497 "short",
498 "authority",
499 "corporation",
500 "similar",
501 "took",
502 "nothing",
503 "include",
504 "america",
505 "except",
506 "seen",
507 "equipment",
508 "ever",
509 "went",
510 "press",
511 "single",
512 "experience",
513 "oil",
514 "statement",
515 "review",
516 "black",
517 "administration",
518 "persons",
519 "look",
520 "medical",
521 "food",
522 "private",
523 "particular",
524 "lower",
525 "continued",
526 "future",
527 "near",
528 "project",
529 "whose",
530 "x",
531 "higher",
532 "stock",
533 "six",
534 "past",
535 "itself",
536 "increased",
537 "reason",
538 "insurance",
539 "already",
540 "million",
541 "issue",
542 "greater",
543 "natural",
544 "enough",
545 "operation",
546 "plant",
547 "months",
548 "specific",
549 "able",
550 "annual",
551 "design",
552 "costs",
553 "according",
554 "gas",
555 "defendant",
556 "addition",
557 "practice",
558 "central",
559 "standard",
560 "organization",
561 "page",
562 "self",
563 "personal",
564 "training",
565 "face",
566 "division",
567 "additional",
568 "model",
569 "hours",
570 "r",
571 "asked",
572 "meeting",
573 "series",
574 "california",
575 "effects",
576 "kind",
577 "mind",
578 "rates",
579 "laws",
580 "ground",
581 "science",
582 "activities",
583 "size",
584 "working",
585 "believe",
586 "father",
587 "william",
588 "generally",
589 "nor",
590 "complete",
591 "growth",
592 "knowledge",
593 "love",
594 "employees",
595 "usually",
596 "described",
597 "art",
598 "materials",
599 "reported",
600 "themselves",
601 "related",
602 "call",
603 "april",
604 "population",
605 "established",
606 "toward",
607 "below",
608 "english",
609 "brought",
610 "quality",
611 "range",
612 "parts",
613 "capital",
614 "ยบ",
615 "space",
616 "effective",
617 "groups",
618 "proposed",
619 "especially",
620 "methods",
621 "military",
622 "schools",
623 "chairman",
624 "language",
625 "east",
626 "agency",
627 "agreement",
628 "requirements",
629 "condition",
630 "word",
631 "return",
632 "told",
633 "january",
634 "security",
635 "obtained",
636 "became",
637 "thing",
638 "pressure",
639 "perhaps",
640 "keep",
641 "night",
642 "decision",
643 "director",
644 "fire",
645 "rules",
646 "code",
647 "lines",
648 "loss",
649 "non",
650 "direct",
651 "o",
652 "miles",
653 "respect",
654 "follows",
655 "probably",
656 "letter",
657 "written",
658 "clear",
659 "mean",
660 "source",
661 "library",
662 "purposes",
663 "structure",
664 "got",
665 "notice",
666 "mother",
667 "provisions",
668 "council",
669 "close",
670 "temperature",
671 "whom",
672 "hundred",
673 "works",
674 "says",
675 "performance",
676 "judgment",
677 "december",
678 "funds",
679 "resources",
680 "function",
681 "books",
682 "sense",
683 "included",
684 "reports",
685 "quite",
686 "financial",
687 "distribution",
688 "ed",
689 "james",
690 "unit",
691 "eyes",
692 "needs",
693 "chicago",
694 "yes",
695 "activity",
696 "road",
697 "chief",
698 "heart",
699 "final",
700 "today",
701 "seems",
702 "countries",
703 "opinion",
704 "volume",
705 "presented",
706 "original",
707 "points",
708 "senate",
709 "developed",
710 "attention",
711 "century",
712 "published",
713 "physical",
714 "theory",
715 "employment",
716 "army",
717 "tell",
718 "sales",
719 "motion",
720 "main",
721 "soon",
722 "town",
723 "workers",
724 "questions",
725 "article",
726 "j",
727 "added",
728 "operations",
729 "values",
730 "blood",
731 "twenty",
732 "began",
733 "supply",
734 "limited",
735 "october",
736 "prior",
737 "determined",
738 "living",
739 "woman",
740 "v",
741 "civil",
742 "journal",
743 "trial",
744 "september",
745 "answer",
746 "h",
747 "shows",
748 "gave",
749 "product",
750 "manner",
751 "disease",
752 "industrial",
753 "normal",
754 "red",
755 "charge",
756 "g",
757 "king",
758 "week",
759 "ten",
760 "fund",
761 "list",
762 "character",
763 "saw",
764 "officers",
765 "really",
766 "forms",
767 "legal",
768 "fig",
769 "sometimes",
770 "length",
771 "makes",
772 "needed",
773 "patients",
774 "staff",
775 "situation",
776 "senator",
777 "strong",
778 "job",
779 "month",
780 "applied",
781 "george",
782 "sale",
783 "placed",
784 "england",
785 "plaintiff",
786 "meet",
787 "involved",
788 "passed",
789 "unless",
790 "degree",
791 "companies",
792 "london",
793 "august",
794 "species",
795 "proper",
796 "late",
797 "claim",
798 "trust",
799 "issues",
800 "hands",
801 "outside",
802 "taking",
803 "base",
804 "top",
805 "san",
806 "payment",
807 "produced",
808 "solution",
809 "story",
810 "western",
811 "beginning",
812 "credit",
813 "across",
814 "french",
815 "response",
816 "hard",
817 "region",
818 "provides",
819 "co",
820 "recent",
821 "reference",
822 "officer",
823 "filed",
824 "equal",
825 "parties",
826 "patient",
827 "knew",
828 "sent",
829 "records",
830 "claims",
831 "feel",
832 "significant",
833 "reading",
834 "entire",
835 "determine",
836 "run",
837 "extent",
838 "sec",
839 "appropriate",
840 "approach",
841 "protection",
842 "turn",
843 "factors",
844 "duty",
845 "felt",
846 "role",
847 "technology",
848 "son",
849 "carried",
850 "doing",
851 "sir",
852 "address",
853 "cut",
854 "appear",
855 "safety",
856 "commercial",
857 "vol",
858 "wife",
859 "influence",
860 "weight",
861 "bureau",
862 "associated",
863 "hospital",
864 "relations",
865 "sure",
866 "anything",
867 "operating",
868 "longer",
869 "types",
870 "defense",
871 "particularly",
872 "basic",
873 "front",
874 "transportation",
875 "facilities",
876 "flow",
877 "movement",
878 "former",
879 "box",
880 "modern",
881 "looked",
882 "judge",
883 "standards",
884 "nearly",
885 "iii",
886 "conference",
887 "stated",
888 "leave",
889 "station",
890 "november",
891 "finally",
892 "consideration",
893 "cells",
894 "difficult",
895 "planning",
896 "cross",
897 "idea",
898 "levels",
899 "potential",
900 "require",
901 "heard",
902 "technical",
903 "issued",
904 "direction",
905 "expected",
906 "justice",
907 "beyond",
908 "february",
909 "simple",
910 "fine",
911 "sea",
912 "lead",
913 "likely",
914 "estate",
915 "post",
916 "plants",
917 "live",
918 "robert",
919 "notes",
920 "charles",
921 "middle",
922 "author",
923 "instead",
924 "steel",
925 "alone",
926 "hold",
927 "british",
928 "lost",
929 "facts",
930 "car",
931 "latter",
932 "throughout",
933 "benefits",
934 "engineering",
935 "consider",
936 "electric",
937 "heat",
938 "poor",
939 "site",
940 "re",
941 "student",
942 "principal",
943 "survey",
944 "assistance",
945 "difference",
946 "dollars",
947 "lord",
948 "capacity",
949 "discussion",
950 "request",
951 "farm",
952 "wide",
953 "primary",
954 "prices",
955 "thomas",
956 "sufficient",
957 "brown",
958 "fall",
959 "otherwise",
960 "railroad",
961 "portion",
962 "referred",
963 "writing",
964 "directly",
965 "appears",
966 "turned",
967 "hour",
968 "includes",
969 "followed",
970 "bring",
971 "actual",
972 "regulations",
973 "amendment",
974 "executive",
975 "exchange",
976 "music",
977 "born",
978 "understand",
979 "soil",
980 "aid",
981 "demand",
982 "big",
983 "units",
984 "acid",
985 "goods",
986 "earth",
987 "iron",
988 "entitled",
989 "existing",
990 "institute",
991 "relationship",
992 "nation",
993 "coal",
994 "color",
995 "ask",
996 "sound",
997 "failure",
998 "plans",
999 "la",
1000 "continue",
1001 "risk",
1002 "moment",
1003 "net",
1004 "hearing",
1005 "ohio",
1006 "hope",
1007 "receive",
1008 "prepared",
1009 "southern",
1010 "behavior",
1011 "larger",
1012 "ways",
1013 "connection",
1014 "play",
1015 "individuals",
1016 "computer",
1017 "smith",
1018 "contact",
1019 "indeed",
1020 "transfer",
1021 ]
1022 }
1023}