xconfig(json_path="")
wheat:N:Wheat:WHEAT:Wheats:Triticum:Durum wheat:Common wheat: | durum wheat:L:DURUM:T. durum:Triticum durum:Triticum turgidum:durums wheats:durum wheat:macaroni wheat: | ||
The letter N(node) indicates that this category (wheat) may have subcategories (Durum wheat, Common wheat, ...). | |||
The letter L (leaf) indicates a leaf of a node. | wheat:N:Wheat:WHEAT:Wheats:Triticum:Durum wheat:Common wheat: |
- tag: a name used to mark results, ex: p for plant, m for disease | ||
- file: a path to a dictionary file | - node: if the dictionary contains nodes (N) | |
- col_key: the column in the dictionary that contains the original word | ||
- col_val: the columns in the dictionary that we want to use to search in the corpus | - tag: a name used to mark results, ex: p for plant, m for disease |
- result
xconfig()
xconfig("C:/JSON/ini.json")
Run the code above in your browser using DataLab