TextRank icon indicating copy to clipboard operation
TextRank copied to clipboard

TextToRank should accept interface instead of ParsedSentence as struct

Open koushki opened this issue 6 years ago • 0 comments

If I want to use convert.TextToRank and I have a customized rule, it is not possible to use convert package because it accepts parse.ParsedSentence struct as the first argument.

I had a quick look and it seems should be possible to change parse.ParsedSentence to an interface.

I can create a PR if it does make sense to you @DavidBelicza!

koushki avatar Mar 04 '19 14:03 koushki