pommedeterresautee / fastrtext

R wrapper for fastText
https://pommedeterresautee.github.io/fastrtext/
Other
101 stars 15 forks source link

Convenience functions for training #26

Closed olsgaard closed 5 years ago

olsgaard commented 6 years ago

When training models, the whole train_tmp_file_txt <- tempfile(); writeLines(text = train_to_write, con = train_tmp_file_txt) dance can get quite tiresome and error-prone, and so I have written a few convenience functions for training supervised and unsupervised models, that also expose all possible arguments in tab-complete and documentation, when using these in RStudio or similar environment.

Is there an interest in including such functions in fastrtext? I can prepare a PR with the ones I use, or we can discuss API and I can prepare new versions

pommedeterresautee commented 6 years ago

Hi, There is an interest for such function. Would be happy to review your PR !

pommedeterresautee commented 5 years ago

Thanks a lot, it s now in the last version of fastrtext.