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

LexicalCases

Guides

  • LexicalCases

Tech Notes

  • LexicalCases Overview

Symbols

  • BoundToken
  • CountSummaryLowercase
  • ExpandPattern
  • LexicalCases
  • LexicalDispersionPlot
  • LexicalPattern
  • LexicalStructure
  • LexicalSummary
  • OptionalToken
  • Sandwich
  • TextType
  • ToLexicalPattern
  • WordToken
  • $LexicalCasesServices
FaizonZaman`LexicalCases`
TextType
​
TextType
[type]
a pattern object representing a text content type.
​
Examples  
(1)
Basic Examples  
(1)
Search for a lexical pattern containing an adjective
In[1]:=
LexicalCases
"This is a nice sentence. This nice sentence is cool too. This is the third sentence.",adjective:
TextType
["Adjective"]~~"sentence"adjective​​["Counts"]
Out[1]=
Match
Count
nice
2
third
1
SeeAlso
TextContents
 
▪
TextCases
TechNotes
▪
LexicalCases Overview
RelatedGuides
▪
LexicalCases
▪
TextContentTypes
RelatedLinks
▪
LexicalCases GitHub Repository
""

© 2023 Wolfram. All rights reserved.

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