Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
StringTools[NGrams] - compute the n-grams of a string
Calling Sequence
NGrams( s, n )
Parameters
s
-
string
n
non-negative (32-bit) integer
Description
The NGrams(s, n) command computes the ordered list of n-grams of the string s. The second argument n must be a 32-bit positive integer no larger than the length of s.
An n-gram of s is a substring of s consisting of exactly n contiguous characters from s.
The empty string has no n-grams, for any value of n.
Note that NGrams( s, 1 ) is equivalent to .
Examples
See Also
length, StringTools, StringTools[Explode], StringTools[SimilarityCoefficient]
Download Help Document