topic-modeling-tool
topic-modeling-tool copied to clipboard
Importing .DS_store
Dear Scott, The TMT (version 1.0) on my Mac (OS Catalina 10.15.3) is importing the .DS_Store file (which is creating some odd topics! See #3 below [edit: file attached — issue-74-mallet-output.txt )] Can you assist? Thank you, Adam
Yes, this is a very irritating problem. My current understanding is that MALLET, by default, imports everything in the input folder. Modifying that behavior directly requires me to re-design parts of the TMT to work directly with MALLET's internal API, which I haven't had time to do.
I have considered having the TMT actively delete the .DS_Store file before calling MALLET, but that seems a little aggressive. The simple fix is just to remove the file before running the tool, but of course that's a hassle.
I will give some more thought to this problem though — the risks of deleting the file automatically seem low, but I am uncertain, hence my hesitation.
PS: this is closely related to #69.
Dear Scott, Thank you very much! I would be happy to remove the DS_Store file prior to running the TMT. That said, I think that file is hidden; I don't see it in my Mac's finder window. Is there an easy way to remove it? Thank you! Adam
On Fri, Mar 6, 2020 at 10:43 AM Jonathan Scott Enderle < [email protected]> wrote:
Yes, this is a very irritating problem. My current understanding is that MALLET, by default, imports everything in the input folder. Modifying that behavior directly requires me to re-design parts of the TMT to work directly with MALLET's internal API, which I haven't had time to do.
I have considered having the TMT actively delete the .DS_Store file before calling MALLET, but that seems a little aggressive. The simple fix is just to remove the file before running the tool, but of course that's a hassle.
I will give some more thought to this problem though — the risks of deleting the file automatically seem low, but I am uncertain, hence my hesitation.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/senderle/topic-modeling-tool/issues/74?email_source=notifications&email_token=AKIDMYV6C6H5UDGCROW6JPLRGEKZTA5CNFSM4LCTWUN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBZN4I#issuecomment-595826417, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIDMYRYMKXLU7INMDDC6RLRGEKZTANCNFSM4LCTWUNQ .
-- Adam Mazel
@amaze2 so sorry — I missed this last until now. I'm realizing that the easiest way to remove it is using the terminal — which kind of defeats the point of having a GUI. I have to think about this a bit more. I might need to build in an option for this that removes the .DS_store file from the input folder if it exists.