Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • 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
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

LexicalCases

Guides

  • LexicalCases

Tech Notes

  • LexicalCases Overview

Symbols

  • BoundToken
  • CountSummaryLowercase
  • ExpandPattern
  • LexicalCases
  • LexicalDispersionPlot
  • LexicalPattern
  • LexicalStructure
  • LexicalSummary
  • OptionalToken
  • Sandwich
  • TextType
  • ToLexicalPattern
  • WordToken
  • $LexicalCasesServices
FaizonZaman`LexicalCases`
LexicalCases
​
LexicalCases
[source,lp]
returns a
LexicalSummary
of the text in
source
matching the lexical pattern
lp
.
​
Details and Options

Examples  
(9)
Basic Examples  
(1)
Extract adverb phrases from the Origin of Species:
In[1]:=
Needs["LexicalCases`"]
In[2]:=
oosp=ExampleData[{"Text","OriginOfSpecies"}];
In[3]:=
ols=
LexicalCases
oosp,
TextType
["Adverb"]~~
TextType
["Adjective"]~~
BoundToken
["specie"|"species"]
Out[3]=
LexicalSummary
Source: Text
Matches: 74

Scope  
(3)

Options  
(5)

SeeAlso
TextCases
 
▪
TextContents
 
▪
TextSentences
 
▪
TextWords
 
▪
StringCases
 
▪
Interpreter
 
▪
TextStructure
TechNotes
▪
Lexical Cases Overview
RelatedGuides
▪
LexicalCases
RelatedLinks
▪
LexicalCases GitHub Repository
""

Powered by the Wolfram Cloud More about Wolfram Technology

© 2022 Wolfram Research, Inc. All rights reserved. Terms of Use Privacy Contact Us