diff --git a/Project.toml b/Project.toml index 0e6cb002ee1d3dfdbd9ef5580fd60715e7047977..26af7c66f3a6b1b3954374300cbdd4fdaf8d99ee 100644 --- a/Project.toml +++ b/Project.toml @@ -1,4 +1,4 @@ -name = "FSALinalg" +name = "FiniteStateAutomata" uuid = "fc9063f0-9721-496a-abcf-7f8e825377b5" authors = ["Lucas ONDEL YANG <lucas.ondel@cnrs.fr"] version = "0.1.0" diff --git a/src/FSALinalg.jl b/src/FiniteStateAutomata.jl similarity index 95% rename from src/FSALinalg.jl rename to src/FiniteStateAutomata.jl index 2d13c8f50b234c53244dfb97c8c39c6ebe5b4995..02dfe841977dd42ef442671f77048fe6d58181bb 100644 --- a/src/FSALinalg.jl +++ b/src/FiniteStateAutomata.jl @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CECILL-2.1 -module FSALinalg +module FiniteStateAutomata using LinearAlgebra using SparseArrays diff --git a/src/ops.jl b/src/ops.jl index b26823de13d2b60a99a9157e4106de7f275073b8..cbe952207f150eaf11ddd0499fb6a600cb30a4e8 100644 --- a/src/ops.jl +++ b/src/ops.jl @@ -135,7 +135,7 @@ weights of the merged paths are simply added and locally renormalized. Therefore, the resulting FSA may have different weighting than the original FSA. """ -function determinize(A::FSALinalg.AbstractFSA{K,L}) where {K,L} +function determinize(A::AbstractFSA{K,L}) where {K,L} C = _spmap(K, λ(A)) # Edges of the determinized FSA. diff --git a/test/runtests.jl b/test/runtests.jl index de85aad39f4faa9736554896f92d26934be9adf3..77a6e42b224359e83539017bae66f26bd3aa49e9 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,4 @@ -using FSALinalg +using FiniteStateAutomata using Semirings using SparseArrays using Test