How the score is computed
Term frequency is how often a word appears in your document; inverse document frequency is ln(total corpus documents / documents containing the word). Their product is the weight: a word in every corpus document scores zero no matter how often you use it, and a word in just one document scores the maximum. Both numbers come from the exact text you pasted, so spelling, casing, and tokenization change the results.