Package: textshape 1.7.6

textshape: Tools for Reshaping Text

Tools that can be used to reshape and restructure text data.

Authors:Tyler Rinker [aut, cre], Joran Elias [ctb], Matthew Flickinger [ctb], Paul Foster [ctb]

textshape_1.7.6.tar.gz
textshape_1.7.6.zip(r-4.7)textshape_1.7.6.zip(r-4.6)textshape_1.7.6.zip(r-4.5)
textshape_1.7.6.tgz(r-4.6-any)textshape_1.7.6.tgz(r-4.5-any)
textshape_1.7.6.tar.gz(r-4.7-any)textshape_1.7.6.tar.gz(r-4.6-any)
textshape_1.7.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
textshape/json (API)

# Install 'textshape' in R:
install.packages('textshape', repos = c('https://trinker.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/trinker/textshape/issues

Datasets:

On CRAN:

Conda:

data-reshapingmanipulationsentence-boundary-detectiontext-datatext-formatingtidy

9.07 score 53 stars 42 packages 400 scripts 8.9k downloads 39 exports 3 dependencies

Last updated from:61dc5f1e0b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK118
source / vignettesOK164
linux-release-x86_64OK116
macos-release-arm64OK132
macos-oldrel-arm64OK86
windows-develOK76
windows-releaseOK71
windows-oldrelOK75
wasm-releaseOK95

Exports:as_listbind_listbind_tablebind_vectorchange_indexcluster_matrixcolumn_to_rownamescombinedurationendsflattenfrom_tofrom_to_summarizegrab_indexgrab_matchmtabulatesplit_indexsplit_matchsplit_match_regexsplit_portionsplit_runsplit_sentencesplit_sentence_tokensplit_speakersplit_tokensplit_transcriptsplit_wordstartstidy_adjacency_matrixtidy_colo_dtmtidy_colo_tdmtidy_dtmtidy_listtidy_matrixtidy_tabletidy_tdmtidy_vectorunique_pairsunnest_text

Dependencies:data.tableslamstringi

Readme and manuals

Help Manual

Help pageTopics
Row Bind a List of Named Dataframes or Vectorsbind_list
Column Bind a Table's Values with Its Namesbind_table
Column Bind an Atomic Vector's Values with Its Namesbind_vector
Indexing of Changes in Runschange_index
Reorder a Matrix Based on Hierarchical Clusteringcluster_matrix
Add a Column as Rownamescolumn_to_rownames
Combine Elementscombine combine.data.frame combine.default
Fictitious Classroom DialogueDATA
Duration of Turns of Talkduration duration.data.frame duration.default duration.numeric ends starts
Flatten a Nested List of Vectors Into a Single Tier List of Vectorsflatten
Prepare Discourse Data for Network Plottingfrom_to from_to.character from_to.data.frame from_to.default from_to.factor from_to.numeric from_to_summarize
Sentence Boundary Disambiguation Edge Casesgolden_rules
Get Elements Matching Between 2 Pointsgrab_index grab_index.character grab_index.data.frame grab_index.default grab_index.list grab_index.matrix
Get Elements Matching Between 2 Pointsgrab_match grab_match.character grab_match.data.frame grab_match.list
Hamlet (Complete & Split by Sentence)hamlet
Tabulate Frequency Counts for Multiple Vectorsas_list mtabulate
Simple 'DocumentTermMatrix'simple_dtm
Split Data Forms at Specified Indicessplit_index split_index.character split_index.data.frame split_index.default split_index.factor split_index.list split_index.matrix split_index.numeric
Split a Vector By Split Pointssplit_match split_match_regex
Break Text Into Ordered Word Chunkssplit_portion
Split Runssplit_run split_run.data.frame split_run.default
Split Sentencessplit_sentence split_sentence.data.frame split_sentence.default
Split Sentences & Tokenssplit_sentence_token split_sentence_token.data.frame split_sentence_token.default
Break and Stretch if Multiple Persons per Cellsplit_speaker
Split Tokenssplit_token split_token.data.frame split_token.default
Split a Transcript Style Vector on Delimiter & Coerce to Dataframesplit_transcript
Split Wordssplit_word split_word.data.frame split_word.default
Tools for Reshaping Textpackage-textshape textshape
Convert a 'DocumentTermMatrix'/'TermDocumentMatrix' into Collocating Words in Tidy Formtidy_colo_dtm tidy_colo_tdm
Convert a 'DocumentTermMatrix'/'TermDocumentMatrix' into Tidy Formtidy_dtm tidy_tdm
Tidy a List of Named Dataframes or Named Vectors or Vectorstidy_list
Convert a Matrix into Tidy Formtidy_adjacency_matrix tidy_matrix
Tidy a Table: Bind Its Values with Its Namestidy_table
Tidy a Named Atomic Vector: Bind Its Values with Its Namestidy_vector
Extract Only Unique Pairs of Collocating Words in 'tidy_colo_dtm'unique_pairs unique_pairs.data.table unique_pairs.default
Un-nest Nested Text Columnsunnest_text