ufal / lindat-kontext

An alternative web front-end for the Manatee corpus search engine
GNU General Public License v2.0
5 stars 1 forks source link

Error in frequency tables according to text types #201

Closed Ansa211 closed 5 years ago

Ansa211 commented 6 years ago

Make some query on the PDT 3.0 corpus, and then select Frequency -> Doc IDs or Frequency -> Custom -> According to text types -> tick some Structural attribute

Both attempts fail. Tested also with several other corpora, e.g. UD 2.2 Czech PDT.

Interestingly, on the DGT UD Czech corpus, selecting Frequency -> Text types gives a tabular output for two structural attributes as configured in the registry file in the value of SUBCORPATTRS. But still, trying to create the same table by going through Frequency -> Custom -> According to text types -> text.id fails.

On a randomly selected corpus at the ÚČNK instance, this works. On the older instance of Lindat-KonText running at clarin.si, Frequency -> Doc IDs fails with CorpInfoNotFound (0), while Frequency->Custom->Text Type frequency distributin -> text.id works (tested with the DGT UD coprus with pretty much the same registry file as above in our instance).

Ansa211 commented 5 years ago

Seems to work after updating to new version of KonText.