if (FALSE) {
freq_first <- get_word_frequency("The quick brown fox jumps over the lazy dog",
position = "first",
corpus = "A sample corpus text with everyday language.",
corpus_source = "provided",
model = "gpt-3.5-turbo",
api_key = "your_api_key")
cat("Frequency (first word):", freq_first, "\n")
}
Run the code above in your browser using DataLab