Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
printUsage() {
cat <<EOT
Usage: $0 aws-region-name instance-type
aws-region-name: Name of the AWS region (e.g. eu-west-1)
instance-type: Either "ec2" or "ecs"
EOT
@ttezel
ttezel / gist:4138642
Last active July 27, 2024 14:46
Natural Language Processing Notes

#A Collection of NLP notes

##N-grams

###Calculating unigram probabilities:

P( wi ) = count ( wi ) ) / count ( total number of words )

In english..