[Student-projects] GSoC 2014 Project - Language filter for Diaspora

karthik senthil karthik.senthil94 at gmail.com
Wed Mar 12 09:34:21 PDT 2014


Hey

Are you talking about the language settings ?
Well, the gem wtf_lang covers most of the languages used and hence
there should not be any worry about misinterpretation. However if
further details of a language needs to be saved, we can simulate the
acts-as-taggable-on gem .i.e explicitly tag the post with its
identified language.

Please tell me, if we will be missing any specific details/features by
following the implementation mentioned in my previous mail.

Thanking You
Karthik.S


On Wed, Mar 12, 2014 at 9:54 PM, Ershad K <ershad92 at gmail.com> wrote:
>
>
>
> On Tue, Mar 11, 2014 at 5:46 PM, karthik senthil
> <karthik.senthil94 at gmail.com> wrote:
>>
>> Hey Ershad,
>>
>> I have checked the act-as-taggable-on gem and the Diaspora codebase to
>> consider the following implementation:
>>
>> 1) Add the the languages tag to the post model( acts_as_taggable
>> :language)
>> 2) When post is submitted, use this
>> gem(https://github.com/nashby/wtf_lang) to auto-identify the language
>> and add it to the language_list.
>> 3) Performing queries on the posts model can be done through the
>> languages tag(filtering).
>>
>> An important point here is that, if the taggable gem is used, then
>> there is no need for a language model or ActiveRelations.
>
>
> You are right. How will you manage to update the settings in Diaspora? Have
> you looked at it?
>
>>
>> Please consider the same and suggest if this approach meets all
>> requirements.
>>
>> Thank You
>> Karthik.S
>>
>>
>>
>>
>>
>>
>> On Tue, Mar 11, 2014 at 1:51 AM, Ershad K <ershad92 at gmail.com> wrote:
>> > Thank you, Karthik. Please write us about possibilities I mentioned in
>> > the
>> > previous mail.
>> >
>> >
>> > On Tue, Mar 11, 2014 at 1:36 AM, karthik senthil
>> > <karthik.senthil94 at gmail.com> wrote:
>> >>
>> >> Hey Ershad
>> >>
>> >> My GitHub profile : https://github.com/karthiksenthil
>> >>
>> >> I have interned with http://www.bigbhk.com/ in the winter of 2013,
>> >> being a core developer of the site.
>> >> Apart from this I have worked on a basic blog-site
>> >> http://nitkrug.herokuapp.com/.
>> >>
>> >> Thanking You
>> >> Karthik.S
>> >>
>> >>
>> >>
>> >> On Tue, Mar 11, 2014 at 1:26 AM, Ershad K <ershad92 at gmail.com> wrote:
>> >> > Hi Karthik,
>> >> >
>> >> > We could definitely add a 'Language' model and link the posts using
>> >> > relationships. But I'm more keen to the idea of using tags,
>> >> > preferably
>> >> > with
>> >> > acts-as-taggable-on[1]. Thus we could tag a post with more than one
>> >> > language. What do you think?
>> >> >
>> >> > We could either use an existing API to identify the language(s) or
>> >> > let
>> >> > the
>> >> > user mark the languages manually. Have you explored the
>> >> > possibilities?
>> >> >
>> >> > Also how do you think the user would configure the language?
>> >> >
>> >> > Can you please link to a few projects you worked on?
>> >> >
>> >> > Thanks.
>> >> >
>> >> > [1] https://github.com/mbleigh/acts-as-taggable-on
>> >> >
>> >> >
>> >> > On Tue, Mar 11, 2014 at 1:00 AM, karthik senthil
>> >> > <karthik.senthil94 at gmail.com> wrote:
>> >> >>
>> >> >> Hey Ershad,
>> >> >>
>> >> >> I have just looked into the code of Diaspora and from the schema.rb
>> >> >> figured out that the posts can be filtered by adding an additional
>> >> >> field to the posts model. This additional field should preferably be
>> >> >> a
>> >> >> foreign key i.e. we can establish an ActiveRelation between the
>> >> >> posts
>> >> >> model and a new model called languages, as this will help in
>> >> >> customising languages with ease at anytime without affecting any
>> >> >> dependencies.
>> >> >>
>> >> >> The important part however is identifying the language of the post.
>> >> >> If
>> >> >> it is explicitly provided by the user(from a dropdown of languages)
>> >> >> it
>> >> >> will be easy to implement,but auto identifying the same requires
>> >> >> some
>> >> >> parsing algorithms or other techniques.
>> >> >> I would like to know which of the 2 above methods is required or
>> >> >> preferred.
>> >> >>
>> >> >> Also setting up development environment for Diaspora is a long
>> >> >> process
>> >> >> I suppose.
>> >> >>
>> >> >> However do keep me informed on your opinion and requirements of the
>> >> >> project.
>> >> >>
>> >> >> Thanking You
>> >> >> Karthik.S
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Mon, Mar 10, 2014 at 10:36 PM, Ershad K <ershad92 at gmail.com>
>> >> >> wrote:
>> >> >> > Hi Karthik,
>> >> >> >
>> >> >> > Project is to implement a language filter to filter the posts in
>> >> >> > the
>> >> >> > feed
>> >> >> > based on the language.
>> >> >> >
>> >> >> > You may find the diaspora code base in github[1]. How do you think
>> >> >> > we
>> >> >> > should
>> >> >> > go about this project? Do write to us, good luck.
>> >> >> >
>> >> >> > [1] https://github.com/diaspora/diaspora
>> >> >> >
>> >> >> >
>> >> >> > On Mon, Mar 10, 2014 at 3:46 PM, karthik senthil
>> >> >> > <karthik.senthil94 at gmail.com> wrote:
>> >> >> >>
>> >> >> >> Hey
>> >> >> >>
>> >> >> >> I'm Karthik.S pursuing B.Tech(Information Technology) from
>> >> >> >> National
>> >> >> >> Institute of Technology,Karnataka,India.
>> >> >> >>
>> >> >> >> I am primarily a Ruby on Rails based web developer and have an
>> >> >> >> experience of about 8 months in the same. I have also worked with
>> >> >> >> a
>> >> >> >> start-up in the winter of 2013 to develop a RoR based
>> >> >> >> application.
>> >> >> >>
>> >> >> >> I am avid fan of open source development and very much interested
>> >> >> >> in
>> >> >> >> contributing to the same.
>> >> >> >>
>> >> >> >> Hence, I'm interested in working on this particular RoR based
>> >> >> >> project-
>> >> >> >> Language filter for diaspora.
>> >> >> >>
>> >> >> >> I would like to have some details regarding this project and the
>> >> >> >> codebase that will be used to work on, so that I can get familiar
>> >> >> >> with
>> >> >> >> the repository before contributing to the same.
>> >> >> >>
>> >> >> >> Looking forward to work with SCM this summer :)
>> >> >> >>
>> >> >> >> Thanking You
>> >> >> >> Karthik.S
>> >> >> >> 2nd Year,B.Tech(I.T.)
>> >> >> >> NITK,Surathkal
>> >> >> >> _______________________________________________
>> >> >> >> Student-projects mailing list
>> >> >> >> Student-projects at lists.smc.org.in
>> >> >> >> http://lists.smc.org.in/listinfo.cgi/student-projects-smc.org.in
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Regards,
>> >> >> > Ershad K
>> >> >> > http://ershadk.com
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Regards,
>> >> > Ershad K
>> >> > http://ershadk.com
>> >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Ershad K
>> > http://ershadk.com
>
>
>
>
> --
> Regards,
> Ershad K
> http://ershadk.com



More information about the Student-projects mailing list