Get unique types of tokens from a tokens object.

types(x)

Arguments

x

a tokens object

See also

featnames

Examples

toks <- tokens(data_corpus_inaugural) types(toks)
#> [1] "Fellow-Citizens" "of" "the" "Senate" #> [5] "and" "House" "Representatives" ":" #> [9] "Among" "vicissitudes" "incident" "to" #> [13] "life" "no" "event" "could" #> [17] "have" "filled" "me" "with" #> [21] "greater" "anxieties" "than" "that" #> [25] "which" "notification" "was" "transmitted" #> [29] "by" "your" "order" "," #> [33] "received" "on" "14th" "day" #> [37] "present" "month" "." "On" #> [41] "one" "hand" "I" "summoned" #> [45] "my" "Country" "whose" "voice" #> [49] "can" "never" "hear" "but" #> [53] "veneration" "love" "from" "a" #> [57] "retreat" "had" "chosen" "fondest" #> [61] "predilection" "in" "flattering" "hopes" #> [65] "an" "immutable" "decision" "as" #> [69] "asylum" "declining" "years" "-" #> [73] "rendered" "every" "more" "necessary" #> [77] "well" "dear" "addition" "habit" #> [81] "inclination" "frequent" "interruptions" "health" #> [85] "gradual" "waste" "committed" "it" #> [89] "time" "other" "magnitude" "difficulty" #> [93] "trust" "country" "called" "being" #> [97] "sufficient" "awaken" "wisest" "most" #> [101] "experienced" "her" "citizens" "distrustful" #> [105] "scrutiny" "into" "his" "qualifications" #> [109] "not" "overwhelm" "despondence" "who" #> [113] "(" "inheriting" "inferior" "endowments" #> [117] "nature" "unpracticed" "duties" "civil" #> [121] "administration" ")" "ought" "be" #> [125] "peculiarly" "conscious" "own" "deficiencies" #> [129] "In" "this" "conflict" "emotions" #> [133] "all" "dare" "aver" "is" #> [137] "has" "been" "faithful" "study" #> [141] "collect" "duty" "just" "appreciation" #> [145] "circumstance" "might" "affected" "All" #> [149] "hope" "if" "executing" "task" #> [153] "too" "much" "swayed" "grateful" #> [157] "remembrance" "former" "instances" "or" #> [161] "affectionate" "sensibility" "transcendent" "proof" #> [165] "confidence" "fellow" "thence" "little" #> [169] "consulted" "incapacity" "disinclination" "for" #> [173] "weighty" "untried" "cares" "before" #> [177] "error" "will" "palliated" "motives" #> [181] "mislead" "its" "consequences" "judged" #> [185] "some" "share" "partiality" "they" #> [189] "originated" "Such" "impressions" "under" #> [193] "obedience" "public" "summons" "repaired" #> [197] "station" "would" "improper" "omit" #> [201] "first" "official" "act" "fervent" #> [205] "supplications" "Almighty" "Being" "rules" #> [209] "over" "universe" "presides" "councils" #> [213] "nations" "providential" "aids" "supply" #> [217] "human" "defect" "His" "benediction" #> [221] "may" "consecrate" "liberties" "happiness" #> [225] "people" "United" "States" "Government" #> [229] "instituted" "themselves" "these" "essential" #> [233] "purposes" "enable" "instrument" "employed" #> [237] "execute" "success" "functions" "allotted" #> [241] "charge" "tendering" "homage" "Great" #> [245] "Author" "private" "good" "assure" #> [249] "myself" "expresses" "sentiments" "less" #> [253] "nor" "those" "at" "large" #> [257] "either" "No" "bound" "acknowledge" #> [261] "adore" "Invisible" "Hand" "conducts" #> [265] "affairs" "men" "Every" "step" #> [269] "advanced" "character" "independent" "nation" #> [273] "seems" "distinguished" "token" "agency" #> [277] ";" "important" "revolution" "accomplished" #> [281] "system" "their" "united" "government" #> [285] "tranquil" "deliberations" "voluntary" "consent" #> [289] "so" "many" "distinct" "communities" #> [293] "resulted" "compared" "means" "governments" #> [297] "established" "without" "return" "pious" #> [301] "gratitude" "along" "humble" "anticipation" #> [305] "future" "blessings" "past" "seem" #> [309] "presage" "These" "reflections" "arising" #> [313] "out" "crisis" "forced" "strongly" #> [317] "mind" "suppressed" "You" "join" #> [321] "thinking" "there" "are" "none" #> [325] "influence" "proceedings" "new" "free" #> [329] "auspiciously" "commence" "By" "article" #> [333] "establishing" "executive" "department" "made" #> [337] "President" "\"" "recommend" "consideration" #> [341] "such" "measures" "he" "shall" #> [345] "judge" "expedient" "The" "circumstances" #> [349] "now" "meet" "you" "acquit" #> [353] "entering" "subject" "further" "refer" #> [357] "great" "constitutional" "charter" "assembled" #> [361] "defining" "powers" "designates" "objects" #> [365] "attention" "given" "It" "consistent" #> [369] "far" "congenial" "feelings" "actuate" #> [373] "substitute" "place" "recommendation" "particular" #> [377] "tribute" "due" "talents" "rectitude" #> [381] "patriotism" "adorn" "characters" "selected" #> [385] "devise" "adopt" "them" "honorable" #> [389] "behold" "surest" "pledges" "side" #> [393] "local" "prejudices" "attachments" "separate" #> [397] "views" "party" "animosities" "misdirect" #> [401] "comprehensive" "equal" "eye" "watch" #> [405] "assemblage" "interests" "another" "foundation" #> [409] "our" "national" "policy" "laid" #> [413] "pure" "principles" "morality" "preeminence" #> [417] "exemplified" "attributes" "win" "affections" #> [421] "command" "respect" "world" "dwell" #> [425] "prospect" "satisfaction" "ardent" "inspire" #> [429] "since" "truth" "thoroughly" "exists" #> [433] "economy" "course" "indissoluble" "union" #> [437] "between" "virtue" "advantage" "genuine" #> [441] "maxims" "honest" "magnanimous" "solid" #> [445] "rewards" "prosperity" "felicity" "we" #> [449] "persuaded" "propitious" "smiles" "Heaven" #> [453] "expected" "disregards" "eternal" "right" #> [457] "itself" "ordained" "preservation" "sacred" #> [461] "fire" "liberty" "destiny" "republican" #> [465] "model" "justly" "considered" "perhaps" #> [469] "deeply" "finally" "staked" "experiment" #> [473] "entrusted" "hands" "American" "Besides" #> [477] "ordinary" "submitted" "care" "remain" #> [481] "judgment" "decide" "how" "exercise" #> [485] "occasional" "power" "delegated" "fifth" #> [489] "Constitution" "juncture" "objections" "urged" #> [493] "against" "degree" "inquietude" "birth" #> [497] "Instead" "undertaking" "recommendations" "guided" #> [501] "lights" "derived" "opportunities" "again" #> [505] "give" "way" "entire" "discernment" #> [509] "pursuit" "whilst" "carefully" "avoid" #> [513] "alteration" "endanger" "benefits" "effective" #> [517] "await" "lessons" "experience" "reverence" #> [521] "characteristic" "rights" "freemen" "regard" #> [525] "harmony" "sufficiently" "question" "impregnably" #> [529] "fortified" "latter" "safely" "advantageously" #> [533] "promoted" "To" "foregoing" "observations" #> [537] "add" "properly" "addressed" "concerns" #> [541] "therefore" "brief" "possible" "When" #> [545] "honored" "call" "service" "then" #> [549] "eve" "arduous" "struggle" "light" #> [553] "contemplated" "required" "should" "renounce" #> [557] "pecuniary" "compensation" "From" "resolution" #> [561] "instance" "departed" "still" "produced" #> [565] "must" "decline" "inapplicable" "any" #> [569] "personal" "emoluments" "indispensably" "included" #> [573] "permanent" "provision" "accordingly" "pray" #> [577] "estimates" "am" "placed" "during" #> [581] "continuance" "limited" "actual" "expenditures" #> [585] "thought" "require" "Having" "thus" #> [589] "imparted" "awakened" "occasion" "brings" #> [593] "us" "together" "take" "leave" #> [597] "resorting" "once" "benign" "Parent" #> [601] "Human" "Race" "supplication" "He" #> [605] "pleased" "favor" "deliberating" "perfect" #> [609] "tranquillity" "dispositions" "deciding" "unparalleled" #> [613] "unanimity" "form" "security" "advancement" #> [617] "divine" "blessing" "equally" "conspicuous" #> [621] "enlarged" "temperate" "consultations" "wise" #> [625] "depend" "Fellow" "upon" "Chief" #> [629] "Magistrate" "proper" "arrive" "endeavor" #> [633] "express" "high" "sense" "entertain" #> [637] "honor" "reposed" "America" "Previous" #> [641] "execution" "requires" "oath" "office" #> [645] "This" "about" "presence" "That" #> [649] "found" "violated" "willingly" "knowingly" #> [653] "injunctions" "thereof" "besides" "incurring" #> [657] "punishment" "upbraidings" "witnesses" "solemn" #> [661] "ceremony" "perceived" "early" "times" #> [665] "middle" "remained" "unlimited" "submission" #> [669] "foreign" "legislature" "total" "independence" #> [673] "claims" "reflection" "were" "apprehensive" #> [677] "danger" "formidable" "fleets" "armies" #> [681] "determine" "resist" "contests" "dissensions" #> [685] "certainly" "arise" "concerning" "forms" #> [689] "whole" "parts" "extensive" "Relying" #> [693] "however" "purity" "intentions" "justice" #> [697] "cause" "integrity" "intelligence" "overruling" #> [701] "Providence" "signally" "protected" "representatives" #> [705] "consisting" "half" "number" "only" #> [709] "broke" "pieces" "chains" "forging" #> [713] "rod" "iron" "lifted" "up" #> [717] "frankly" "cut" "asunder" "ties" #> [721] "launched" "ocean" "uncertainty" "zeal" #> [725] "ardor" "Revolutionary" "war" "supplying" #> [729] "commanded" "least" "temporary" "society" #> [733] "Confederation" "felt" "prepared" "models" #> [737] "Batavian" "Helvetic" "confederacies" "examples" #> [741] "detail" "precision" "history" "ones" #> [745] "ever" "But" "reflecting" "striking" #> [749] "difference" "particulars" "where" "courier" #> [753] "go" "seat" "frontier" "single" #> [757] "foreseen" "assisted" "Congress" "formation" #> [761] "durable" "Negligence" "regulations" "inattention" #> [765] "disobedience" "authority" "individuals" "soon" #> [769] "appeared" "melancholy" "universal" "languor" #> [773] "jealousies" "rivalries" "navigation" "commerce" #> [777] "discouragement" "manufactures" "fall" "value" #> [781] "lands" "produce" "contempt" "faith" #> [785] "loss" "credit" "length" "discontents" #> [789] "combinations" "partial" "conventions" "insurrection" #> [793] "threatening" "calamity" "dangerous" "abandoned" #> [797] "usual" "Measures" "pursued" "concert" #> [801] "plan" "establish" "insure" "domestic" #> [805] "provide" "common" "defense" "promote" #> [809] "general" "welfare" "secure" "disquisitions" #> [813] "discussions" "issued" "happy" "Employed" #> [817] "abroad" "transactions" "saw" "Irritated" #> [821] "literary" "altercation" "animated" "debate" #> [825] "heated" "animosity" "read" "result" #> [829] "heads" "prompted" "hearts" "better" #> [833] "adapted" "genius" "situation" "relations" #> [837] "proposed" "suggested" "outlines" "conformable" #> [841] "esteemed" "native" "State" "contributed" #> [845] "Claiming" "suffrage" "fellow-citizens" "adoption" #> [849] "rejection" "constitution" "rule" "posterity" #> [853] "theirs" "did" "hesitate" "approbation" #> [857] "occasions" "objection" "Executive" "Nor" #> [861] "entertained" "promoting" "see" "feel" #> [865] "legislatures" "according" "ordain" "Returning" #> [869] "bosom" "after" "painful" "separation" #> [873] "ten" "elected" "things" "repeatedly" #> [877] "serious" "obligations" "support" "operation" #> [881] "equaled" "sanguine" "expectations" "friends" #> [885] "habitual" "delight" "effects" "peace" #> [889] "acquired" "attachment" "What" "indeed" #> [893] "deserve" "esteem" "?" "There" #> [897] "solidity" "ancient" "idea" "congregations" #> [901] "cities" "pleasing" "sight" "superior" #> [905] "intelligences" "very" "certain" "benevolent" #> [909] "spectacle" "presented" "noble" "majestic" #> [913] "august" "assembly" "like" "often" #> [917] "seen" "Chamber" "branches" "Legislature" #> [921] "exercised" "regular" "periods" "neighbors" #> [925] "make" "laws" "Can" "anything" #> [929] "mere" "ornament" "decoration" "added" #> [933] "robes" "diamonds" "amiable" "respectable" #> [937] "when" "descends" "accidents" "institutions" #> [941] "remote" "antiquity" "springs" "fresh" #> [945] "judgments" "enlightened" "For" "represented" #> [949] "majesty" "reflected" "legitimate" "whatever" #> [953] "appear" "existence" "ours" "full" #> [957] "dissemination" "knowledge" "throughout" "body" #> [961] "And" "what" "object" "If" #> [965] "pride" "justifiable" "excusable" "riches" #> [969] "grandeur" "glory" "conviction" "innocence" #> [973] "information" "benevolence" "midst" "ideas" #> [977] "unfaithful" "ourselves" "lose" "extraneous" #> [981] "infect" "fair" "virtuous" "elections" #> [985] "election" "determined" "majority" "vote" #> [989] "procured" "through" "artifice" "corruption" #> [993] "choice" "ends" "solitary" "obtained" #> [997] "flattery" "menaces" "fraud" "violence" #> [ reached getOption("max.print") -- omitted 9057 entries ]