import streamlit as st
# Configure Streamlit page
st.set_page_config(
layout="wide",
page_title="Spark NLP Demos App",
initial_sidebar_state="auto"
)
# Custom CSS for better styling
st.markdown("""
""", unsafe_allow_html=True)
# Home page content
st.markdown('
Spark NLP: State-of-the-Art Natural Language Processing
', unsafe_allow_html=True)
st.markdown("""
Spark NLP is a state-of-the-art Natural Language Processing library built on top of Apache Spark. It provides performant & accurate NLP annotations for machine learning pipelines that scale in a distributed environment. With 36,000+ pretrained models and pipelines in over 200 languages, Spark NLP supports a wide range of NLP tasks including:
- Tokenization
- Named Entity Recognition
- Sentiment Analysis
- Text Classification
- Machine Translation
- Summarization
- Question Answering
- Text Generation
- Image Classification
- Automatic Speech Recognition
- And many more
""", unsafe_allow_html=True)
st.markdown('Key Features
', unsafe_allow_html=True)
st.markdown("""
- Integration with popular transformers like BERT, RoBERTa, ALBERT, and more
- Support for Python, R, and JVM (Java, Scala, Kotlin)
- GPU support for accelerated processing
- Easy integration with Spark ML functions
""", unsafe_allow_html=True)
st.markdown('Community & Support
', unsafe_allow_html=True)
st.markdown("""
- Official Website: Documentation and examples
- Slack: Live discussion with the community and team
- GitHub: Bug reports, feature requests, and contributions
- Medium: Spark NLP articles
- YouTube: Video tutorials
""", unsafe_allow_html=True)
st.markdown('Quick Links
', unsafe_allow_html=True)
st.markdown("""
""", unsafe_allow_html=True)