MCPcopy Create free account
hub / github.com/DiUS/java-faker / sentence

Method sentence

src/main/java/com/github/javafaker/Lorem.java:96–98  ·  view source on GitHub ↗

Create a sentence with a random number of words within the range 4..10. @return a random sentence

()

Source from the content-addressed store, hash-verified

94 * @return a random sentence
95 */
96 public String sentence() {
97 return sentence(3);
98 }
99
100 /**
101 * Create a sentence with a random number of words within the range (wordCount+1)..(wordCount+6).

Calls 3

wordsMethod · 0.95
nextIntMethod · 0.80
randomMethod · 0.45