Giter Site home page Giter Site logo

spacy-udpipe's Introduction

spaCy + UDPipe

This package wraps the fast and efficient UDPipe language-agnostic NLP pipeline (via its Python bindings), so you can use UDPipe pre-trained models as a spaCy pipeline for 50+ languages out-of-the-box. Inspired by spacy-stanza, this package offers slightly less accurate models that are in turn much faster (see benchmarks for UDPipe and Stanza).

Installation

Use the package manager pip to install spacy-udpipe.

pip install spacy-udpipe

After installation, use spacy_udpipe.download() to download the pre-trained model for the desired language.

A full list of pre-trained UDPipe models for supported languages can be found in languages.json.

Usage

The loaded UDPipeLanguage class returns a spaCy Language object, i.e., the object you can use to process text and create a Doc object.

import spacy_udpipe

spacy_udpipe.download("en") # download English model

text = "Wikipedia is a free online encyclopedia, created and edited by volunteers around the world."
nlp = spacy_udpipe.load("en")

doc = nlp(text)
for token in doc:
    print(token.text, token.lemma_, token.pos_, token.dep_)

As all attributes are computed once and set in the custom Tokenizer, the Language.pipeline is empty.

The type of text can be one of the following:

  • unprocessed: str,
  • presegmented: List[str],
  • pretokenized: List[List[str]].

Loading a custom model

The following code snippet demonstrates how to load a custom UDPipe model (for the Croatian language):

import spacy_udpipe

nlp = spacy_udpipe.load_from_path(lang="hr",
                                  path="./custom_croatian.udpipe",
                                  meta={"description": "Custom 'hr' model"})
text = "Wikipedija je enciklopedija slobodnog sadržaja."

doc = nlp(text)
for token in doc:
    print(token.text, token.lemma_, token.pos_, token.dep_)

This can be done for any of the languages supported by spaCy. For an exhaustive list, see spaCy languages.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update the tests as appropriate. Tests are run automatically for each pull request on the master branch. To start the tests locally, first, install the package with pip install -e .[dev], then run pytest in the root source directory as follows:

make test

Additionally, run flake8 with the following command to check for coding mistakes:

make lint

License

  • Source code: MIT © Text Analysis and Knowledge Engineering Lab (TakeLab)
  • Available pre-trained models: CC BY-NC-SA 4.0

Project status

Maintained by Text Analysis and Knowledge Engineering Lab (TakeLab).

Notes

  • Known possible issues:
    • Tag map

      Token.tag_ is a CoNLL XPOS tag (language-specific part-of-speech tag), defined for each language separately by the corresponding Universal Dependencies treebank. Mappings between XPOS and Universal Dependencies POS tags should be defined in a TAG_MAP dictionary (located in language-specific tag_map.py files), along with optional morphological features. See spaCy tag map for more details.

    • Syntax iterators

      In order to extract Doc.noun_chunks, a proper syntax iterator implementation for the language of interest is required. For more details, please see spaCy syntax iterators.

    • Other language-specific issues

      A quick way to check language-specific defaults in spaCy is to visit spaCy language support. Also, please see spaCy language data for details regarding other language-specific data.

spacy-udpipe's People

Contributors

asajatovic avatar koichiyasuoka avatar mariosasko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spacy-udpipe's Issues

Multiprocessing error

When running the spacy_udpipe with the n_process = X enabled, it gives an error.
The code I run is:

nlpD = spacy_udpipe.load(lang)
nlps = list(nlpD.pipe(sentences, n_process=4))
for doc in nlps:
        for token in doc:
            lemma=token.lemma_

The error is:

File "token.pyx", line 871, in spacy.tokens.token.Token.lemma_.__get__
 File "strings.pyx", line 136, in spacy.strings.StringStore.__getitem__
KeyError: "[E018] Can't retrieve string for hash '14027581762467160941'. This usually refers to an issue with the `Vocab` or `StringStore`."

When I run the same code, but without the n_process argument, then everything is fine. No errors, the text is processed and so on.

It seems to be related to a spaCy issue, but I couldn't find a solution.
https://stackoverflow.com/questions/60152152/spacy-issue-with-vocab-or-stringstore

spaCy version: 2.2.4
python version: 3.8.3
spacy-udpipe version: 0.3.0
OS: debian 10

Thanks.
Cheers,
Dimitar

Add __version__

It would be great if you could add a __version__ variable (e.g. in __init__) which users can import. That way we can build functionality around the installed version number!

Issues with dependency tags for pretokenized text

When using pretokenized text, the dependency tags turn out to be ROOT for all the tokens. This is however not the case when performing tagging on raw text directly.

Here's a code sample replicating this issue for Swedish:

import spacy_udpipe
spacy_udpipe.download('sv')
sv = spacy_udpipe.load('sv')

text = "Världshandelsorganisationen arbetar med reglering av handel mellan deltagarländerna."
tokens = [token.text for token in sv.tokenizer(text)]

print('Tagging text directly: ', [token.dep_ for token in sv(text)])
print('Tagging pretokenized text: ', [token.dep_ for token in sv(tokens)])

The output is the following:

Tagging text directly:  ['nsubj', 'ROOT', 'case', 'obl', 'case', 'nmod', 'case', 'nmod', 'punct']
Tagging pretokenized text:  ['ROOT', 'ROOT', 'ROOT', 'ROOT', 'ROOT', 'ROOT', 'ROOT', 'ROOT', 'ROOT']

Cannot use Uyghur 2.5 model

Dear colleagues,

thank you for your work on this package!

When I try to use the pre-downloaded Uyghur model

nlp = spacy_udpipe.load_from_path(lang="ug",
                                      path="./resources/uyghur-udt-ud-2.5-191206.udpipe",
                                      meta={"description": "Uyghur 2.5 model."})

I receive the following error:

ImportError: [E048] Can't import language ug or any matching language from spacy.lang: No module named 'spacy.lang.ug'

Are there any proper solutions or workarounds for this issue?

Thanks in advance!

Allow pre-tokenised text

Similar to #13, it would be nice to have an option to disable the tokenizer in some way and to use tokens (list of string) directly as input to the rest of the pipeline. For instance, in spaCy, we can easily swap out the tokenizer:

nlp.tokenizer = nlp.tokenizer.tokens_from_list

This would be helpful!

It would also be great if this could be used together with the aforementioned issue (#13) so that you can pass pretokenized, presegmented text.

Error running model for Romanian

When running spacy-udpipe for Romanian, I get the following error:

Traceback (most recent call last):
  File "a.py", line 4, in <module>
    doc = nlp("Ce mai faci?")
  File "/scratch/gobi1/bai/bai-conda/lib/python3.7/site-packages/spacy/language.py", line 427, in __call__
    doc = self.make_doc(text)
  File "/scratch/gobi1/bai/bai-conda/lib/python3.7/site-packages/spacy/language.py", line 453, in make_doc
    return self.tokenizer(text)
  File "/scratch/gobi1/bai/bai-conda/lib/python3.7/site-packages/spacy_udpipe/language.py", line 148, in __call__
    spaces=spaces).from_array(attrs, array)
  File "doc.pyx", line 806, in spacy.tokens.doc.Doc.from_array
  File "morphology.pyx", line 283, in spacy.morphology.Morphology.assign_tag
  File "morphology.pyx", line 312, in spacy.morphology.Morphology.assign_tag_id
  File "morphology.pyx", line 200, in spacy.morphology.Morphology.add
ValueError: [E167] Unknown morphological feature: 'Case' (8245304235865630608). This can happen if the tagger was trained with a different set of morphological features. If you're using a pretrained model, make sure that your models are up to date:
python -m spacy validate

Code to reproduce:

import spacy_udpipe

nlp = spacy_udpipe.load('ro')
doc = nlp("Ce mai faci?")
for token in doc:
  print(token.text, token.pos_)

The model is working for most languages, but Polish fails with the same error.

I am using the latest version of spacy (2.2.3) and spacy-udpipe (0.1.0).

Option to "disable sentence segmentation" needed

I used "lzh" model, but its performance for sentence segmentation seems rather worse. So I tried to disable sentence segmentation:

import spacy_udpipe
class M(spacy_udpipe.UDPipeModel):
  def tokenize(self,text:str):
    t=self.model.newTokenizer(self.model.TOKENIZER_PRESEGMENTED)
    return self._read(text=text,input_format=t)
m=M("lzh")
lzh=spacy_udpipe.UDPipeLanguage(m,m._meta)
doc=lzh("不入虎穴不得虎子")

This quick hack works well, and I think we need an option for spacy_udpipe.load to disable sentence segmentation. How do you think, @asajatovic ?

Issue with Whitespaces for German

Hello,

it seems like there exists an issue with the trailing whitespaces of tokens in case of, e.g., German.

import sys
import traceback
import spacy_udpipe
    
def udpipe_tokenizer(doc, language):
    nlp = spacy_udpipe.load(language)
    try:
        doc = nlp(doc)
        tokenized_doc =("".join([token.text_with_ws for token in doc]))
    except:
        traceback.print_exc()
        sys.exit()
    return tokenized_doc

text = """ Juliana kommt aus Paris. Das ist die Hauptstadt von Frankreich. In diesem Sommer macht sie einen Sprachkurs in Freiburg. 
Das ist eine Universitätsstadt im Süden von Deutschland. Es gefällt ihr hier sehr gut. Morgens um neun beginnt der Unterricht, um vierzehn Uhr ist er zu Ende.
In ihrer Klasse sind außer Juliana noch 14 weitere Schüler, acht Mädchen und sechs Jungen. Sie kommen alle aus Frankreich, aber nicht aus Paris.
    """

tokenized_text = udpipe_tokenizer(text,"de")
print(tokenized_text)

Output:

Juliana kommt aus Paris . Das ist die Hauptstadt von Frankreich . In diesem Sommer macht sie einen Sprachkurs in Freiburg . Das ist eine Universitätsstadt in dem Süden von Deutschland . Es gefällt ihr hier sehr gut . Morgens um neun beginnt der Unterricht , um vierzehn Uhr ist er zu Ende . In ihrer Klasse sind außer Juliana noch 14 weitere Schüler , acht Mädchen und sechs Jungen . Sie kommen alle aus Frankreich , aber nicht aus Paris .

As one can see, the periods at the end of the sentences are put with one additional whitespace to the last token of a sentence. The same holds for other punctuation symbols while Spacy would detect whether there actually exists a trailing whitespace.

(Source of sample text: https://lingua.com/german/reading/)

Text indexation on portuguese

Hello! Maybe there is something not working correctly with token.idx on portuguese.

I think the cause is multiword token. In portuguese "da" (of the) is a contraction of "de + a").

I saw #17, it seems to be the same problem, but it seem it wont work for portuguese.

This works (token.text and text slice are the same):

nlp = spacy_udpipe.load("en")
text = "The language of peace can be a culture."
doc = nlp(text)
for token in doc:
    print(token.text,text[token.idx:token.idx+len(token.text)])

The The
language language
of of
peace peace
can can
be be
a a
culture culture
. .

This wont work (token.text and text slice are not the same after multiword): :

nlp = spacy_udpipe.load("pt")
text = "A linguagem da paz pode ser uma cultura."
doc = nlp(text)
for token in doc:
    print(token.text,text[token.idx:token.idx+len(token.text)])

A A
linguagem linguagem
de da
a p
paz z p

pode de s
ser r u
uma a c
cultura ltura.
.

Any ideas of how to circumvent this?

get_path - allow to load from disk instead

Would it be possible to allow the language to be the path to the file on disk? Currently this https://github.com/TakeLab/spacy-udpipe/blob/master/spacy_udpipe/language.py#L195 only allows to set a language specified in that json
I have some home-brew udpipe models (e.g. some of them are here: https://github.com/bnosac/udpipe.models.ud, which I basically use alongside the R wrapper of udpipe https://github.com/bnosac/udpipe) and it would be nice to allow them to be read from the location of the file on disk instead.

'NoneType' object has no attribute 'newTokenizer'`

Hello,

I installed spacy-udpipe from the Pypi repo using the following
pip install spacy-udpipe

When I follow the tutorial code from the Pypi package tutorial

import spacy_udpipe
spacy_udpipe.download("en") # download English model
text = "Wikipedia is a free online encyclopedia, created and edited by volunteers around the world."
nlp = spacy_udpipe.load("en")
doc = nlp(text)

it raises the following error

Already downloaded a model for the 'en' language
Traceback (most recent call last):
  File "/home/adr2.local/mallart_c/a4ll/udpipe-microservice/app/spacy_parser.py", line 8, in <module>
    doc = nlp(text)
  File "/home/adr2.local/mallart_c/a4ll/venv/lib/python3.8/site-packages/spacy/language.py", line 999, in __call__
    doc = self._ensure_doc(text)
  File "/home/adr2.local/mallart_c/a4ll/venv/lib/python3.8/site-packages/spacy/language.py", line 1090, in _ensure_doc
    return self.make_doc(doc_like)
  File "/home/adr2.local/mallart_c/a4ll/venv/lib/python3.8/site-packages/spacy/language.py", line 1082, in make_doc
    return self.tokenizer(text)
  File "/home/adr2.local/mallart_c/a4ll/venv/lib/python3.8/site-packages/spacy_udpipe/tokenizer.py", line 83, in __call__
    udpipe_sents = self.model(text=text) if text else [Sentence()]
  File "/home/adr2.local/mallart_c/a4ll/venv/lib/python3.8/site-packages/spacy_udpipe/udpipe.py", line 99, in __call__
    sentences = self.tokenize(text)
  File "/home/adr2.local/mallart_c/a4ll/venv/lib/python3.8/site-packages/spacy_udpipe/udpipe.py", line 144, in tokenize
    tokenizer = self.model.newTokenizer(self.model.DEFAULT)
AttributeError: 'NoneType' object has no attribute 'newTokenizer'

I am using spacy==3.5.0 and spacy-udpipe==1.0.0 inside of a Python 3.8.10 venv. I have also installed spacy-conll==3.3.0 and spacy-transformers==1.2.1.

(CS model v2.5) - strange problem with "aby" word

I'm used spacy-udpipe to lemmatize all words from a word2vec model, but it crashed with some one-word texts - Interestingly, that problematic were only 3 words out of 2mil: ['aby', 'Aby', 'ABY'] ...See the code and error:

import spacy_udpipe
spacy_udpipe.download('cs')
# the downloaded file is czech-pdt-ud-2.5-191206.udpipe
nlp = spacy_udpipe.load('cs')
word = 'aby'
doc = nlp(word)

Error:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-5-d64aeb0566d4> in <module>
      4 nlp = spacy_udpipe.load('cs')
      5 word = 'aby'
----> 6 doc = nlp(word)

~/kajo/kajo_semexp_core/lib/python3.6/site-packages/spacy/language.py in __call__(self, text, disable, component_cfg)
    429                 Errors.E088.format(length=len(text), max_length=self.max_length)
    430             )
--> 431         doc = self.make_doc(text)
    432         if component_cfg is None:
    433             component_cfg = {}

~/kajo/kajo_semexp_core/lib/python3.6/site-packages/spacy/language.py in make_doc(self, text)
    455 
    456     def make_doc(self, text):
--> 457         return self.tokenizer(text)
    458 
    459     def _format_docs_and_golds(self, docs, golds):

~/kajo/kajo_semexp_core/lib/python3.6/site-packages/spacy_udpipe/language.py in __call__(self, text)
    230                 )
    231             else:
--> 232                 raise e
    233         # Overwrite lemmas separately to prevent overwritting by spaCy
    234         lemma_array = numpy.array(

~/kajo/kajo_semexp_core/lib/python3.6/site-packages/spacy_udpipe/language.py in __call__(self, text)
    218             doc = Doc(self.vocab,
    219                       words=words,
--> 220                       spaces=spaces).from_array(attrs, array)
    221         except ValueError as e:
    222             if '[E167]' in str(e):

doc.pyx in spacy.tokens.doc.Doc.from_array()

ValueError: [E190] Token head out of range in `Doc.from_array()` for token index '0' with value '1' (equivalent to relative head index: '1'). The head indices should be relative to the current token index rather than absolute indices in the array.

I'm using Python 3.6.9, spacy==2.2.4, spacy-udpipe==0.2.0

It worked OK with czech-pdt-ud-2.4-190531.udpipe, spacy==2.2.3, spacy-udpipe==0.1.0 and it works without error with the newer version of spacy and spacy-udpipe when I manually loaded the model as nlp = spacy_udpipe.load_from_path(lang="cs", path="<path_to>/czech-pdt-ud-2.4-190531.udpipe", meta={"description": "CS model"}) - so this strange issue seems to be in the model czech-pdt-ud-2.5-191206.udpipe

Noun chunks in Czech language

Because the Czech isn't supported in Spacy, I use UDPipe model czech-pdt-ud-2.5-191206.udpipe with Spacy-udpipe. The problem is that iterating through the noun chunks doesn't work for czech.
Is there any way to manually specify lang/cs/syntax_iterators.py in Spacy, or any other way how to deal with it? Thanks for any advice.

How do I customise the model behaviour and save locally?

Hi. I am using this library to lemmatize in Swedish, and I would like to be able to load the model from a local directory, and to make iterative improvements when I find mistakes in the lemmatization. With regular spaCy models I can simply edit the exclusions table and save and load from disk using the to_disk and from_disk methods,

nlp = spacy.load(local_path)
lemmatizer = nlp.get_pipe('lemmatizer')
lemmatizer.lookups.get_table("lemma_exc")["noun"]["word"] = ["whatever"]
nlp.to_disk(local_path)

Is there any equivalent for models from spacy_udpipe? I see the load_from_path method, but can I make changes to the lemmatization, and how do I save the model locally? In regards to saving the model, this does not work for me:

spacy_udpipe.download('sv')
nlp = spacy_udpipe.load('sv')
nlp.to_disk('my_model')
nlp_from_local = spacy_udpipe.load_from_path(lang='sv', path='my_model')

Trying to use the nlp_from_local object on a text gives me

AttributeError: 'NoneType' object has no attribute 'newTokenizer'

Extract morphological features for Hindi

I want to extract morphological features out of a token (equivalent to FEATS of CONLL-U format). Basically an output as we get in UDPipe for R would be sufficient but it seems so difficult in this.

I am using a model for Hindi and I parsed a dummy text. I ran the UDPipe on R and it shows detailed features for each token. But when I run it on spacy-udpipe, I can't seem to understand how to extract these features. I checked .morph and there are many attributes which I want to know but all of them are empty ('').

I also tried checking spacy's hinted solution. I used nlp.vocab.morphology.tag_map but this dictionary only has 19 POS tags (which are all UPOS) and has no feature information (each one is a dictionary with only 74 as a key).

Interestingly, I checked Dutch and it seems to have a much more dense tag_map. But since UDPipe for R is showing features for Hindi as well, it should also be there for Python.

Is it possible to extract these features ? It would be a great help.

sentence span is wrong if there are sentences containing only space tokens

The sentence span is wrong if there are sentences containing only space tokens

>>> import spacy
>>> import spacy_udpipe
>>> spacy_udpipe.download("nl")
Already downloaded a model for the 'nl' language
>>> nlp = spacy_udpipe.load("nl")
>>>
>>> def line_splitter(x):
...     text = str(x)
...     text = text.split(sep = "\n")
...     text = [sent + "\n" for sent in text]
...     return text
...
>>> text_raw = "We gingen naar Brussel \n\n \nen kochten op 13/12/2021 veel eten. Jullie ook?"
>>> text = line_splitter(text_raw)
>>> text
['We gingen naar Brussel \n', '\n', ' \n', 'en kochten op 13/12/2021 veel eten. Jullie ook?\n']
>>> doc = nlp(text)
>>> for sent_i, sent in enumerate(doc.sents):
...     print(sent.start_char, sent.end_char)
...
0 22
23 70
>>> text_raw[0:(22+1)]
'We gingen naar Brussel '
>>> text_raw[23:(70+1)]
'\n\n \nen kochten op 13/12/2021 veel eten. Jullie o'
>>>

Extract morphological features

I want to extract morphological features out of a token (equivalent to FEATS of CONLL-U format). Basically an output as we get in UDPipe for R would be sufficient but it seems so difficult in this.

I am using a model for Hindi and I parsed a dummy text. I ran the UDPipe on R and it shows detailed features for each token. But when I run it on spacy-udpipe, I can't seem to understand how to extract these features. I checked .morph and there are many attributes which I want to know but all of them are empty ('').

I also tried checking spacy's hinted solution. I used nlp.vocab.morphology.tag_map but this dictionary only has 19 POS tags (which are all UPOS) and has no feature information (each one is a dictionary with only 74 as a key).

Interestingly, I checked Dutch and it seems to have a much more dense tag_map. But since UDPipe for R is showing features for Hindi as well, it should also be there for Python.

Installation on Windows with Python 3.9 fails

Hello

I am trying to install spacy-udpipe on Windows with pip install spacy-udpipe on Python 3.9 but compilation fails. It does work on 3.7, however.

    Running setup.py install for ufal.udpipe ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\bramv\.virtualenvs\spacy_conll-AkYdeqDT\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\bramv\\AppData\\Local\\Temp\\pip-install-q97ncxd3\\ufal-udpipe_7e380460019c435ab2ef7e10d888e9fc\\setup.py'"'"'; __file__='"'"'C:\\Users\\bramv\\AppData\\Local\\Temp\\pip-install-q97ncxd3\\ufal-udpipe_7e380460019c435ab2ef7e10d888e9fc\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\bramv\AppData\Local\Temp\pip-record-s1_gy2u1\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\bramv\.virtualenvs\spacy_conll-AkYdeqDT\include\site\python3.9\ufal.udpipe'
         cwd: C:\Users\bramv\AppData\Local\Temp\pip-install-q97ncxd3\ufal-udpipe_7e380460019c435ab2ef7e10d888e9fc\
    Complete output (349 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.9
    creating build\lib.win-amd64-3.9\ufal
    copying ufal\__init__.py -> build\lib.win-amd64-3.9\ufal
    copying ufal\udpipe.py -> build\lib.win-amd64-3.9\ufal
    warning: build_py: byte-compiling is disabled, skipping.

    running build_ext
    building 'ufal._udpipe' extension
    creating build\temp.win-amd64-3.9
    creating build\temp.win-amd64-3.9\Release
    creating build\temp.win-amd64-3.9\Release\udpipe
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Iudpipe/include -IC:\Users\bramv\.virtualenvs\spacy_conll-AkYdeqDT\include -Ic:\users\bramv\appdata\local\programs\python\python39\include -Ic:\users\bramv\appdata\local\programs\python\python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt /EHsc /Tpudpipe/udpipe.cpp /Fobuild\temp.win-amd64-3.9\Release\udpipe/udpipe.obj -std=c++11 -fvisibility=hidden -w
    cl : Command line warning D9025 : overriding '/W3' with '/w'
    cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
    cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
    udpipe.cpp
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory(671): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(688): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,_Ty1&,_Ty1&,unsigned __int64,bool,const ufal::udpipe::word&>(_Alloc &,_Objty *const ,_Ty1 &,_Ty1 &,unsigned __int64 &&,bool &&,const ufal::udpipe::word &)' being compiled
            with
            [
                _Alloc=std::allocator<ufal::udpipe::evaluator::evaluation_data::word_data>,
                _Ty=ufal::udpipe::evaluator::evaluation_data::word_data,
                _Ty1=size_t,
                _Objty=ufal::udpipe::evaluator::evaluation_data::word_data
            ]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(688): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,_Ty1&,_Ty1&,unsigned __int64,bool,const ufal::udpipe::word&>(_Alloc &,_Objty *const ,_Ty1 &,_Ty1 &,unsigned __int64 &&,bool &&,const ufal::udpipe::word &)' being compiled
            with
            [
                _Alloc=std::allocator<ufal::udpipe::evaluator::evaluation_data::word_data>,
                _Ty=ufal::udpipe::evaluator::evaluation_data::word_data,
                _Ty1=size_t,
                _Objty=ufal::udpipe::evaluator::evaluation_data::word_data
            ]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706): note: see reference to function template instantiation 'void std::vector<ufal::udpipe::evaluator::evaluation_data::word_data,std::allocator<ufal::udpipe::evaluator::evaluation_data::word_data>>::_Emplace_back_with_unused_capacity<_Ty1&,_Ty1&,_Ty,bool,const ufal::udpipe::word&>(_Ty1 &,_Ty1 &,_Ty &&,bool &&,const ufal::udpipe::word &)' being compiled
            with
            [
                _Ty1=size_t,
                _Ty=unsigned __int64
            ]
    udpipe/udpipe.cpp(1030): note: see reference to function template instantiation 'void std::vector<ufal::udpipe::evaluator::evaluation_data::word_data,std::allocator<ufal::udpipe::evaluator::evaluation_data::word_data>>::emplace_back<_Ty1&,_Ty2&,unsigned __int64,bool,const _Ty&>(_Ty1 &,_Ty2 &,unsigned __int64 &&,bool &&,const _Ty &)' being compiled
            with
            [
                _Ty1=size_t,
                _Ty2=size_t,
                _Ty=ufal::udpipe::word
            ]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory(671): warning C4244: 'argument': conversion from '_Ty' to 'int', possible loss of data
            with
            [
                _Ty=__int64
            ]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(688): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,int&,bool&,const char*&,__int64>(_Alloc &,_Objty *const ,int &,bool &,const char *&,__int64 &&)' being compiled
            with
            [
                _Alloc=std::allocator<ufal::udpipe::morphodita::tag_filter::char_filter>,
                _Ty=ufal::udpipe::morphodita::tag_filter::char_filter,
                _Objty=ufal::udpipe::morphodita::tag_filter::char_filter
            ]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(688): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,int&,bool&,const char*&,__int64>(_Alloc &,_Objty *const ,int &,bool &,const char *&,__int64 &&)' being compiled
            with
            [
                _Alloc=std::allocator<ufal::udpipe::morphodita::tag_filter::char_filter>,
                _Ty=ufal::udpipe::morphodita::tag_filter::char_filter,
                _Objty=ufal::udpipe::morphodita::tag_filter::char_filter
            ]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706): note: see reference to function template instantiation 'void std::vector<ufal::udpipe::morphodita::tag_filter::char_filter,std::allocator<ufal::udpipe::morphodita::tag_filter::char_filter>>::_Emplace_back_with_unused_capacity<int&,bool&,const char*&,_Ty>(int &,bool &,const char *&,_Ty &&)' being compiled
            with
            [
                _Ty=__int64
            ]
    udpipe/udpipe.cpp(9096): note: see reference to function template instantiation 'void std::vector<ufal::udpipe::morphodita::tag_filter::char_filter,std::allocator<ufal::udpipe::morphodita::tag_filter::char_filter>>::emplace_back<int&,bool&,const char*&,__int64>(int &,bool &,const char *&,__int64 &&)' being compiled
    udpipe/udpipe.cpp(12978): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(12960): note: while compiling class template member function 'bool ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::train(unsigned int,unsigned int,bool,unsigned int,unsigned int,float,float,float,float,bool,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,ufal::udpipe::utils::binary_encoder &,std::string &)'
    udpipe/udpipe.cpp(13389): note: see reference to function template instantiation 'bool ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::train(unsigned int,unsigned int,bool,unsigned int,unsigned int,float,float,float,float,bool,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,ufal::udpipe::utils::binary_encoder &,std::string &)' being compiled
    udpipe/udpipe.cpp(13388): note: see reference to class template instantiation 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>' being compiled
    udpipe/udpipe.cpp(12978): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix(gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix'
    udpipe/udpipe.cpp(12978): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix(gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix'
    udpipe/udpipe.cpp(12986): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(12986): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix(gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix'
    udpipe/udpipe.cpp(12986): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix(gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix'
    udpipe/udpipe.cpp(12987): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(12987): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix(gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix'
    udpipe/udpipe.cpp(12987): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix(gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::random_matrix'
    udpipe/udpipe.cpp(12994): error C2514: 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>': class template cannot be constructed
    udpipe/udpipe.cpp(12994): note: see declaration of 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>'
    udpipe/udpipe.cpp(12996): error C2670: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::matrix_trainer<3,16>::matrix_trainer': the function template cannot convert parameter 1 from type 'ufal::udpipe::morphodita::gru_tokenizer_network::matrix<3,16>'
    udpipe/udpipe.cpp(12996): error C2670: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::matrix_trainer<3,16>::matrix_trainer': the function template cannot convert parameter 1 from type 'ufal::udpipe::morphodita::gru_tokenizer_network::matrix<3,16>'
    udpipe/udpipe.cpp(13045): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13045): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, unsigned int)'
    udpipe/udpipe.cpp(13054): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13054): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, int)'
    udpipe/udpipe.cpp(13057): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13057): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13057): error C2530: 'embedding_dropout': references must be initialized
    udpipe/udpipe.cpp(13061): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13061): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13062): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13062): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13064): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13064): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13064): error C3536: 'embedding_dropout': cannot be used before it is initialized
    udpipe/udpipe.cpp(13064): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13065): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13065): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13065): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13067): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13067): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13067): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13068): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13068): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13068): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13069): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13069): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13069): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13069): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13072): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13072): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13074): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13074): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13074): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13075): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13075): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13075): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13076): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13076): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13076): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13076): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13076): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13076): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13080): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13080): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13080): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13084): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13084): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13114): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13114): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13114): error C2530: 'embedding_dropout': references must be initialized
    udpipe/udpipe.cpp(13119): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13119): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13122): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13122): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13128): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13128): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13128): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13129): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13129): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13130): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13130): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13132): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13132): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13132): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13135): error C3536: 'embedding_dropout': cannot be used before it is initialized
    udpipe/udpipe.cpp(13136): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13136): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13142): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13142): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13143): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13143): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13145): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13145): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13145): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13146): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13146): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13146): error C2088: '[': illegal for class
    udpipe/udpipe.cpp(13152): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13152): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13154): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13154): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>,std::allocator<gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<1,16>>>, size_t)'
    udpipe/udpipe.cpp(13230): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(13230): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix(const gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,ufal::udpipe::utils::binary_encoder &)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12948): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix'
    udpipe/udpipe.cpp(13230): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix(const gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,ufal::udpipe::utils::binary_encoder &)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12948): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix'
    udpipe/udpipe.cpp(13231): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(13231): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix(const gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,ufal::udpipe::utils::binary_encoder &)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12948): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix'
    udpipe/udpipe.cpp(13231): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix(const gru_tokenizer_network_trainer<16>::gru_tokenizer_network_implementation<16>::gru_tokenizer_network::matrix<R,C> &,ufal::udpipe::utils::binary_encoder &)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12948): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<16>::save_matrix'
    udpipe/udpipe.cpp(12978): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(12960): note: while compiling class template member function 'bool ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::train(unsigned int,unsigned int,bool,unsigned int,unsigned int,float,float,float,float,bool,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,ufal::udpipe::utils::binary_encoder &,std::string &)'
    udpipe/udpipe.cpp(13393): note: see reference to function template instantiation 'bool ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::train(unsigned int,unsigned int,bool,unsigned int,unsigned int,float,float,float,float,bool,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,const std::vector<ufal::udpipe::morphodita::tokenized_sentence,std::allocator<ufal::udpipe::morphodita::tokenized_sentence>> &,ufal::udpipe::utils::binary_encoder &,std::string &)' being compiled
    udpipe/udpipe.cpp(13392): note: see reference to class template instantiation 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>' being compiled
    udpipe/udpipe.cpp(12978): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix(gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix'
    udpipe/udpipe.cpp(12978): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix(gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix'
    udpipe/udpipe.cpp(12986): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(12986): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix(gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix'
    udpipe/udpipe.cpp(12986): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix(gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix'
    udpipe/udpipe.cpp(12987): error C2672: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix': no matching overloaded function found
    udpipe/udpipe.cpp(12987): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix(gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'R'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix'
    udpipe/udpipe.cpp(12987): error C2783: 'void ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix(gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<R,C> &,std::mt19937 &,float,float)': could not deduce template argument for 'C'
    udpipe/udpipe.cpp(12945): note: see declaration of 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::random_matrix'
    udpipe/udpipe.cpp(12994): error C2514: 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>': class template cannot be constructed
    udpipe/udpipe.cpp(12994): note: see declaration of 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>'
    udpipe/udpipe.cpp(12996): error C2670: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::matrix_trainer<3,24>::matrix_trainer': the function template cannot convert parameter 1 from type 'ufal::udpipe::morphodita::gru_tokenizer_network::matrix<3,24>'
    udpipe/udpipe.cpp(12996): error C2670: 'ufal::udpipe::morphodita::gru_tokenizer_network_trainer<24>::matrix_trainer<3,24>::matrix_trainer': the function template cannot convert parameter 1 from type 'ufal::udpipe::morphodita::gru_tokenizer_network::matrix<3,24>'
    udpipe/udpipe.cpp(13045): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13045): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, unsigned int)'
    udpipe/udpipe.cpp(13054): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13054): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, int)'
    udpipe/udpipe.cpp(13057): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13057): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13061): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13061): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13062): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13062): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13064): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13064): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13065): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13065): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13067): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13067): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13068): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13068): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13069): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13069): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13072): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13072): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13074): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13074): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13075): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13075): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13076): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13076): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13080): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13080): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13084): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13084): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13114): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13114): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13119): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13119): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13122): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1508): note: could be 'const _Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept const'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(1498): note: or       '_Ty &std::vector<_Ty,_Alloc>::operator [](const allocator_traits<allocator_traits<_Alloc>::rebind_alloc<_Ty>>::size_type) noexcept'
    udpipe/udpipe.cpp(13122): note: while trying to match the argument list '(std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>, size_t)'
    udpipe/udpipe.cpp(13128): error C2678: binary '[': no operator found which takes a left-hand operand of type 'std::vector<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>,std::allocator<gru_tokenizer_network_trainer<24>::gru_tokenizer_network_implementation<24>::gru_tokenizer_network::matrix<1,24>>>' (or there is no acceptable conversion)
    udpipe/udpipe.cpp(13128): fatal error C1003: error count exceeds 100; stopping compilation
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\bramv\.virtualenvs\spacy_conll-AkYdeqDT\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\bramv\\AppData\\Local\\Temp\\pip-install-q97ncxd3\\ufal-udpipe_7e380460019c435ab2ef7e10d888e9fc\\setup.py'"'"'; __file__='"'"'C:\\Users\\bramv\\AppData\\Local\\Temp\\pip-install-q97ncxd3\\ufal-udpipe_7e380460019c435ab2ef7e10d888e9fc\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\bramv\AppData\Local\Temp\pip-record-s1_gy2u1\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\bramv\.virtualenvs\spacy_conll-AkYdeqDT\include\site\python3.9\ufal.udpipe' Check the logs for full command output.

Any idea?

Error 190 with pt-bosque model

Hi,
I don't know if it is relevant here or should I address pt-bosque model developers, but I get the following error using the pt-bosque model i.e. spacy_udpipe.load("pt-bosque")

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.7/site-packages/spacy/language.py", line 431, in __call__ doc = self.make_doc(text) File "/usr/local/lib/python3.7/site-packages/spacy/language.py", line 457, in make_doc return self.tokenizer(text) File "/usr/local/lib/python3.7/site-packages/spacy_udpipe/language.py", line 232, in __call__ raise e File "/usr/local/lib/python3.7/site-packages/spacy_udpipe/language.py", line 220, in __call__ spaces=spaces).from_array(attrs, array) File "doc.pyx", line 814, in spacy.tokens.doc.Doc.from_array ValueError: [E190] Token head out of range in Doc.from_array() for token index '14' with value '27' (equivalent to relative head index: '27'). The head indices should be relative to the current token index rather than absolute indices in the array.

while analyzing the text:

text = "– Não sei. Harry olhou desesperado para os lados. Black e Lupin, os dois tinham se ido... não havia mais nenhum adulto em sua companhia exceto Snape, que ainda flutuava, inconsciente, no ar."

The error is not thrown up when using the 'default' Portoguese model, pt-gsd, which is loaded as 'pt', or spacy with its own Portoguese model.

Thank you in advance!

Support spacy v3 ?

As titled, will this awesome project support spacy >= 3.0.0 ?
Now, it seems only work with spacy <= 2.3.5

New PyPi release?

There have been a couple of commits since the last release in June last year. Can these be pushed to PyPi and added here as a new release? That would be useful (in my case, the download information).

Change default language models

Hi,

the "default" models in languages.json file are suboptimal -- for example for Czech, the model cs is cs_cltt, which is just 860 sentences of layer texts, compared to cs_pdt containing 68.5k of general Czech text; the same for English, where en is en_partut with 1781 sentences compared to 12.5k sentences of en_ewt.

"cs": "czech-cltt-ud-2.4-190531.udpipe",

The UDPipe service http://lindat.mff.cuni.cz/services/udpipe/ actually has a "best" model for every language (mostly the largest one; or second-largest if the largest does not contain all annotations). You can find the "selected" langauge models in https://github.com/ufal/udpipe/blob/master/releases/models.txt, where the first appearing model is the selected one (so for Czech cs_pdt is the first cs_* line, so it is the default model).

Also, even if you have for example cs as a link to cs-pdt model, you should also include explicit cs-pdt model (so that users can explicitly use cs-pdt even if it is the default Czech model).

Load a pre-trained local udpipe of unsupported language

I want to load a local pretrained udpipe model with code like below:

import spacy_udpipe

udpipe_model = spacy_udpipe.UDPipeModel("sq")
nlp = spacy.load("./models_sq", udpipe_model=udpipe_model)

text = "Wikipedia është një uebsite i mirë."

doc = nlp(text)
for token in doc:
    print(token.text, token.lemma_, token.pos_, token.dep_)

but I get Exception: 'sq' language not available

Is it possible to give me direction how to add Albanian language support (or at least skip the exception) and load local udpipe model?

Thank you for your contribution!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.