## READ WRITE GARDEN ## (Q9138)
Appearance
creative work by J. R. Carpenter
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | ## READ WRITE GARDEN ## |
creative work by J. R. Carpenter |
Statements
2013
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