You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
koushki
changed the title
TextToRank should accept interface instead of ParsedSentence
TextToRank should accept interface instead of ParsedSentence as struct
Mar 4, 2019
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!
The text was updated successfully, but these errors were encountered: