## 5 Proposed Approach
### Data Reconstruction Module
#### 5.1.4. Fourth Methodology  
The fourth heuristic involves analyzing each sentence contained in the \"Description\" column using the following actions:  
* The sentence is split into a list of tokens;
* If in the technical site there is a NodetypeA or NodetypeB, the list of components or parts of components having that as father is extracted;
* Each token extracted from the description is compared with the names of the components extracted in the previous step;
* If a token in the description coincides with a component name mapped among those extracted, then it is added to the technical area. The code is structured in different levels of reconstruction depending on the number of information contained in the technical site: 1. If the technical site includes just RT2, the description value is examined to find any element descendant of RT2 (child or descendant). Three things can happen: 1. If the element found in the description is NodetypeA, it is therefore added to the technical site, thus obtaining: \[ROOT-NodetypeA\] 2. If the element found in the description is NodetypeB, the dictionary structure is queried to find the NodetypeA between the ROOT and the found NodetypeB. Subsequently, NodetypeA and NodetypeB are added to the technical site, obtaining a value of the type: \[ROOT-NodetypeA-NodetypeB\] 3. If the element found in the description is a leaf, the dictionary structure is accessed to find the NodetypeB father of the leaf. Once we find it, we look for the NodetypeA that links it to the ROOT as we did in the previous case. Then, \begin{table}
\begin{tabular}{l l l l l} \hline \hline
**Number of** & **Description** & **Old Technical Site** & **Equipment** & **Technical** \\
**Notice** & & & & **Site Rebuilt** \\ \hline
10,026,296 & Cleaning filter and & RT2 & RT2 MP23A-P & RT2-PUMSP-RT2 MP23A- \\  & suction line mp23a & & & RT2 MP23A-P \\ \hline
10,027,059 & SYSTEM CONTROL MC1A & RT2-COMPR & RT2 MC1A-C & RT2-COMPR-RT2 MC1A- \\  & & & & RT2 MC1A-C \\ \hline
10,013,510 & Large leak & RT2-PUMPS-RT2 MP13A- & RT2 MP13A-P & RT2-PUMPS-RT2 MP13A- \\  & & & & RT2 MP13A-P \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Examples of reconstruction data with the first methodology. \begin{table}
\begin{tabular}{l l l} \hline \hline
**Technical Site in \"Notices\"** & **Technical Site in \"ODM\"** & **Technical Site Rebuild** \\ \hline RT2-PUMPS-RT2 MP4 & RT2-PUMPS-RT2 MP4-RT2 MP4\_P & RT2-PUMPS-RT2 MP4-RT2 MP4\_P \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Example of reconstruction of the technical site using the third methodology. the elements NodetypeA, NodetypeB and the leaf are added to the technical site, thus obtaining: \[ROOT-NodetypeA-NodetypeB-Leaf\]
2. If ROOT-NodetypeA is present in the technical site, we first extract the values from the dictionary having the NodetypeA element as a key. Subsequently, each token of the description is compared against the elements extracted from the dictionary, and, if a match is found, the technical site is completed with the matched element. It can either be just a NodetypeB or both a NodetypeB and a leaf element. The technical site will therefore have the form: \[ROOT-NodetypeA-NodetypeBorROOT-NodetypeA-NodetypeB-Leaf\]
3. If ROOT-NodetypeA-NodetypeB is present in the technical site, in this case, firstly the values from the dictionary having NodetypeB as the key are extracted. Then, each token of the description is compared against the extracted elements, and in case a match is found, the technical site is completed with the leaf element and will therefore have the following form: \[ROOT-NodetypeA-NodetypeB-Leaf\]  
In Tables 4-6 the examples related to the three different aforementioned cases of the fourth methodology are depicted. In particular, in the description of the first row of Table 4, the term pumps is found. It corresponds to the pump type, which is a direct child of the root. The new technical site becomes RT2-PUMPS. For the second row, the token level corresponds to a NodetypeB whose ancestors are VALV and RT2.