Jump to content

## READ WRITE GARDEN ## (Q9138)

From WBS
creative work by J. R. Carpenter
Language Label Description Also known as
English
## READ WRITE GARDEN ##
creative work by J. R. Carpenter

    Statements

    0 references
    0 references
    0 references
    2013
    0 references
    0 references
    #### we want to split #### our text into units #### #### punctuation marks allow us #### to treat them as words #### #### consider the ellipsis #### for example #### #### spaces #### on either side of certain def tokenize_texts(texts) return texts.map do |text| text.gsub!(/(\w)([,.:;\/?!]|\.\.\.+)(\W)/i, ‘\1 \2 \3′) text.split(‘ ‘) end end #### words often come #### after other words #### #### we… (English)
    0 references
    0 references
    Readwritegarden large.webp
    2,253 × 2,202; 627 KB
    0 references
    Cover rubisttxt.webp
    460 × 363; 29 KB
    0 references