N-grams help us understand sequences of words or characters in text. When we use N-grams in models like text classifiers or language models, common metrics to check how well the model works include accuracy, precision, recall, and F1 score. These metrics tell us how well the model predicts the right categories or next words based on N-gram patterns.
For example, if we use N-grams to detect spam emails, precision is important to avoid marking good emails as spam. If we use N-grams to find important phrases, recall helps us catch most relevant phrases.