Abstract
The alignment of multiple strings generated from web pages represents a crucial problem in the processing of daily increasing amounts of data in the Internet. The complexity of this problem grows exponentially with the number of strings. Since it is not possible to achieve practically acceptable results on serial computers even with efficient heuristic approaches, parallel processing seems to be an inevitable option. There already exist emerging parallel solutions for the alignment of multiple strings in areas such as bioinformatics and genome applications. However, to our knowledge, no parallel solution has been published so far for a problem which arises in the context of web data extraction. In this work, we present two algorithms for a parallel solution of this problem, where input web data records are represented as a two-dimensional array of symbols. The algorithms differ in the assignment of the array data to the parallel processes. In the first one a distribution according to symbols is considered, whereas the second one operates by partitioning its columns. Communication among processes is handled via message passing in both cases. The algorithms are analyzed with respect to time and space complexity. We implemented both algorithms and have studied their properties by running them on a multiprocessor system. For the version with distributed columns, we observed that its speedup significantly suffers from the communication overhead. However, the results for the version with data distribution by symbols are convincing. In this case, reasonable performance has been obtained.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Web page excerpt from http://www.barnesandnoble.com/.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
References
Álvarez, M., Pan, A., Raposo, J., Bellas, F., Cacheda, F.: Finding and extracting data records from web pages. In: Proceedings of the 2007 International Conference on Embedded and Ubiquitous Computing, pp. 466–478 (2007)
Arasu, A., Garcia-Molina, H.: Extracting structured data from web pages. In: Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data, pp. 337–348 (2003)
Chang, C.H., Kayed, M., Girgis, M.R., Shaalan, K.F.: A survey of web information extraction systems. IEEE Trans. Knowl. Data Eng. 18(10), 1411–1428 (2006)
Chang, C.H., Kuo, S.C.: OLERA: Semisupervised web-data extraction with visual support. IEEE Intell. Syst. 19(6), 56–64 (2004)
Chang, C.H., Lui, S.C.: IEPAD: Information extraction based on pattern discovery. In: Proceedings of the 10th International Conference on World Wide Web, pp. 681–688 (2001)
Church, P.C., Goscinski, A., Holt, K., Inouye, M., Ghoting, A., Makarychev, K., Reumann, M.: Design of multiple sequence alignment algorithms on parallel, distributed memory supercomputers. In: 33rd Annual International Conference of the IEEE Engineering in Medicine and Biology Society, pp. 924–927. IEEE (2011). doi:10.1109/IEMBS.2011.6090208
Crescenzi, V., Mecca, G.: Automatic information extraction from large websites. J. ACM 51(5), 731–779 (2004)
Crescenzi, V., Mecca, G., Merialdo, P.: RoadRunner: Towards automatic data extraction from large web sites. In: Proceedings of the 27th International Conference on Very Large Data Bases, pp. 109–118 (2001)
Daugelaite, J., Driscoll, A.O., Sleator, R.D.: An overview of multiple sequence alignments and cloud computing in bioinformatics. ISRN Biomath. 2013, 1–14 (2013). doi:10.1155/2013/615630
Gusfield, D.: Efficient methods for multiple sequence alignment with guaranteed error bounds. Bull. Math. Biol. 55(1), 141–154 (1993)
Gusfield, D.: Algorithms on Strings, Trees, and Sequences, 1st edn. Cambridge University Press, New York (1997)
Hunga, C.L., Linb, Y.S., Linc, C.Y., Chungb, Y.C., Chungc, Y.F.: CUDA ClustalW: An efficient parallel algorithm for progressive multiple sequence alignment on multi-GPUs. Comput. Biol. Chem. 58, 62–68 (2015)
Kayed, M.: Peer matrix alignment: A new algorithm. In: Proceedings of the 16th Pacific-Asia Conference on Advances in Knowledge Discovery and Data Mining, pp. 268–279 (2012)
Kayed, M., Chang, C.H.: FiVaTech: Page-level web data extraction from template pages. IEEE Trans. Knowl. Data Eng. 22(2), 249–263 (2010)
Laender, A.H.F., Ribeiro-Neto, B.A., da Silva, A.S., Teixeira, J.S.: A brief survey of web data extraction tools. SIGMOD Rec. 31(2), 84–93 (2002)
Li, K.B.: ClustalW-MPI: ClustalW analysis using distributed and parallel computing. Bioinformatics 19(12), 1585–1586 (2003)
Liu, W., Meng, X., Meng, W.: ViDE: A vision-based approach for deep web data extraction. IEEE Trans. Knowl. Data Eng. 22(3), 447–460 (2010)
Lopes, H.S., Lima, C.R.E., Moritz, G.L.: A parallel algorithm for large-scale multiple sequence alignment. Comput. Inform. 29(6), 1233–1250 (2010)
Miao, G., Tatemura, J., Hsiung, W.P., Sawires, A., Moser, L.E.: Extracting data records from the web using tag path clustering. In: Proceedings of the 18th International Conference on World Wide Web, pp. 981–990 (2009)
Mikhailov, D., Cofer, H., Gomperts, R.: Performance optimization of ClustalW: Parallel ClustalW. HT Clustal and MultiClustal, SGI ChemBio (2001)
Nguyen, L.T., Schmidt, H.A., von Haeseler, A., Minh, B.Q.: IQ-TREE: A fast and effective stochastic algorithm for estimating maximum-likelihood phylogenies. Mol. Biol. Evol. 32(1), 268–274 (2015). doi:10.1093/molbev/msu300
Rognes, T.: ParAlign: A parallel sequence alignment algorithm for rapid and sensitive database searches. Nucl. Acids Res. 29(7), 1647–1652 (2001)
Sarawagi, S.: Information extraction. Found. Trends Databases 1(3), 261–377 (2008)
Simon, K., Lausen, G.: ViPER: Augmenting automatic information extraction with visual perceptions. In: Proceedings of the 2005 ACM CIKM International Conference on Information and Knowledge Management, pp. 381–388 (2005)
Sleiman, H.A., Corchuelo, R.: An architecture for web information agents. In: 11th International Conference on Intelligent Systems Design and Applications, pp. 18–23 (2011)
Su, W., Wang, J., Lochovsky, F.H.: ODE: Ontology-assisted data extraction. ACM Trans. Database Syst. 34(2), 12:1–12:35 (2009)
W3C: Document Object Model (DOM). http://www.w3.org/DOM/. Accessed 6 Jan 2009
W3C: HTML 4.01 specification. http://www.w3.org/TR/html401/. Accessed 24 Dec 1999
W3C: HTML 5. http://www.w3.org/TR/2014/REC-html5-20141028/. Accessed 27 Dec 2015
W3C: World Wide Web Consortium. http://www.w3.org/. Accessed 18 April 2013
Wang, J., Lochovsky, F.H.: Data extraction and label assignment for web databases. In: Proceedings of the 12th International Conference on World Wide Web, pp. 187–196 (2003)
Wang, L., Jiang, T.: On the complexity of multiple sequence alignment. J. Comput. Biol. 1(4), 337–348 (1994)
Xia, Y., Yu, H., Zhang, S.: Automatic web data extraction using tree alignment. In: Proceedings of the 18th ACM Conference on Information and Knowledge Management, pp. 1645–1648 (2009)
Yamada, Y., Craswell, N., Nakatoh, T., Hirokawa, S.: Testbed for information extraction from deep web. In: Proceedings of the 13th International World Wide Web Conference, pp. 346–347 (2004)
Zhai, Y., Liu, B.: Structured data extraction from the web based on partial tree alignment. IEEE Trans. Knowl. Data Eng. 18(12), 1614–1628 (2006)
Zhao, H., Meng, W., Wu, Z., Raghavan, V., Yu, C.: Fully automatic wrapper generation for search engines. In: Proceedings of the 14th International Conference on World Wide Web, pp. 66–75 (2005)
Zhao, H., Meng, W., Yu, C.: Mining templates from search result records of search engines. In: Proceedings of the 13th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 884–893 (2007)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Gfrerer, C., Vajteršic, M., Kutil, R. (2017). Parallel Algorithms to Align Multiple Strings in the Context of Web Data Extraction. In: Adamatzky, A. (eds) Emergent Computation . Emergence, Complexity and Computation, vol 24. Springer, Cham. https://doi.org/10.1007/978-3-319-46376-6_25
Download citation
DOI: https://doi.org/10.1007/978-3-319-46376-6_25
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-46375-9
Online ISBN: 978-3-319-46376-6
eBook Packages: EngineeringEngineering (R0)