Adds the user-defined tags to the last word. Custom tags can be used to add extra semantical meaning or metadata to words.
(self, custom)
| 839 | pnp.anchor.attachments.append(pnp) |
| 840 | |
| 841 | def _do_custom(self, custom): |
| 842 | """ Adds the user-defined tags to the last word. |
| 843 | Custom tags can be used to add extra semantical meaning or metadata to words. |
| 844 | """ |
| 845 | self.words[-1].custom_tags = Tags(self.words[-1], custom) |
| 846 | |
| 847 | def _do_conjunction(self): |
| 848 | """ Attach conjunctions. |