1. 11 Mar, 2024 2 commits
    • Alfredo Di Napoli's avatar
      Add unified stemming interface · 2941ac6e
      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.
      2941ac6e
    • Alfredo Di Napoli's avatar
      Drop 'All' data constructor from 'Lang' · 63fcd605
      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.
      63fcd605
  2. 07 Mar, 2024 2 commits
  3. 05 Mar, 2024 6 commits
  4. 04 Mar, 2024 13 commits
  5. 01 Mar, 2024 1 commit
  6. 29 Feb, 2024 8 commits
  7. 28 Feb, 2024 2 commits
  8. 27 Feb, 2024 6 commits