# Path: tweedr/ark/java/singleton.py



from tweedr.ark.java.singleton import tagger
import logging
# the tagger is global, powered by the singleton module in tweedr.ml.ark

logger = logging.getLogger(__name__)


def pos_tags(document):
    text = ' '.join(document)

# Path: tweedr/ark/java/singleton.py



# Path: tweedr/ml/features/nlp.py
from tweedr.ark.java.singleton import tagger
import logging

# the tagger is global, powered by the singleton module in tweedr.ml.ark

logger = logging.getLogger(__name__)


def pos_tags(document):
    text = ' '.join(document)

    tokens_line, tags_line = tagger.tokenize_and_tag(text)