A small example package
Custom Transformers for Spark NLP
The code is based on NLTK Python module and uses Apache Spark and it's features to create transformers for model training. This essentially means that this package can be used as a reference for spark custom transformers.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.