junhewk / RcppMeCab

RcppMeCab: Rcpp Interface of CJK Morpheme Analyzer MeCab
24 stars 8 forks source link

Why columns in resulting data.frame are all integers? #6

Closed koheiw closed 3 months ago

koheiw commented 5 years ago

pos() retuns a data.frame but its columns are all integers. I think it should have columns in the following format:

doc_id: factor
sentence_id: integer
token_id: integer
token: character
subtype: character
analytic: character
junhewk commented 5 years ago

I was incredibly busy for writing up my dissertation. Now things settled up. I'll work on the things you flagged. I'm so sorry to reply this late.

junhewk commented 3 months ago

Finally I change the output of data.frame as you requested. doc_id column contains input text as factor format. My apology for this delay (already 5 years have been passed after you requested)!

koheiw commented 3 months ago

Thanks! I think we have feature requests for our packages older than five years 😁