N-grams: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: (find ok too remark)) |
|||
Line 205: | Line 205: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
A dictionary is used to find the index of already-seen n-grams.<br> |
A dictionary is used to find the index of already-seen n-grams, though a simpler find() would be good enough for this task.<br> |
||
I have replicated most orderings found on this page, the task description order corresponds to orig/freq,<br> |
I have replicated most orderings found on this page, the task description order corresponds to orig/freq,<br> |
||
jq is alpha/freq but high last, but there is no equivalent for the Factor or Raku orderings here ;-). |
jq is alpha/freq but high last, but there is no equivalent for the Factor or Raku orderings here ;-). |