Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
LexicalCases
Guides
LexicalCases
Tech Notes
LexicalCases Overview
Symbols
BoundToken
CountSummaryLowercase
ExpandPattern
LexicalCases
LexicalDispersionPlot
LexicalPattern
LexicalStructure
LexicalSummary
OptionalToken
Sandwich
TextType
ToLexicalPattern
WordToken
$LexicalCasesServices
FaizonZaman`LexicalCases`
L
e
x
i
c
a
l
P
a
t
t
e
r
n
L
e
x
i
c
a
l
P
a
t
t
e
r
n
[
l
p
]
A
w
r
a
p
p
e
r
f
o
r
u
s
i
n
g
l
e
x
i
c
a
l
p
a
t
t
e
r
n
s
i
n
s
t
r
i
n
g
f
u
n
c
t
i
o
n
s
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
2
)
Basic Examples
(
1
)
Search for a
L
e
x
i
c
a
l
P
a
t
t
e
r
n
with
S
t
r
i
n
g
C
a
s
e
s
I
n
[
1
]
:
=
N
e
e
d
s
[
"
L
e
x
i
c
a
l
C
a
s
e
s
`
"
]
I
n
[
2
]
:
=
a
l
i
c
e
=
E
x
a
m
p
l
e
D
a
t
a
[
{
"
T
e
x
t
"
,
"
A
l
i
c
e
I
n
W
o
n
d
e
r
l
a
n
d
"
}
]
;
I
n
[
3
]
:
=
S
t
r
i
n
g
C
a
s
e
s
a
l
i
c
e
,
L
e
x
i
c
a
l
P
a
t
t
e
r
n
"
A
l
i
c
e
"
~
~
T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