- 14 Mar, 2024 1 commit
-
-
Przemyslaw Kaminski authored
This reverts commit f4284b4e.
-
- 12 Mar, 2024 1 commit
-
-
Alfredo Di Napoli authored
This paves the way to a more effective search in corpus by modifying the internal "leaves" type of the `Query` type from a `Term` to a new type called `QueryTerm`, which can either be an extact match or a partial match, which can be rendered into a proper Postgres TS query via the ":*" syntax.
-
- 11 Mar, 2024 3 commits
-
-
Przemyslaw Kaminski authored
Also, some test refactoring and add servant-client to tests.
-
Alfredo Di Napoli authored
This commit refactors ever so slightly the '.Stem' modules to create a unified interface; now Gargantext.Core.Text.Terms.Mono.Stem exports a single 'stem' function which can be used with different `StemmingAlgorithm`s, and now the other algorithms' functions have been shielded behind internal modules. This makes possible to see at glance which part of Garg are using which stemming algorithm, as it wasn't always clearer before. This also allows us to have a better control over the langugages, as not all the stemming algorithms supports all the languages that Garg supports.
-
Alfredo Di Napoli authored
Removing the `All` data constructor from the `Lang` datatype has several benifits, the main one being that we now have total functions for things like `toISO693`. This will make possible to write an uniform interface for stemming `stem :: Lang -> StemmingAlgorithm -> T.Text -> T.Text`, as now `Lang` will always map to a valid (ISO693) language.
-
- 07 Mar, 2024 1 commit
-
-
Alexandre Delanoë authored
This reverts commit efbe327f, reversing changes made to 6d9bcd07.
-
- 04 Mar, 2024 8 commits
-
-
Przemyslaw Kaminski authored
We have contexts.hash_id which is enough (computed by postgres as a trigger).
-
Alexandre Delanoë authored
-
Alexandre Delanoë authored
-
Alexandre Delanoë authored
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
We use for now an initial translation into Haskell of this Javascript implementation: https://github.com/words/lancaster-stemmer/blob/main/index.js More tests needed
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
- 29 Feb, 2024 1 commit
-
-
Przemyslaw Kaminski authored
-
- 28 Feb, 2024 1 commit
-
-
Fabien Manière authored
-
- 27 Feb, 2024 2 commits
-
-
Alexandre Delanoë authored
Test failed, not merging. This reverts commit 2e77bfa5, reversing changes made to fe201115.
-
Alfredo Di Napoli authored
-
- 22 Feb, 2024 6 commits
-
-
Alfredo Di Napoli authored
This commit switch the PhyloMaker.hs code to use, whenever we can, faster implementations for nub and sort.
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
It also adds a semi-interesting phylo.
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
This reverts commit a60a1be7.
-
Alfredo Di Napoli authored
-
- 15 Feb, 2024 1 commit
-
-
Przemyslaw Kaminski authored
Split into Extract/Types/Utils modules. Found some functions that are unused.
-
- 14 Feb, 2024 3 commits
-
-
Alexandre Delanoë authored
-
Przemyslaw Kaminski authored
When user searched for a phrase with space inside, in database, the 'to_tsquery' function raised an sql error. One should use 'plainto_tsquery'. Also, a proper test was added.
-
Przemyslaw Kaminski authored
-
- 13 Feb, 2024 3 commits
-
-
Przemyslaw Kaminski authored
Get rid of that TVar completely.
-
Alexandre Delanoë authored
-
Alexandre Delanoë authored
the 2A, which is my recommendation. For some reasons that should be better analyzed, during the computation of the Distributional similarity using Accelerate some parts of the matrix are are below 1 (see the line modified by this commit). As a consequence the log of such value below 1 gives a negative value that is breaking the whole similarity computation: the matrix has negative and non negative values and is becoming inconsistent. The main fix consists in managing the values below 1 in order to get a non negative matrix. The Order 2A fixes the issue by adding 1 on each cell of the matrix. The Order 2B fixes the issue by removing values below 1 only. According to the qualitative tests I made the Graph results of order 2B is better than the results of order 2A. Filtering seems better than forcing using all data where some seems to be not "representative" enough.
-
- 09 Feb, 2024 1 commit
-
-
Karen Konou authored
-
- 08 Feb, 2024 1 commit
-
-
Karen Konou authored
-
- 05 Feb, 2024 3 commits
-
-
Przemyslaw Kaminski authored
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
-
- 01 Feb, 2024 1 commit
-
-
Przemyslaw Kaminski authored
-
- 22 Jan, 2024 3 commits
-
-
Alfredo Di Napoli authored
This commit fixes those GQL types which were defined as an empty record, as this was rejected in the latest versions of `morpheus-graphql`.
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
-