Text completion: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: "not" collection!) |
|||
Line 140: | Line 140: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
{{trans|Julia}} |
{{trans|Julia}} |
||
uses levenshtein() from [[Levenshtein_distance#Phix]] and [http://wiki.puzzlers.org/pub/wordlists/unixdict.txt unixdict] (not the same as the one Julia uses) |
uses levenshtein() from [[Levenshtein_distance#Phix]] and [http://wiki.puzzlers.org/pub/wordlists/unixdict.txt unixdict] (not the same as the one Julia uses - I did just check and indeed it does ''not'' have "collection" in it!) |
||
<lang Phix>string word = "complition" |
<lang Phix>string word = "complition" |
||
sequence words = get_text(join_path({"demo","unixdict.txt"}),GT_LF_STRIPPED) |
sequence words = get_text(join_path({"demo","unixdict.txt"}),GT_LF_STRIPPED) |