corpus2 issueshttps://gitlab.clarin-pl.eu/analysers/corpus2/-/issues2022-03-03T11:41:12Zhttps://gitlab.clarin-pl.eu/analysers/corpus2/-/issues/13Describe new hash and equal functions in future documentation2022-03-03T11:41:12ZGrzegorz KostkowskiDescribe new hash and equal functions in future documentation[Recently added hash function](https://gitlab.clarin-pl.eu/analysers/corpus2/-/commit/e0036bd424fb0a7564aebf2e0ca6026dbfec7026) and existed implementation of the [equality operator](https://gitlab.clarin-pl.eu/analysers/corpus2/-/blob/ma...[Recently added hash function](https://gitlab.clarin-pl.eu/analysers/corpus2/-/commit/e0036bd424fb0a7564aebf2e0ca6026dbfec7026) and existed implementation of the [equality operator](https://gitlab.clarin-pl.eu/analysers/corpus2/-/blob/master/src/libcorpus2/token.cpp#L120-124) are based on specific equality definition (depends on _orth_, _wa_, _lexemes_). As this may not be suitable in all use cases (e.g. two occurrences of same token in different part of document won't be distinguished), it is important to clearly describe this to avoid user's wrong assumptions.