Commit 0d25b662 authored by Arkadiusz Janz's avatar Arkadiusz Janz

new project structure

parent dc68e2e6
from ._base import *
from ._annotations import *
from ._copies import *
from ._tokens import *
......@@ -4,6 +4,18 @@ from builtins import dict
from corpus2 import AnnotatedSentence_wrap_sentence as annotate_sentence
__all__ = [
'get_attributes',
'get_attribute',
'set_attribute',
'set_attributes',
'get_annotations',
'get_annotation',
'set_annotation_for_token',
'is_head_of'
]
class _RaiseClass(object):
def __repr__(self):
return "<RAISE>"
......
......@@ -7,6 +7,26 @@ from cclutils import get_tagset
SIMPLE_TAGSET = get_tagset("simple")
__all__ = [
'get_lexeme_strings',
'create_token_split',
'create_token',
'create_lexeme_split',
'create_lexeme',
'create_tag',
'get_lexeme_string',
'get_coarse_lexeme_string',
'get_lexeme_pair',
'get_coarse_lexeme_pair',
'get_lexeme_lemma',
'get_pos',
'get_coarse_pos',
'convert_to_coarse_pos',
'POS_num_to_str',
'POS_str_to_num'
]
def get_lexeme_strings(document, tagset, delimiter=":", include_fine=False,
lemma_only=False):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment