WIP: Actually get the UI to work and add some tests
This commit is contained in:
@@ -19,6 +19,15 @@ utils.default_table_mt = {
|
||||
end
|
||||
}
|
||||
|
||||
utils.repeated_table = function(n, val)
|
||||
local empty_lines = {}
|
||||
for _ = 1, n do
|
||||
table.insert(empty_lines, val)
|
||||
end
|
||||
return empty_lines
|
||||
end
|
||||
|
||||
|
||||
local NGram = {}
|
||||
NGram.__index = NGram
|
||||
|
||||
|
||||
Reference in New Issue
Block a user