コード例 #1
0
ファイル: Dict.cs プロジェクト: hello-web/FastTextProcess
 public float GetCosine(Dict other)
 {
     float[] a = GetVectFloat(this.Vect);
     float[] b = GetVectFloat(other.Vect);
     return(GetCosine(a, b));
 }
コード例 #2
0
ファイル: EmbedJoin.cs プロジェクト: sgf/FastTextProcess
        public string GetVectStr()
        {
            var vect_f = Dict.GetVectFloat(Vect);

            return(string.Join(" ", vect_f));
        }