How can I use document metadata in function expressions?
I have a very simple process with 3 main operators.
1) Get Page
2) Extract Content
3) Proccess Documents
Under "Process Documents" there are sub-processes, Tokenize, Aggregate Token Length.
Everything works fine in terms of creating the tokens(keywords) with total occurrences, however, I'm trying to calculate the density of each word and include as a custom attribute. I have the token_number metadata which holds the number of keywords but I cannot seem to access that information. How can I achieve this so my example set result looks similar to this?