'commit'
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import os
|
||||
import time
|
||||
import warnings
|
||||
|
||||
@@ -106,10 +105,5 @@ def main():
|
||||
混凝土的性能取决于其配合比,包括水灰比、砂率等参数。水灰比是影响混凝土强度的关键因素,较小的水灰比通常会产生更高强度的混凝土。"""
|
||||
insert_long_text_to_es(long_text, tags=["construction", "materials"])
|
||||
|
||||
# 示例2:处理目录中的所有文本文件
|
||||
# txt_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'Txt')
|
||||
# process_text_directory(txt_dir)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Reference in New Issue
Block a user