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
  • DataJoin
  • ExpandPattern
  • FormatLexicalPattern
  • HideMissing
  • LexicalCases
  • LexicalDispersionPlot
  • LexicalDispersionSmoothHistogram
  • LexicalMap
  • LexicalPattern
  • LexicalPatternQ
  • LexicalStructure
  • LexicalSummary
  • LexigramCount
  • MaxCategories
  • OptionalToken
  • Sandwich
  • StopWordQ
  • SynonymToken
  • TextType
  • ToLexicalPattern
  • TypeToken
  • WordToken
  • $FilterableProperties
  • $LexicalCasesServices
  • $SampleParagraph
  • $SampleSentence
  • $SampleStringExpression
FaizonZaman`LexicalCases`
LexicalDispersionPlot
​
​
LexicalDispersionPlot
[text,lp]
plots the dispersion of lexical pattern
lp
across
text
​
​
LexicalDispersionPlot
[text,{
lp
​
1
,…,
lp
​
i
}]
plots the dispersion of the lexical patterns
lp
​
i
across
text
​
​
LexicalDispersionPlot
[{
t
​
1
,…,
t
​
i
},lpspec]
plots dispersion across the
t
​
i
​
Details and Options

Examples  
(5)
Basic Examples  
(1)
Visualize the occurrence of lexical patterns in a text
In[1]:=
oosp=ExampleData[{"Text","OriginOfSpecies"}];
In[2]:=
LexicalDispersionPlot
oosp,
TypeToken
["Adjective"]~~" species",
TypeToken
["Adjective"]~~" plants",
TypeToken
["Adjective"]~~" animals",
TypeToken
["Adjective"]~~" life"
Out[2]=
Scope  
(1)

Options  
(2)

Possible Issues  
(1)

SeeAlso
LexicalDispersionSmoothHistogram
TechNotes
▪
LexicalCases Overview
RelatedGuides
▪
LexicalCases
RelatedLinks
▪
LexicalCases GitHub Repository
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com