With words being randomly generated, it keeps the game fair and honest. Both can use it to improve creativity by using it to foster creative writing.įor those who plays games like Pictionary, this can be a great tool to use for the game. For students, they can use it to study for spelling bees, build their vocabulary and learn new words. Teachers can use this tool to help create vocabulary tests or challenging students to correctly use words in a sentence. This is one example of how writers might use the tool to push their writing. For example, you could create the story using the 20 words in the exact order they were randomly generated to make it more of a challenge. You can also play with this to make it more difficult if you desire. This will force you to think creatively since you have no idea what words will appear. For example, you could generate 20 random words and then incorporate all of them into a story. This tool can be a great way to generate creative writing ideas. This will place them in the "Your Word List" area and you can build a new list that meets your needs.īelow you'll find some of the common ways this tool can be used. You can use this list or you can scan them and choose the ones you want to keep by clicking on them. Once done, you simply press the "Generate Random Words" button and a list of words will appear. You can choose from all words, verbs only, nouns only or adjective only depending on which best meets your needs. All you need to do is choose the number of words you want to create (the default is five, but you can input any number you'd like) and the type of words you want. There are many reasons one might be interested in doing this, and you're likely here because you're interested in creating a random word list. So I think the purely weighted approach, as used in the original random sentence generator, is the only way to get random sentences meant for humans.The Random Word Generator is a tool to help you create a list of random words. In fact, I'd say we want some sentences like tu de'u kerfa di ko'a do de ko ti to die in the arse. So from what I've seen, we don't want every sentence to have an equal chance. Now it generates boring sentences which at least have LE in them, like la pilji ku ralju gigdo le'i co'e melbi ku. No amount of weighting would fix the fact that 1 word is easier to fit in a random sentence than 3, so it was always anaphora everywhere. In contrast, since this generator seems to never drop KU, every sentence which has a LE in it has to also have a KU in it. jay) And there are LOTS of 9-word sentences with 8 anaphora and a bridi, especially as my weighting steered the sentences away from strange grammatical structures which there could also be lots of. (right, that was the whole point. :) sadly it didn't turn out quite so well. This algorithm gives every 9-word sentence an equal chance of being produced. Sometimes there would be a nai instead of one anaphora, or a two-word tanru for the bridi, but always generally the same thing.Īnd now I see why. The result: nearly every sentence consisted of 8 anaphora filling the places of one bridi. I also repeated things I thought were important, such as sumti, 5 times. Basically, I took options which went directly to another rule without extra stuff, and repeated those 3 times. I took a copy of grammar.300, as you suggested, and modified it. Maybe it's trying to produce the name of its creator? -pne I have noticed that it really likes jai, though. Wonderful! But it looks like it needs some tuning: it gave me jai jai jai na'e jai je'a klesi jai cupra. I don't think I saw the word le anywhere on the page I got. However, I think there still needs to be some sort of weighting - the vast majority of Lojban sentences of length n are ugly things only a computer could love. If anyone would like to take a copy of grammar.300 from the Lojban site and adjust it like that, I'd love to see the result. The only feasible method is to adjust the grammar used to produce sentences by removing rules which produce things you don't want, and duplicating rules for things which you want to have a higher likely hood. So if jbofi'e can parse everything produced by my generator, then that means that jbofi'e is correct.) (My generator produces output using the LLG's official YACC grammar, whereas jbofi'e's grammar is based off of the EBNF grammar. The ones it fails on are visibly malformed. Notably, jbofi'e parses all the validish sentences. Its because I don't fully reverse all of the lexer preprocessing done, yet. Uses an algorithm devised by Bruce McKenzie to ensure that all strings of length n have the same chance of being generated.Ĭurrently not all sentences are valid (a few percent). They're generated from sentence_11 (in the YACC grammar description), so you'll never see fa'o, for instance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |