Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
StringTools[Sentences] - approximate segmentation of a string of English text into sentences
Calling Sequence
Sentences( s )
Parameters
s
-
Maple string
Description
The Sentences(s) command attempts to split a string, presumed to be composed of English language text, into its constituent sentences. It does this by recognizing sentence boundaries. The beginning and the end of the input string are regarded as sentence boundaries in all cases. Internal sentence boundaries are recognized by the presence of a sentence terminator, which is one of the following:
Period
.
Exclamation point
!
Question mark
?
Colon
:
A small number of built-in patterns are used to recognize some exceptions.
Note that you can also use the RegSplit command with the fixed string "\n\n" as the splitting pattern to segment English text into paragraphs.
Examples
See Also
string, StringTools, StringTools[RegSplit], StringTools[Words]
Download Help Document