ehrapy.tools.mc.annotate_text#
- static mc.annotate_text(medcat_obj, text_column, n_proc=2, batch_size_chars=500000)#
Annotate the original free text data. Note this will only annotate non null rows. The result will be a DataFrame. It will be set as the annotated_results attribute for the passed MedCat object. This dataframe will be the base for all further analyses, for example coloring umaps by specific diseases.
- Parameters:
- Return type: