Changeset 35081 in project


Ignore:
Timestamp:
01/27/18 11:42:14 (4 months ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [220.233.44.123]:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sentence-split

    r35080 r35081  
    4343
    4444
    45 == Example
    46 
    4745<enscript highlight="scheme">
    4846(use (prefix sentence-split :ss))
    4947
    5048(define str "Pr. Chamberlain was also a col. in the army. Chamberlain was commissioned a lt. col. in
    51   the 20th Maine Volunteer Infantry Regiment. On July 2nd, during the Battle of Gettysburg, Chamberlain's regiment occupied the extreme left of the Union lines at Little Round Top.")
     49             the 20th Maine Volunteer Infantry Regiment. On July 2nd, during the Battle of Gettysburg,
     50             Chamberlain's regiment occupied the extreme left of the Union lines at Little Round Top.")
     51
     52(for-each
     53  (lambda (x)
     54    (print "<" x ">"))
     55  (ss:get-sentences str))
     56
     57</enscript>
    5258
    5359
Note: See TracChangeset for help on using the changeset viewer.