There are other rules that can be used to perform SBD. LingPipe's HeuristicSentenceModel
class uses a series of token rules to perform SBD. We will present them here, as they provide insight into what rules can be useful.
This class uses three sets of tokens and two flags to assist in the process:
Balance parentheses include () and []. However, this rule will fail if the text is malformed. The default token sets are listed in the following table:
Possible Stops |
Impossible Penultimates |
Impossible Starts |
---|---|---|
. |
any single letter |
closed parentheses |
.. |
personal and professional titles, ranks, and so on |
, |
! |
commas, colons, and quotes |
; |
? |
common abbreviations |
: |
" |
directions |
- |
'' |
corporate designators |
-- |
). |
time, months, and so on |
--- |
U.S. political parties |
% | |
U.S. states (not ME or IN) |
" | |
shipping terms | ||
address abbreviations |
Although LingPipe's HeuristicSentenceModel
class uses these rules, there is no reason they cannot be used in other implementations of SBD tools.
Heuristic approaches for SBD might not always be as accurate as other techniques. However, they may work in a particular domain and often have the advantages of being faster and using less memory.
3.12.151.154