
    Q?hKY                     p   S r Sr/ SQr/ SQr/ SQr/ SQr/ SQr/ SQr/ SQr/ S	Qr	/ S
Qr
/ SQr/ SQrSS jrSS jrSSKJr  \R"                  (       a  SSKr " S S\R&                  5      r\R*                  \R&                  l        \R,                  \R&                  l        \R.                  R*                  \l        \R.                  R,                  \l        C\" \SS5      (       d  S\l        \R4                  " S5        CC\S4S jr\S:X  al  SSKr\R<                  SS r\(       aC  \R?                  S5      r \(       a  \!" \R?                  S5      5      r"OSr" \#" \" \ \"5      5        g\#" \" S5      5        gg!   \RH                  RK                  S5        \RH                  RK                  S5        e = f)z3.3.0a  Like Lorem Ipsum, but more fun and extensible.

This module exposes a function randomText() which generates paragraphs.
These can be used when testing out document templates and stylesheets.
A number of 'themes' are provided - please contribute more!
We need some real Greek text too.

There are currently six themes provided:
    STARTUP (words suitable for a business plan - or not as the case may be),
    COMPUTERS (names of programming languages and operating systems etc),
    BLAH (variations on the word 'blah'),
    BUZZWORD (buzzword bingo),
    STARTREK (Star Trek),
    PRINTING (print-related terms)
    PYTHON (snippets and quotes from Monty Python)
    CHOMSKY (random lingusitic nonsense)

EXAMPLE USAGE:
    from reportlab.lib import randomtext
    print randomtext.randomText(randomtext.PYTHON, 10)

    This prints a random number of random sentences (up to a limit
    of ten) using the theme 'PYTHON'.

)	strategic	direction	proactiveventure capitalreengineeringforecast	resourceszSWOT analysiszforward-thinkingprofitgrowth
doubletalkB2BB2Cr   IPOz#NASDAQ meltdown - we're all doomed!)PythonPerlPascalJava
JavascriptVBBasicLISPFortranADAAPLCzC++	assemblerz
Larry WallzGuido van RossumXMLHTMLcgizcgi-binAmiga	MacintoshDell	MicrosoftfirewallserverLinuxUnixMacOSBeOSzAS/400sendmailzTCP/IPSMTPzRFC822-compliantdynamicInternetzA/UXzAmiga OSBIOSzboot managerszCP/MDOSzfile systemFreeBSDFreewareGEOSGNUHurdr%   MachzMacintosh OSzmailing listsMinixMulticsNetWareNextStepzOS/2zPlan 9RealtimeUNIXVMSWindowsz	X WindowsXinusecurityIntel
encryptionPGPsoftwareActiveXAppleScriptawkBETACOBOLDelphiDylanEiffelzextreme programmingForthr   zfunctional languagesGuilezformat your hard driveIconIDLInferIntercalJr   
JavaScriptzCD-ROMJCLLispz"literate programming"LogoMUMPSzC: drivezModula-2zModula-3OberonOccamOpenGLzparallel languagesr   r   zPL/I
PostScriptProloghardwarezBlue Screen of DeathRexxRPGSchemezscripting languages	Smalltalkzcrash!z
disc crashSpannerSQLzTcl/TkTeXTOMVisualzVisual Basic4GLVRMLz!Virtual Reality Modeling Languagezdifference enginez...went into "yo-yo mode"SunzSun MicrosystemszHewlett Packardzoutput deviceCPUmemory	registersmonitorzTFT displayzplasma screenz
bug reportz"mis-feature"z...millions of bugs!pizzaz"illiterate programming"z...lots of pizza!zpepperoni pizzacoffeezJolt Cola[TM]beerzBEER!)BlahBLAHblahblahblahblahblahz	blah-blahzblah!z"Blah Blah Blah"zblah-de-blahzblah?zblah!!!zblah...zBlah.zblah;zblah, Blah, BLAH!zBlah!!!)czintellectual capitalzmarket segment
flatteningregroupplatformzclient-basedz	long-termr   quality vectorzout of the loop	implement
streamlinezcost-centeredphasesynergy	synergizeinteractive
facilitateappropriategoal-setting
empoweringzlow-risk high-yieldzpeel the oniongoaldownsizezresult-drivenconceptualizemultidisciplinarygap analysisdysfunctional
networkingknowledge managementr   mastery learningcommunicationzreal-estate	quarterlyscalableTotal Quality Managementbest of breednimblemonetize	benchmarkhardballzclient-centeredzvision statementempowermentzlean & meancredibilitysynergisticzbackward-compatibler   zstretch the envelopezbleeding edger   
motivationzbest practicer   implementationr   	undefineddisintermediatemindset	architectr   morale	objective
projectioncontributionr   go the extra miler+   zworld classzreal estaterw   r   r   rv   r   r   recognitionqualityscenariozperformance basedsolutioningr   r   rz   r   zexperiencing slippager   zhigh priorityprocessethicalzvalue-addedrx   zre-factoringzre-brandingzembracing change)L	StarfleetKlingonRomulan
CardassianVulcanBenzitezIKV Paghzemergency transponderzUnited Federation of PlanetsBolianzK'Vort Class Bird-of-PreyzUSS EnterprisezUSS IntrepidzUSS ReliantzUSS VoyagerzStarfleet AcademyzCaptain PicardzCaptain Janewayz	Tom Parisz	Harry KimzCounsellor TroizLieutenant WorfzLieutenant Commander DatazDr. Beverly CrusherzAdmiral NakamurazIrumodic SyndromezDevron systemzAdmiral Pressmanzasteroid fieldzsensor readingsBinarszdistress signalshuttlecraftzcloaking devicezshuttle bay 2zDr. PulaskizLwaxana TroiPacificazWilliam RikerzChief O'BrianzSoyuz class science vesselzWolf-359zGalaxy class vesselzUtopia Planitia yardszphoton torpedoz	Archer IVzquantum flux	spacedockRisazDeep Space Ninez
blood winezquantum torpedoesholodeckzRomulan WarbirdBetazoid	turboliftzbattle bridgezMemory Alphaz...with a phaser!zRomulan aleFerrengizKlingon operaQuarkwormholeBajorancruiserwarshipbattlecruiserz"Intruder alert!"z
scout shipzscience vesselz"Borg Invasion imminent!" z"Abandon ship!"z
Red Alert!zwarp-core breechz."All hands abandon ship! This is not a drill!")ApointspicasleadingkerningCMYKzoffset lithotypezfont family
typographyztype designerbaselinezwhite-out typeWOB	bicameralbitmapblockletterbleedmarginbodywidoworphancicerocursive
letterformsideheaddingbatleaderDPIzdrop-cap	paragraphEnEmz
flush leftzleft justifiedzright justifiedcentereditaliczLatin letterformligature	uppercase	lowercaseserifz
sans-serifweightztype foundryfleuronfoliogutter
whitespacezhumanist letterformcaptionpageframezragged settingzflush-rightrulezdrop shadowsprepresszspot-colourduotoneszcolour separationszfour-colour printingzPantone[TM]zservice bureauimagesetter)YzGood evening ladies and BruceszI want to buy some cheesez You do have some cheese, do you?z3Of course sir, it's a cheese shop sir, we've got...z(discipline?... naked? ... With a melon!?zThe Church Police!!z$There's a dead bishop on the landingz&Would you like a twist of lemming sir?z<"Conquistador Coffee brings a new meaning to the word vomit"zYour lupins pleasez7Crelm Toothpaste, with the miracle ingredient FraudulinzEWell there's the first result and the Silly Party has held Leicester.z0Hello, I would like to buy a fish license pleasez-Look, it's people like you what cause unrest!zAWhen we got home, our Dad would thrash us to sleep with his belt!LuxuryzGumby Brain SpecialistzMy brain hurts!!!zMy brain hurts too.zHow not to be seenz=In this picture there are 47 people. None of them can be seenz%Mrs Smegma, will you stand up please?zNMr. Nesbitt has learned the first lesson of 'Not Being Seen', not to stand up.zMy hovercraft is full of eelszAh. You have beautiful thighs.zMy nipples explode with delightz;Drop your panties Sir William, I cannot wait 'til lunchtimez#I'm a completely self-taught idiot.z%I always wanted to be a lumberjack!!!zTold you so!! Oh, coitus!! zNudge nudge?zKnow what I mean!zNudge nudge, nudge nudge?zSay no more!!zhHello, well it's just after 8 o'clock, and time for the penguin on top of your television set to explodezOh, intercourse the penguin!!z)Funny that penguin being there, isn't it?zI wish to register a complaint.z$Now that's what I call a dead parrotzPining for the fjords???z)No, that's not dead, it's ,uhhhh, restingzThis is an ex-parrot!!z#That parrot is definitely deceased.z\No, no, no - it's spelt Raymond Luxury Yach-t, but it's pronounced 'Throatwobbler Mangrove'.z;You're a very silly man and I'm not going to interview you.zZNo Mungo... never kill a customer.And I'd like to conclude by putting my finger up my nosezegg and Spamzegg bacon and Spamzegg bacon sausage and SpamzSpam bacon sausage and Spamz!Spam egg Spam Spam bacon and Spamz6Spam sausage Spam Spam Spam bacon Spam tomato and SpamzSpam Spam Spam egg and Spamz8Spam Spam Spam Spam Spam Spam baked beans Spam Spam SpamzSpam!!zI don't like Spam!!!z=You can't have egg, bacon, Spam and sausage without the Spam!zI'll have your Spam. I Love it!zQI'm having Spam Spam Spam Spam Spam Spam Spam baked beans Spam Spam Spam and Spamz#Have you got anything without Spam?zBThere's Spam egg sausage and Spam, that's not got much Spam in it.z(No one expects the Spanish Inquisition!!z*Our weapon is surprise, surprise and fear!zGet the comfy chair!zAmongst our weaponry are such diverse elements as: fear, surprise, ruthless efficiency, an almost fanatical devotion to the Pope, and nice red uniforms - Oh damn!z Nobody expects the... Oh bugger!z=What swims in the sea and gets caught in nets? Henri Bergson?z3Goats. Underwater goats with snorkels and flippers?zA buffalo with an aqualung?z1Dinsdale was a looney, but he was a happy looney.z
Dinsdale!!z+The 127th Upper-Class Twit of the Year ShowzWhat a great Twit!z2thought by many to be this year's outstanding twitzJ...and there's a big crowd here today to see these prize idiots in action.z+And now for something completely different.zStop that, it's sillyzKWe interrupt this program to annoy you and make things generally irritatingzQThis depraved and degrading spectacle is going to stop right now, do you hear me?zStop right there!z?This is absolutely disgusting and I'm not going to stand for itzFI object to all this sex on the television. I mean, I keep falling offz/Right! Stop that, it's silly. Very silly indeedzVery silly indeedzLemon curry?zAAnd now for something completely different, a man with 3 buttocksz+I've heard of unisex, but I've never had itz*That's the end, stop the program! Stop it!)+z%To characterize a linguistic level L,zOn the other hand,zThis suggests thatzIt appears thatzFurthermore,z9We will bring evidence in favor of the following thesis: z.To provide a constituent structure for T(Z,K),zFrom C1, it follows thatz^For any transformation which is sufficiently diversified in application to be of any interest,zAnalogously,zClearly,z	Note thatz
Of course,zSuppose, for instance, thatThuszWith this clarification,zConversely,zWe have already seen thatz2By combining adjunctions and certain deformations,zDI suggested that these results would follow from the assumption thatzTIf the position of the trace in (99c) were only relatively inaccessible to movement,z.However, this assumption is not correct, sincez\Comparing these examples with their parasitic gap counterparts in (96) and (97), we see thatz8In the discussion of resumptive pronouns following (81),zSo far,zNevertheless,zFor one thing,z!Summarizing, then, we assume thatz3A consequence of the approach just outlined is thatzPresumably,zOn our assumptions,zIt may be, then, thatz'It must be emphasized, once again, thatzLet us continue to suppose thatzNotice, incidentally, thatz9A majority  of informed linguistic specialists agree thatz@There is also a different approach to the [unification] problem,zHThis approach divorces the cognitive sciences from a biological setting,zOThe approach relies on the "Turing Test," devised by mathematician Alan Turing,zAdopting this approach,z8There is no fact, no meaningful question to be answered,zIAnother superficial similarity is the interest in simulation of behavior,zbA lot of sophistication has been developed about the utilization of machines for complex purposes,)z&the notion of level of grammaticalnessz1a case of semigrammaticalness of a different sortz5most of the methodological work in modern linguisticszFa subset of English sentences interesting on quite independent groundsz9the natural general principle that will subsume this casez0an important property of these three types of ECz!any associated supporting elementzZthe appearance of parasitic gaps in domains relatively inaccessible to ordinary extractionz)the speaker-hearer's linguistic intuitionz+the descriptive power of the base componentz"the earlier discussion of deviancez:this analysis of a formative as a pair of sets of featuresz0this selectionally introduced contextual featurez a descriptively adequate grammarzCthe fundamental error of regarding functional notions as categorialzrelational informationz%the systematic use of complex symbolsz2the theory of syntactic features developed earlier)z)can be defined in such a way as to imposedelimitszsuffices to account forzcannot be arbitrary inzis not subject tozdoes not readily toleratezraises serious doubts aboutzis not quite equivalent toz does not affect the structure ofz+may remedy and, at the same time, eliminatez&is not to be considered in determiningzis to be regarded aszis unspecified with respect tozis, apparently, determined byz+is necessary to impose an interpretation onz(appears to correlate rather closely withzis rather different from)z0problems of phonemic and morphological analysis.zaa corpus of utterance tokens upon which conformity has been defined by the paired utterance test.z(the traditional practice of grammarians.z\the levels of acceptability from fairly high (e.g. (99a)) to virtual gibberish (e.g. (98d)).zGa stipulation to place the constructions into these various categories.za descriptive fact.za parasitic gap construction.z9the extended c-command discussed in connection with (34).zKthe ultimate standard that determines the accuracy of any proposed grammar.z2the system of base rules exclusive of the lexicon.z5irrelevant intervening contexts in selectional rules.z;nondistinctness in the sense of distinctive feature theory.z8a general convention regarding the forms of the grammar.zan abstract underlying order.z)an important distinction in language use.z_the requirement that branching is not tolerated within the dominance scope of a complex symbol.z-the strong generative capacity of the theory.c                 @     SS K nUR                  X5      $ !   U s $ = f)N    )textwrapfill)textline_lengthr   s      J/var/www/html/env/lib/python3.13/site-packages/reportlab/lib/randomtext.pyformat_wisdomr   &  s%    }}T//s       c                    [        U [        5      (       d  [        [        5      $ SS Kn/ n/ n/ n[        U 5       Hp  n[        [        [        [        4 H/  n UR                  " U5      nXr;  a  OM  UR                  U5        M1     UR                  SR                  U5      5        Un/ nMr     [        SR                  U5      5      $ )Nr    z  )
isinstanceintr   __doc__randomrangeleadinssubjectsverbsobjectschoiceappendjoin)timesr   	prevpartsnewpartsoutputipartlistparts           r   chomskyr  -  s    eS!!W%%IHF5\ (E7;H}}X.(  OOD! < 	chhx()	  6*++    r   )	rl_configNc                   F    \ rS rSrSS\S\R                  -  4S jrS rSr	g)RLMonkeyPatchRandomiD  Nr   c                    U" U5      nXa:w  a  [        S5      eUc@  US:  a/  Xe:  a  U R                  U5      $ U" U R                  5       U-  5      $ [        S5      eU" U5      nXr:w  a  [        S5      eXv-
  nUS:X  aE  US:  a?  X:  a  U" X`R                  U5      -   5      $ U" Xd" U R                  5       U-  5      -   5      $ US:X  a  [        SXgU4-  5      eU" U5      n	X:w  a  [        S5      eU	S:  a  X-   S-
  U	-  n
OU	S:  a  X-   S-   U	-  n
O[        S5      eU
S::  a  [        S5      eX:  a  XiU R                  U
5      -  -   $ XiU" U R                  5       U
-  5      -  -   $ )	zChoose a random item from range(start, stop[, step]).

This fixes the problem with randint() which includes the
endpoint; in Python this is usually not what you want.

z!non-integer arg 1 for randrange()r   zempty range for randrange()z non-integer stop for randrange()r   z'empty range for randrange() (%d,%d, %d)z non-integer step for randrange()zzero step for randrange())
ValueError
_randbelowr   )selfstartstopstep_int	_maxwidthistartistopwidthistepns              r   	randrangeRLMonkeyPatchRandom.randrangeE  s    %[F !DEE|A:*#v66 677 !>?? JE} !CDDNEqyUQY %)? ?@@FT$++-*=%>>??qy !Jf]bMc!cdd JE} !CDDqy]Q&50]Q&50 !<==Av !>??~dooa&8 888$t{{}q'8"9999r  c                 R    U[        U R                  5       [        U5      -  5         $ )z2Choose a random element from a non-empty sequence.)r   r   len)r  seqs     r   r  RLMonkeyPatchRandom.choice  s!    s4;;=3s83455r   )
__name__
__module____qualname____firstlineno__r   r   BPFr   r  __static_attributes__r&  r  r   r  r  D  s    (,13!VZZ- =	:|	6r  r  _randoml   H>    c                    [        U 5      [        S5      :X  a]  U R                  5       S:X  a  [        U5      $ U R                  5       S;   a  [	        5       U R                  5          n O[        SU -  5      eSSKJnJn  U nSn[        U" SU5      5       HF  nUS-   n[        U" S	S
5      5       H#  nU" SS5      S:X  a	  U" U5      nOSnUS-   U-   nM%     US-   nMH     U$ )Nr   r  )STARTUP	COMPUTERSrq   BUZZWORDSTARTREKPRINTINGPYTHONzUnknown theme "%s"r   )randintr  r   rp   
         blahr   z. )
r   lowerr  upperglobalsr  r   r6  r  r   )	theme	sentencesr6  r  RANDOMWORDSr	  
sentencenowordnowords	            r   
randomTextrD    s    E{DH;;=)#GI,>%>[[]ffIekkm,E1E9::&K FGAi01
&GBrN+Fq|Qk*c\4'F ,  2 Mr  __main__z*Usage: randomtext.py [theme [#sentences]]
zK theme in chomsky|STARTUP|COMPUTERS|BLAH|BUZZWORD|STARTREK|PRINTING|PYTHON
)H   )r   )&__version__r   r0  r1  rq   r2  r3  r4  r5  r   r   r  r  r   r  	reportlabr  	invariantr   Randomr  r   r  _instgetattrr-  seedrD  r'  sysargvpopr>  r   r?  printstderrwriter&  r  r   <module>rT     s   
	6E0	8A
;:X&4.
g^,	\*((,&  A6fmm A6D 2;;FMM.55FMM||--FLL''FM9Yt,,	J 4 Z88AB<DDHHQK(II	*U9-. 	gaj! 	JJJKJJkls   E< <9F5