Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
bom_identify
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c815971e
authored
Jun 02, 2020
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加一些英文类别
parent
92d955a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
static_config.py
static_config.py
View file @
c815971e
...
@@ -19,7 +19,7 @@ MUST_STD_FIELDS = ['参数', '数量']
...
@@ -19,7 +19,7 @@ MUST_STD_FIELDS = ['参数', '数量']
# 参数名和中文的映射
# 参数名和中文的映射
EN_TO_ZH_MAP
=
{
'brand_name'
:
'品牌'
,
'param'
:
'参数'
,
'goods_name'
:
'型号'
,
'other'
:
'其他'
}
EN_TO_ZH_MAP
=
{
'brand_name'
:
'品牌'
,
'param'
:
'参数'
,
'goods_name'
:
'型号'
,
'other'
:
'其他'
}
# 类别合集 从learning_data.lie_category导入
# 类别合集 从learning_data.lie_category导入
, 并添加了部分短英文Category
CATEGORY
=
[
"半导体"
,
"嵌入式"
,
"光电子"
,
"光源"
,
"无源"
,
"连接器"
,
"断路器"
,
"指示灯"
,
"声源"
,
"接触器"
,
"铁氧芯"
,
"冷热系统"
,
"电源"
,
"电线"
,
"机械"
,
CATEGORY
=
[
"半导体"
,
"嵌入式"
,
"光电子"
,
"光源"
,
"无源"
,
"连接器"
,
"断路器"
,
"指示灯"
,
"声源"
,
"接触器"
,
"铁氧芯"
,
"冷热系统"
,
"电源"
,
"电线"
,
"机械"
,
"外壳"
,
"自动化"
,
"工作场所设备"
,
"汽车"
,
"机器人"
,
"放大器"
,
"音频"
,
"时钟"
,
"转换器"
,
"模具技术"
,
"接口"
,
"隔离"
,
"隔离器件"
,
"控制器"
,
"驱动"
,
"外壳"
,
"自动化"
,
"工作场所设备"
,
"汽车"
,
"机器人"
,
"放大器"
,
"音频"
,
"时钟"
,
"转换器"
,
"模具技术"
,
"接口"
,
"隔离"
,
"隔离器件"
,
"控制器"
,
"驱动"
,
"处理器"
,
"RF和微波"
,
"传感器"
,
"多路复用器"
,
"无线"
,
"计时"
,
"裸片"
,
"DLP产品"
,
"射频&微波"
,
"保险丝"
,
"电池"
,
"电容"
,
"电路保护"
,
"通信"
,
"数据转换"
,
"处理器"
,
"RF和微波"
,
"传感器"
,
"多路复用器"
,
"无线"
,
"计时"
,
"裸片"
,
"DLP产品"
,
"射频&微波"
,
"保险丝"
,
"电池"
,
"电容"
,
"电路保护"
,
"通信"
,
"数据转换"
,
...
@@ -32,4 +32,4 @@ CATEGORY = ["半导体", "嵌入式", "光电子", "光源", "无源", "连接
...
@@ -32,4 +32,4 @@ CATEGORY = ["半导体", "嵌入式", "光电子", "光源", "无源", "连接
"铰接件"
,
"盖塞与遮蔽"
,
"支撑脚和轮"
,
"型材与座"
,
"减震器"
,
"轴承"
,
"把手"
,
"直线导轨"
,
"技术密封"
,
"切换夹具和夹紧螺栓"
,
"边缘保护套"
,
"磁铁"
,
"报警器"
,
"铰接件"
,
"盖塞与遮蔽"
,
"支撑脚和轮"
,
"型材与座"
,
"减震器"
,
"轴承"
,
"把手"
,
"直线导轨"
,
"技术密封"
,
"切换夹具和夹紧螺栓"
,
"边缘保护套"
,
"磁铁"
,
"报警器"
,
"分线盒"
,
"变送器"
,
"调制与控制"
,
"气动"
,
"螺线管"
,
"启动器"
,
"阀门和汇流板"
,
"空气设备"
,
"仪表"
,
"气动配件"
,
"测量"
,
"软焊和焊接设备"
,
"PCB原型制作与生产"
,
"分线盒"
,
"变送器"
,
"调制与控制"
,
"气动"
,
"螺线管"
,
"启动器"
,
"阀门和汇流板"
,
"空气设备"
,
"仪表"
,
"气动配件"
,
"测量"
,
"软焊和焊接设备"
,
"PCB原型制作与生产"
,
"化学制剂"
,
"工具"
,
"防静电保护"
,
"健康与安全"
,
"收音机和CB用框架及半框架"
,
"扬声器罩,前面板固定座"
,
"排线"
,
"电机控制模块"
,
"微型电动机"
,
"底板"
,
"3D打印机"
,
"化学制剂"
,
"工具"
,
"防静电保护"
,
"健康与安全"
,
"收音机和CB用框架及半框架"
,
"扬声器罩,前面板固定座"
,
"排线"
,
"电机控制模块"
,
"微型电动机"
,
"底板"
,
"3D打印机"
,
"RTV服务"
,
"配件"
,
"三极管"
,
'钽电容'
,
'MOS管'
,
'芯片'
,
'器件'
,
'模组'
,
'接线'
,
'按键'
]
"RTV服务"
,
"配件"
,
"三极管"
,
'钽电容'
,
'MOS管'
,
'芯片'
,
'器件'
,
'模组'
,
'接线'
,
'按键'
,
'IC'
,
'LDO'
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment