TagsInputter

class opennmt.models.TagsInputter(*args, **kwargs)[source]

Reading space-separated tags.

Inherits from: opennmt.inputters.TextInputter

make_features(element=None, features=None, training=None)[source]

Tokenizes raw text.