How to get a lexicon file from spaCy ? #11805
-
There is a issue now, I have processed multiple texts using the same pipeline. It's known that the lexicon in pipeline is available for each text which was input in. How can I get the lexicon (maybe a dictionary ?) like the format below to the disk. Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please don't post screenshots of text, post text as text, for example using a markdown code block. I am not sure what you mean by "lexicon", but you can produce output similar to your example like this:
You can redirect that to a file in the shell, or you can save it to a string and write a file as usual. Does that answer your question? |
Beta Was this translation helpful? Give feedback.
Please don't post screenshots of text, post text as text, for example using a markdown code block.
I am not sure what you mean by "lexicon", but you can produce output similar to your example like this:
You can redirect that to a file in the shell, or you can save it to a string and write a file as usual.
Does that answer your question?