Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sentence constructor format:
- Modifiers: Modify other tokens
- ^ capitalize next token
- ^^ next token in all caps
- \ escape next token
- <?></?> optional token (see line 44 for example)
- [T0|T1|T#] multiple options (see line 51 for example)
- Word form modifiers: Specifies word form of previous token. Can be combined together (see line 59 for example)
- ~s~ plural
- ~o~ posessive
- ~p~ past tense
- ~c~ present tense
- ~f~ future tense
- Swappable Words: Randomly selected from a list
- noun any object
- name any proper noun
- pnoun pronoun - given with proper noun
- adj adjective
- verb verb
- advb adverb
- Swappable word attributes:
- swap:specific specify what type of word to use (see line 36 for example)
- Special: Specific tokens - typically to correct grammar
- <a> gets replaced with "a" or "an"
- {} groups together other tokens (see line 64 for example)
- /id used to connect different tokens together (see line 70 for example)
- swap:specific example:
- Template:
- "Did you see the $adj:color$ dog?"
- Possible results:
- "Did you see the red dog?"
- "Did you see the blue dog?"
- "Did you see the green dog?"
- <?> example:
- Template:
- "I will <?>not </?>be on-time today."
- Possible results:
- "I will not be on-time today."
- "I will be on-time today."
- [T0|T1|t#] example:
- Note: T0, T1, and T# are placeholders for actual tokens.
- Template:
- "They are going shopping at [Walmart|Target|HyVee] tomorrow."
- Possible results:
- "They are going shopping at Walmart tomorrow."
- "They are going shopping at Target tomorrow."
- "They are going shopping at HyVee tomorrow."
- Word form modifiers:
- Instead of doing ~s~~o~ to have posessive plural you can do ~so~
- Note: You cannot have multiple tense modifiers together (e.g. ~pc~ is invalid)
- Grouping tokens:
- Template:
- "^^{i don't want to!}"
- Result:
- "I DON'T WANT TO!"
- id example:
- Template:
- "^$name:person/1$ is so nice. ^$pnoun/1$ helped an old lady cross the road earlier."
- Possible results:
- "John is so nice. He helped an old lady cross the road earlier."
- "Mary is so nice. She helped an old lady cross the road earlier."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement